From 5fa10cce6dbe6b8fa88c17ca8fba4c465ec4f3ba Mon Sep 17 00:00:00 2001 From: Virx Date: Fri, 6 Jun 2025 20:58:24 -0400 Subject: [PATCH 1/3] Update `match.json` to v0.7 spec --- schemas/match.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/schemas/match.json b/schemas/match.json index 34dec0a..772bd7a 100644 --- a/schemas/match.json +++ b/schemas/match.json @@ -71,8 +71,10 @@ "enum": ["Restart", "RestartIfDifferent", "ContinueAndSpawn"] }, "enable_rendering": { - "type": "boolean", - "description": "Whether debug rendering is displayed" + "type": "string", + "description": "Whether debug rendering is displayed", + "default": "OffByDefault", + "enum": ["OffByDefault", "OnByDefault", "AlwaysOff"] }, "enable_state_setting": { "type": "boolean", From 38ae54820942253c3444c8011886f184feb7f414 Mon Sep 17 00:00:00 2001 From: Virx Date: Sat, 14 Jun 2025 01:24:50 -0400 Subject: [PATCH 2/3] Update game modes --- schemas/match.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/schemas/match.json b/schemas/match.json index 772bd7a..4bfe889 100644 --- a/schemas/match.json +++ b/schemas/match.json @@ -39,12 +39,12 @@ "game_mode": { "type": "string", "description": "The game mode to use for the match", - "default": "Soccer", + "default": "Soccar", "enum": [ - "Soccer", + "Soccar", "Hoops", "Dropshot", - "Hockey", + "Snowday", "Rumble", "Heatseeker", "Gridiron", From 1b974536936fd048daf75674409e8141435412d5 Mon Sep 17 00:00:00 2001 From: Virx Date: Sat, 14 Jun 2025 17:01:15 -0400 Subject: [PATCH 3/3] Let `enable_rendering` be a boolean --- schemas/match.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/match.json b/schemas/match.json index 4bfe889..84a2604 100644 --- a/schemas/match.json +++ b/schemas/match.json @@ -71,10 +71,10 @@ "enum": ["Restart", "RestartIfDifferent", "ContinueAndSpawn"] }, "enable_rendering": { - "type": "string", + "type": ["string", "boolean"], "description": "Whether debug rendering is displayed", "default": "OffByDefault", - "enum": ["OffByDefault", "OnByDefault", "AlwaysOff"] + "enum": ["OffByDefault", "OnByDefault", "AlwaysOff", true, false] }, "enable_state_setting": { "type": "boolean",