-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathspringpad-object.json
More file actions
123 lines (123 loc) · 2.9 KB
/
springpad-object.json
File metadata and controls
123 lines (123 loc) · 2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"title": "Springpad Object",
"type": "object",
"properties": {
"uuid": {
"type": "string",
"description": "A unique ID ( UUID regex from http://regex101.com/r/eJ7gN2 )",
"minLength": 36,
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
},
"name": {
"type": "string",
"description": "Name or title of the object"
},
"type": {
"type": "string",
"description": "Type of the object",
"enum": [
"Note",
"Task",
"Appointment",
"Reminder",
"Bookmark",
"Checklist",
"Contact",
"File",
"Photo",
"Audio",
"Place",
"Product",
"Book",
"TV Show",
"Movie",
"Wine",
"Album",
"Musician/Band",
"Recipe",
"Notebook",
"Frequency"
]
},
"public": {
"type": "boolean",
"description": "Is this public or not?"
},
"liked": {
"type": "boolean",
"description": "Did the user mark this liked?"
},
"rating": {
"type": "integer",
"description": "Rating of the object (0-5)",
"minimum": 0,
"maximum": 5
},
"complete": {
"type": "boolean",
"description": "Springpad objects can be marked complete (e.g., is the task done? has the movie been watched?)"
},
"tags": {
"type": "array",
"description": "List of tags",
"uniqueItems": true,
"items": {
"type": "string"
}
},
"notebooks": {
"type": "array",
"description": "List of notebook IDs that this object is in. The notebooks are defined in export.json file as well.",
"uniqueItems": true,
"items": {
"title": "uuid",
"description": "Notebook UUID (regex from http://regex101.com/r/eJ7gN2 )",
"type": "string",
"minLength": 36,
"maxLength": 36,
"pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
}
},
"image": {
"type": [
"string",
"null"
],
"description": "Representative image for the object. Can be null",
"format": "uri"
},
"created": {
"type": "string",
"description": "Creation date",
"format": "date-time"
},
"modified": {
"type": "string",
"description": "Modified date",
"format": "date-time"
},
"description": {
"type": "string",
"description": "Description or summary"
},
"url": {
"type": "string",
"description": "URL for the object. In the case of a block that was scraped, the URL it was scraped from.",
"format": "uri"
}
},
"required": [
"uuid",
"name",
"type",
"public",
"liked",
"complete",
"tags",
"notebooks",
"image",
"created",
"modified"
]
}