Skip to content

Commit 5d22d74

Browse files
authored
Update match.json to v0.7 spec (#65)
* Update `match.json` to v0.7 spec * Update game modes * Let `enable_rendering` be a boolean
1 parent 6c1f175 commit 5d22d74

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

schemas/match.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
"game_mode": {
4040
"type": "string",
4141
"description": "The game mode to use for the match",
42-
"default": "Soccer",
42+
"default": "Soccar",
4343
"enum": [
44-
"Soccer",
44+
"Soccar",
4545
"Hoops",
4646
"Dropshot",
47-
"Hockey",
47+
"Snowday",
4848
"Rumble",
4949
"Heatseeker",
5050
"Gridiron",
@@ -71,8 +71,10 @@
7171
"enum": ["Restart", "RestartIfDifferent", "ContinueAndSpawn"]
7272
},
7373
"enable_rendering": {
74-
"type": "boolean",
75-
"description": "Whether debug rendering is displayed"
74+
"type": ["string", "boolean"],
75+
"description": "Whether debug rendering is displayed",
76+
"default": "OffByDefault",
77+
"enum": ["OffByDefault", "OnByDefault", "AlwaysOff", true, false]
7678
},
7779
"enable_state_setting": {
7880
"type": "boolean",

0 commit comments

Comments
 (0)