-
Notifications
You must be signed in to change notification settings - Fork 0
/
library.json
43 lines (43 loc) · 916 Bytes
/
library.json
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "dwebx://dbrowser.com/library.json",
"type": "object",
"title": "Library",
"required": [
"type",
"dvaults"
],
"properties": {
"type": {
"type": "string",
"description": "The object's type",
"const": "dbrowser.com/library"
},
"dvaults": {
"type": "array",
"items": {
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"type": "string",
"pattern": "^[0-9a-fA-F]{64}$"
},
"isHosting": {
"type": "boolean"
},
"visibility": {
"type": "string",
"enum": ["private", "unlisted", "public"]
},
"savedAt": {
"type": "string",
"format": "date-time"
}
}
}
}
}
}