Skip to content

Commit

Permalink
Add support for 'platform' key on originals
Browse files Browse the repository at this point in the history
  • Loading branch information
nikuda committed Dec 12, 2017
1 parent 0e758d4 commit c80ae41
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions originals/t.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
genre: [Platform, Adventure, Action]

- name: Toobz
platform: [Amiga]
meta:
genre: [Puzzle]

Expand Down
13 changes: 13 additions & 0 deletions schema/originals.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ sequence:
type: any
names:
type: any
platform:
type: seq
sequence:
- include: platform
meta:
include: meta

Expand All @@ -27,6 +31,15 @@ schema;meta:
- include: themes


schema;platform:
type: str
enum: [
'Amiga',
'Linux',
'Windows',
'OSX',
]

# -- ADD NEW GENRES TO 'SUBGENRE' SCHEMA --
# Based on Giant Bomb genres
# http://www.giantbomb.com/games/
Expand Down

0 comments on commit c80ae41

Please sign in to comment.