Skip to content

Commit 2468b56

Browse files
committed
Room schema: Remove defaults for string enums
The current default is an empty string, which is not actually a valid value of the types.
1 parent ccead7e commit 2468b56

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

schema/m3-room.schema.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,15 +1755,13 @@
17551755
"type": "string",
17561756
"title": "Node Type",
17571757
"description": "Examples: door, item, junction",
1758-
"default": "",
17591758
"examples": ["door", "entrance", "exit", "item"],
17601759
"enum": ["door", "entrance", "exit", "item", "junction", "utility"],
17611760
"pattern": "^(.*)$"
17621761
},
17631762
"nodeSubType": {
17641763
"type": "string",
17651764
"title": "Node SubType",
1766-
"default": "",
17671765
"examples": ["chozo", "hidden", "visible"],
17681766
"enum": [
17691767
"chozo",
@@ -1895,7 +1893,6 @@
18951893
"lockType": {
18961894
"type": "string",
18971895
"title": "Lock Type",
1898-
"default": "",
18991896
"enum": [
19001897
"bossFight",
19011898
"coloredDoor",
@@ -2047,7 +2044,6 @@
20472044
"type": "string",
20482045
"title": "Obstacle Type",
20492046
"description": "The main type of obstacle. Examples include 'inanimate', 'enemies', and 'abstract'",
2050-
"default": "",
20512047
"examples": ["inanimate", "enemies", "abstract"],
20522048
"enum": ["inanimate", "enemies", "abstract"],
20532049
"pattern": "^(.*)$"

0 commit comments

Comments
 (0)