-
Notifications
You must be signed in to change notification settings - Fork 86
/
anime-offline-database-minified.schema.json
176 lines (176 loc) · 6.83 KB
/
anime-offline-database-minified.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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/manami-project/anime-offline-database/raw/master/anime-offline-database.schema.json",
"title": "anime-offline-database",
"description": "Updated every week: A JSON based anime dataset containing the most important meta data as well as cross references to various anime sites such as MAL, ANIDB, ANILIST, KITSU and more...",
"type": "object",
"required": [
"license",
"repository",
"lastUpdate",
"data"
],
"properties": {
"license": {
"description": "Information about the license of the dataset.",
"type": "object",
"required": [
"name",
"url"
],
"properties": {
"name": {
"description": "Name of the license.",
"const": "GNU Affero General Public License v3.0"
},
"url": {
"description": "URL to the whole license file.",
"const": "https://github.com/manami-project/anime-offline-database/blob/master/LICENSE"
}
}
},
"repository": {
"description": "URL of this github repository which is the source of the dataset.",
"const": "https://github.com/manami-project/anime-offline-database"
},
"lastUpdate": {
"description": "The date on which the file was updated in the format: YYYY-MM-DD.",
"type": "string"
},
"data": {
"description": "List of all anime.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "object",
"required": [
"sources",
"title",
"type",
"episodes",
"status",
"animeSeason",
"picture",
"thumbnail",
"synonyms",
"relatedAnime",
"tags"
],
"properties": {
"sources": {
"description": "URLs to the pages of the meta data providers for this anime.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
},
"title": {
"description": "Main title.",
"type": "string"
},
"type": {
"description": "Distribution type.",
"enum": [
"TV",
"MOVIE",
"OVA",
"ONA",
"SPECIAL",
"UNKNOWN"
]
},
"episodes": {
"description": "Number of episodes, movies or parts.",
"type": "number",
"minimum": 0
},
"status": {
"description": "Status of distribution.",
"enum": [
"FINISHED",
"ONGOING",
"UPCOMING",
"UNKNOWN"
]
},
"animeSeason": {
"description": "Data on when the anime was first distributed.",
"type": "object",
"required": [
"season"
],
"properties": {
"season": {
"description": "Season.",
"enum": [
"SPRING",
"SUMMER",
"FALL",
"WINTER",
"UNDEFINED"
]
},
"year": {
"description": "Year.",
"type": "number",
"minimum": 1907
}
}
},
"picture": {
"description": "URL of a picture which represents the anime.",
"type": "string"
},
"thumbnail": {
"description": "URL of a smaller version of the picture.",
"type": "string"
},
"duration": {
"description": "Duration per episode.",
"type": "object",
"required": [
"value",
"unit"
],
"properties": {
"value": {
"description": "Duration in seconds",
"type": "number",
"minimum": 1
},
"unit": {
"description": "When (de)serialized the unit is always SECONDS",
"const": "SECONDS"
}
}
},
"synonyms": {
"description": "Alternative titles and spellings under which the anime is also known.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
},
"relatedAnime": {
"description": "URLs to the meta data providers for anime that are somehow related to this anime.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
},
"tags": {
"description": "A non-curated list of tags and genres which describe the anime.",
"type": "array",
"uniqueItems": true,
"items": {
"type": "string"
}
}
}
}
}
}
}