Skip to content

Commit

Permalink
Update sb3_definitions.json
Browse files Browse the repository at this point in the history
  • Loading branch information
RedMan13 committed Sep 23, 2023
1 parent 743a4c9 commit a23eddb
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions lib/sb3_definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,28 @@
"minItems": 3,
"maxItems": 5
},
"unknown_primitive": {
"type": "array",
"items": [
{
"type": "number",
"enum": [14]
},
{"type": "string", "description": "block opcode"},
{"type": "string", "description": "field id"},
{"type": "object", "description": "field value"}
],
"additionalItems": {
"type": "number"
},
"minItems": 4,
"maxItems": 6
},
"topLevelPrimitive": {
"oneOf": [
{"$ref":"#/definitions/variable_primitive"},
{"$ref":"#/definitions/list_primitive"}
{"$ref":"#/definitions/list_primitive"},
{"$ref":"#/definitions/unknown_primitive"}
]
},
"inputPrimitive": {
Expand All @@ -218,7 +236,8 @@
{"$ref":"#/definitions/text_primitive"},
{"$ref":"#/definitions/broadcast_primitive"},
{"$ref":"#/definitions/variable_primitive"},
{"$ref":"#/definitions/list_primitive"}
{"$ref":"#/definitions/list_primitive"},
{"$ref":"#/definitions/unknown_primitive"}
]
},
"block": {
Expand Down

0 comments on commit a23eddb

Please sign in to comment.