1
0
mirror of https://github.com/pmmp/BedrockData.git synced 2024-07-04 22:59:44 -03:00

fixed blockStateProperty subschema

This commit is contained in:
Dylan K. Taylor 2022-02-03 20:10:22 +00:00
parent 81937d7b2d
commit a2b9964db1
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

@ -5,10 +5,10 @@
"type": "object", "type": "object",
"properties": { "properties": {
"type": { "type": {
"oneOf": ["int", "string", "byte"] "enum": ["string", "int", "byte"]
}, },
"value": { "value": {
"anyOf": ["int", "string"] "type": ["string", "integer"]
} }
} }
} }
@ -36,15 +36,7 @@
"additionalProperties": { "additionalProperties": {
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"type": "object", "$ref": "#/$defs/blockStateProperty"
"properties": {
"type": {
"type": "string"
},
"value": {
"type": ["string", "integer"]
}
}
} }
} }
}, },