From 90866c61b32f4033bcd32c4e64d9b6e6363b279b Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Wed, 28 Apr 2021 22:40:44 +0200 Subject: [PATCH] Updated animations --- source/resource/animations/1.10.0/actor_animation.json | 9 ++++++++- source/resource/animations/1.8.0/actor_animation.json | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/source/resource/animations/1.10.0/actor_animation.json b/source/resource/animations/1.10.0/actor_animation.json index 6dc12711..65a0866d 100644 --- a/source/resource/animations/1.10.0/actor_animation.json +++ b/source/resource/animations/1.10.0/actor_animation.json @@ -220,7 +220,14 @@ "description": "TODO", "type": "object", "propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" }, - "additionalProperties": { "$ref": "#/definitions/SoundEffect" } + "additionalProperties": { + "title": "Timeline Object", + "description": "A single point in time", + "oneOf": [ + { "type": "object", "$ref": "#/definitions/SoundEffect" }, + { "type": "array", "items": { "$ref": "#/definitions/SoundEffect" } } + ] + } }, "timeline": { "title": "Timeline", diff --git a/source/resource/animations/1.8.0/actor_animation.json b/source/resource/animations/1.8.0/actor_animation.json index 6a860978..84b0aece 100644 --- a/source/resource/animations/1.8.0/actor_animation.json +++ b/source/resource/animations/1.8.0/actor_animation.json @@ -220,7 +220,14 @@ "description": "TODO", "type": "object", "propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" }, - "additionalProperties": { "$ref": "#/definitions/SoundEffect" } + "additionalProperties": { + "title": "Timeline Object", + "description": "A single point in time", + "oneOf": [ + { "type": "object", "$ref": "#/definitions/SoundEffect" }, + { "type": "array", "items": { "$ref": "#/definitions/SoundEffect" } } + ] + } }, "timeline": { "title": "Timeline",