diff --git a/schema/games.yaml b/schema/games.yaml index e1f00ce69..ba3045ea6 100644 --- a/schema/games.yaml +++ b/schema/games.yaml @@ -33,9 +33,19 @@ schema;game: development: type: str enum: ['complete', 'very active', 'active', 'sporadic', 'halted'] + desc: | + Complete: development stopped but game is complete
+ Very active: many commits within the past week
+ Active: commits within the past month
+ Sporadic: commits within the past year
+ Halted: no commits within the past year status: type: str enum: ['playable', 'semi-playable', 'unplayable'] + desc: | + Playable: all major features working, full game can be completed
+ Semi-playable: game runs and some parts of the game playable
+ Unplayable: game cannot be played, e.g. can only load assets multiplayer: type: seq sequence: @@ -45,6 +55,11 @@ schema;game: content: type: str enum: ['commercial', 'free', 'open', 'swappable'] + desc: | + Commercial: requires data from original game, which is not free
+ Free: game data is free or can be obtained for free
+ Open: game data has an open source license
+ Swappable: game data is commercial but can be swapped with open source replacements lang: type: seq desc: Main programming language(s) used for the game, e.g. C++ diff --git a/schema/originals.yaml b/schema/originals.yaml index ade841ac8..9c90fc3b0 100644 --- a/schema/originals.yaml +++ b/schema/originals.yaml @@ -9,14 +9,17 @@ sequence: type: seq sequence: - type: str + desc: Alternate names for this game external: required: True type: map mapping: website: type: str + desc: URL of official website wikipedia: type: str + desc: Title of Wikipedia article platform: type: seq sequence: diff --git a/templates/forms/page.jinja2 b/templates/forms/page.jinja2 index 1ab4df8ed..5ffa7a030 100644 --- a/templates/forms/page.jinja2 +++ b/templates/forms/page.jinja2 @@ -91,5 +91,10 @@ + diff --git a/templates/forms/types/str.jinja2 b/templates/forms/types/str.jinja2 index fcf276923..e005c418e 100644 --- a/templates/forms/types/str.jinja2 +++ b/templates/forms/types/str.jinja2 @@ -9,7 +9,9 @@ https://pykwalify.readthedocs.io/en/unstable/validation-rules.html#range {% if schema.get("enum") %} {% if schema["enum"]|length <= MAX_RADIO_BUTTONS %} {% for s_value in schema["enum"] %} -
+