Skip to content

Commit c80ae41

Browse files
committed
Add support for 'platform' key on originals
Closes opengaming#467
1 parent 0e758d4 commit c80ae41

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

originals/t.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@
144144
genre: [Platform, Adventure, Action]
145145

146146
- name: Toobz
147+
platform: [Amiga]
147148
meta:
148149
genre: [Puzzle]
149150

schema/originals.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ sequence:
77
type: any
88
names:
99
type: any
10+
platform:
11+
type: seq
12+
sequence:
13+
- include: platform
1014
meta:
1115
include: meta
1216

@@ -27,6 +31,15 @@ schema;meta:
2731
- include: themes
2832

2933

34+
schema;platform:
35+
type: str
36+
enum: [
37+
'Amiga',
38+
'Linux',
39+
'Windows',
40+
'OSX',
41+
]
42+
3043
# -- ADD NEW GENRES TO 'SUBGENRE' SCHEMA --
3144
# Based on Giant Bomb genres
3245
# http://www.giantbomb.com/games/

0 commit comments

Comments
 (0)