Adding format version regex

This commit is contained in:
DaanV2
2021-04-06 22:41:46 +02:00
parent 659442fefd
commit 7d96ec8f17
20 changed files with 53 additions and 20 deletions

View File

@@ -5,12 +5,16 @@
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.example": { "initial_state": "default", "states": { "default": { "transitions": [{ "state_1": "query.is_baby" }] }, "state_1": {} } }
"controller.animation.example": {
"initial_state": "default",
"states": { "default": { "transitions": [{ "state_1": "query.is_baby" }] }, "state_1": {} }
}
}
}
],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/animation_controller.json" } },
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/animation_controller.json" } }
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/animation_controller.json" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}