diff --git a/behaviour/animations/1.10.0/animations.json b/behaviour/animations/1.10.0/animations.json index ce7c5aaf..9a7afb2e 100644 --- a/behaviour/animations/1.10.0/animations.json +++ b/behaviour/animations/1.10.0/animations.json @@ -94,6 +94,7 @@ "additionalProperties": { "oneOf": [ { + "type": "string", "$ref": "#/definitions/commands" }, { diff --git a/resource/animations/1.10.0/actor_animation.json b/resource/animations/1.10.0/actor_animation.json index a8c41d66..dbf9f86a 100644 --- a/resource/animations/1.10.0/actor_animation.json +++ b/resource/animations/1.10.0/actor_animation.json @@ -363,18 +363,31 @@ }, "timeline": { "title": "Timeline", - "description": "TODO", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" + "description": "The time line", + "type": "object", + "propertyNames": { + "pattern": "^(\\d+.\\d+|\\d+)$" + }, + "additionalProperties": { + "oneOf": [ + { + "type": "string", + "title": "Molang", + "description": "Variable definition", + "pattern": "^(v|variable)\\..*=.*;$" + }, + { + "type": "array", + "title": "Collection timelime items", + "items": { + "type": "string", + "title": "Molang", + "description": "Variable definition", + "pattern": "^(v|variable)\\..*=.*;$" + } } - } - ] + ] + } } } } diff --git a/resource/animations/1.8.0/actor_animation.json b/resource/animations/1.8.0/actor_animation.json index 663503d5..34a0bf5b 100644 --- a/resource/animations/1.8.0/actor_animation.json +++ b/resource/animations/1.8.0/actor_animation.json @@ -363,18 +363,31 @@ }, "timeline": { "title": "Timeline", - "description": "TODO", - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" + "description": "The time line", + "type": "object", + "propertyNames": { + "pattern": "^(\\d+.\\d+|\\d+)$" + }, + "additionalProperties": { + "oneOf": [ + { + "type": "string", + "title": "Molang", + "description": "Variable definition", + "pattern": "^(v|variable)\\..*=.*;$" + }, + { + "type": "array", + "title": "Collection timelime items", + "items": { + "type": "string", + "title": "Molang", + "description": "Variable definition", + "pattern": "^(v|variable)\\..*=.*;$" + } } - } - ] + ] + } } } }