-
Notifications
You must be signed in to change notification settings - Fork 1
/
schema.json
153 lines (153 loc) · 4.34 KB
/
schema.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
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"type": "object",
"title": "The Library Schema",
"description": "The schema for an OCAML library JSON object.",
"default": {},
"additionalProperties": true,
"required": [
"lib_name",
"artists"
],
"properties": {
"lib_name": {
"type": "string",
"title": "The Name Schema",
"description": "The library's name. Will reflect filename.",
"default": "",
"examples": [
"jeremy_library"
]
},
"artists": {
"type": "array",
"title": "The Artist Schema",
"description": "An array of Artist objects.",
"default": [],
"examples": [
[
{
"albums": [
{
"title": "Man It Feels Like Space Again",
"tracks": [
"outside_is_the_right_side.mp3",
"sitting_up_on_our_crane.mp3"
]
}
],
"name": "Pond"
}
]
],
"additionalItems": true,
"items": {
"type": "object",
"title": "The Artist Schema",
"description": "An explanation about the purpose of this instance.",
"default": {},
"examples": [
{
"albums": [
{
"title": "Man It Feels Like Space Again",
"tracks": [
"outside_is_the_right_side.mp3",
""
]
}
],
"name": "Pond"
}
],
"additionalProperties": true,
"required": [
"name",
"albums"
],
"properties": {
"name": {
"type": "string",
"title": "The Artist Name Schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"Pond"
]
},
"albums": {
"type": "array",
"title": "The Album Array Schema",
"description": "An explanation about the purpose of this instance.",
"default": [],
"examples": [
[
{
"title": "Man It Feels Like Space Again",
"tracks": [
"outside_is_the_right_side.mp3",
""
]
}
]
],
"additionalItems": true,
"items": {
"type": "object",
"title": "The Album Schema",
"description": "An album object.",
"default": {},
"examples": [
{
"title": "Man It Feels Like Space Again",
"tracks": [
"outside_is_the_right_side.mp3",
""
]
}
],
"additionalProperties": true,
"required": [
"title",
"tracks"
],
"properties": {
"title": {
"type": "string",
"title": "The Album Title Schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"Man It Feels Like Space Again"
]
},
"tracks": {
"type": "array",
"title": "The Tracks Schema",
"description": "An explanation about the purpose of this instance.",
"default": [],
"examples": [
[
"outside_is_the_right_side.mp3",
"sitting_up_on_our_crane.mp3"
]
],
"additionalItems": true,
"items": {
"type": "string",
"title": "The Track Name Schema",
"description": "An explanation about the purpose of this instance.",
"default": "",
"examples": [
"outside_is_the_right_side.mp3",
"sitting_up_on_our_crane.mp3"
]
}
}
}
}
}
}
}
}
}
}