Skip to content

Commit

Permalink
fix parser to accept variables with serialized custom types
Browse files Browse the repository at this point in the history
  • Loading branch information
jwklong authored Dec 1, 2024
1 parent ee95974 commit 687d270
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions lib/sb3_definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,19 @@
},
"scalarVal": {
"oneOf": [
{"$ref":"#/definitions/stringOrNumber"},
{"type": "boolean"}
{"$ref": "#/definitions/stringOrNumber"},
{"type": "boolean"},
{
"type": "object",
"properties": {
"customType": {"type": "boolean"},
"typeId": {"type": "string"},
"serialized": {}
},
"required": ["customType", "typeId", "serialized"]
}
]
},
}
"assetId": {
"type": "string",
"pattern": "^[a-fA-F0-9]{32}$"
Expand Down

0 comments on commit 687d270

Please sign in to comment.