forked from opengaming/osgameclones
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.yaml
239 lines (232 loc) · 4.17 KB
/
schema.yaml
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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
type: seq
sequence:
- type: map
mapping:
name:
required: True
type: any
names:
type: any
meta:
include: meta
remakes:
type: seq
sequence:
- include: game
clones:
type: seq
sequence:
- include: game
schema;meta:
type: map
mapping:
genre:
type: seq
sequence:
- include: genres
subgenre:
type: seq
sequence:
- include: subgenres
theme:
type: seq
sequence:
- include: themes
schema;game:
type: map
mapping:
name:
required: True
type: str
repo:
required: False # Work towards making it True
type: str
url:
type: str
development:
type: str
enum: ['complete', 'very active', 'active', 'sporadic', 'halted']
status:
type: str
enum: ['playable', 'semi-playable', 'unplayable']
content:
type: str
enum: ['commercial', 'free', 'open', 'swapable']
lang:
type: any
framework:
type: any
license:
required: False # Work towards making it True
type: seq
sequence:
- include: licenses
info:
type: str
updated:
type: any
images:
type: seq
sequence:
- type: str
video:
type: map
mapping:
youtube:
type: str
range:
min: 11
max: 11
vimeo:
type: int
# -- ADD NEW GENRES TO 'SUBGENRE' SCHEMA --
# Based on Giant Bomb genres
# http://www.giantbomb.com/games/
schema;genres:
type: str
enum: [
'Action',
'Adventure',
'Arcade',
'Artillery',
'Compilation',
'Educational',
'Fighting',
'Flight',
'FPS',
'MMORPG',
'MOBA',
'Platform',
'Puzzle',
'Racing',
'RPG',
'RTS',
'Real-Time Tactics',
'Sports',
'TBS',
'Turn-Based Tactics',
'TPS',
'Rhythm',
'Roguelike',
'Shmup',
'Simulation',
'Strategy',
]
schema;subgenres:
type: str
enum: [
'4X',
'Action RPG',
'Baseball',
'Basketball',
'Billiards',
'Board Game',
'Bowling',
'Boxing',
'Bullet Hell',
'Card Game',
'City Building',
'Cricket',
'Dual-Joystick Shooter',
'Fishing',
'Fitness',
'Flight Simulator',
'Football',
'Gambling',
'Golf',
'Handball',
'Hockey',
'Life',
'Light-Gun Shooter',
'Pinball',
'Run and gun',
'Sandbox',
'Skateboarding',
'Skiing',
'Snowboarding',
'Soccer',
'Space Flight',
'Surfing',
'Submarine Simulator',
'Survival',
'Tennis',
'Text Adventure',
'Track & Field',
'Turn-Based Strategy',
'Turn-Based Tactics',
'Vehicular Combat',
'Wrestling',
]
# Based on Giant Bomb themes
# http://www.giantbomb.com/games/
schema;themes:
type: str
enum: [
'Abstract',
'Adult',
'Alternate Historical',
'Anime',
'Aquatic',
'Civil War',
'Comedy',
'Comic Book',
'Crime',
'Cyberpunk',
'Dating',
'Espionage',
'Fantasy',
'Game Show',
'Horror',
'Management',
'Martial Arts',
'Mayan',
'Medieval',
'Meditative',
'Modern Military',
'Motorsports',
'Post-Apocalyptic',
'Prehistoric',
'Sci-Fi',
'Steampunk',
'Superhero',
'Vietnam',
'Western',
'World War I',
'World War II',
]
# Based on SPDX license codes
# https://spdx.org/licenses/
schema;licenses:
type: str
enum: [
'Custom', # Catch-all for custom licenses
'Multiple', # Catch-all for multiple licenses
'PD', # Public Domain
'As-is', # Catch-all for as-is, as-available licenses
'AGPL3',
'Apache',
'Artistic',
'BSD',
'BSD2',
'BSD4',
'CC0',
'CC-BY',
'CC-BY-NC',
'CC-BY-NC-ND',
'CC-BY-NC-SA',
'CC-BY-SA',
'GPL',
'GPL2',
'GPL3',
'ISC',
'JRL', # Java Research License
'LGPL',
'LGPL2',
'MAME', # MAME or MAME-like License
'MIT',
'MPL', # Mozilla Public License
'MS-PL', # Microsoft Public License
'NGPL', # Nethack General Public License,
'WTFPL', # Do What The F*ck You Want To Public License
'Zlib',
]