Skip to content

Commit 660d56e

Browse files
authored
Merge pull request #45 from kchadha/fix-validation-error
fix(sb3_definitions): fix validation error
2 parents badddcf + 8eb3c30 commit 660d56e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib/sb3_definitions.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
{"type": "null"}
1010
]
1111
},
12-
"boolOrBoolString": {
12+
"boolOrOptBoolString": {
1313
"oneOf": [
1414
{"type": "string",
15-
"enum": ["true", "false"]},
16-
{"type": "boolean"}
15+
"enum": ["true", "false", "null"]},
16+
{"type": "boolean"},
17+
{"type": "null"}
1718
]
1819
},
1920
"stringOrNumber": {
@@ -275,8 +276,8 @@
275276
"argumentids": {
276277
"type": "string"
277278
},
278-
"warp": {"$ref":"#/definitions/boolOrBoolString"},
279-
"hasnext": {"$ref":"#/definitions/boolOrBoolString"}
279+
"warp": {"$ref":"#/definitions/boolOrOptBoolString"},
280+
"hasnext": {"$ref":"#/definitions/boolOrOptBoolString"}
280281
}
281282
}
282283
},

0 commit comments

Comments
 (0)