From 60553d424953b9965cdc786032aa13ae2c402727 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Thu, 11 Nov 2021 14:06:51 +0100 Subject: [PATCH] Fixing a vscode error --- .../animations/1.10.0/actor_animation.json | 4 +--- .../animations/1.8.0/actor_animation.json | 19 +++++++++++++------ 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/source/resource/animations/1.10.0/actor_animation.json b/source/resource/animations/1.10.0/actor_animation.json index bd313d0d..bbb5ceb3 100644 --- a/source/resource/animations/1.10.0/actor_animation.json +++ b/source/resource/animations/1.10.0/actor_animation.json @@ -157,8 +157,7 @@ "title": "Position", "description": "The Position transformation during this animation", "oneOf": [ - { "$ref": "#/definitions/PositionV3" }, - { "$ref": "../../../molang/arraynumber3.json" }, + { "type": "array", "$ref": "#/definitions/PositionV3" }, { "type": "object", "propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] }, @@ -188,7 +187,6 @@ "description": "The rotation transformation during this animation", "oneOf": [ { "$ref": "#/definitions/RotationV3" }, - { "$ref": "../../../molang/arraynumber3.json" }, { "type": "object", "propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] }, diff --git a/source/resource/animations/1.8.0/actor_animation.json b/source/resource/animations/1.8.0/actor_animation.json index b1c3024f..e93d2c19 100644 --- a/source/resource/animations/1.8.0/actor_animation.json +++ b/source/resource/animations/1.8.0/actor_animation.json @@ -157,8 +157,7 @@ "title": "Position", "description": "The Position transformation during this animation", "oneOf": [ - { "$ref": "#/definitions/PositionV3" }, - { "$ref": "../../../molang/arraynumber3.json" }, + { "type": "array", "$ref": "#/definitions/PositionV3" }, { "type": "object", "propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] }, @@ -166,6 +165,7 @@ "title": "Timeline Object", "description": "A single point in time", "additionalProperties": false, + "type": "object", "properties": { "lerp_mode": { "type": "string", @@ -185,8 +185,7 @@ "title": "Rotation", "description": "The rotation transformation during this animation", "oneOf": [ - { "$ref": "#/definitions/RotationV3" }, - { "$ref": "../../../molang/arraynumber3.json" }, + { "type": "array", "$ref": "#/definitions/RotationV3" }, { "type": "object", "propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] }, @@ -194,6 +193,7 @@ "title": "Timeline Object", "description": "A single point in time", "additionalProperties": false, + "type": "object", "properties": { "lerp_mode": { "type": "string", @@ -225,8 +225,14 @@ "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "oneOf": [ - { "$ref": "../../../molang/number.json" }, - { "$ref": "#/definitions/ScaleV3" }, + { + "type": "array", + "$ref": "../../../molang/number.json" + }, + { + "type": "array", + "$ref": "#/definitions/ScaleV3" + }, { "type": "object", "propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] }, @@ -234,6 +240,7 @@ "title": "Timeline Object", "description": "A single point in time", "additionalProperties": false, + "type": "object", "properties": { "lerp_mode": { "type": "string",