diff --git a/source/resource/animations/1.10.0/actor_animation.json b/source/resource/animations/1.10.0/actor_animation.json index bbb5ceb3..47911058 100644 --- a/source/resource/animations/1.10.0/actor_animation.json +++ b/source/resource/animations/1.10.0/actor_animation.json @@ -164,20 +164,39 @@ "additionalProperties": { "title": "Timeline Object", "description": "A single point in time", - "additionalProperties": false, - "type": "object", - "examples": [{ "0.0": {} }], - "properties": { - "lerp_mode": { - "type": "string", - "title": "Lerp Mode", + "oneOf": [ + { + "type": "array", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", - "enum": ["linear", "catmullrom"] + "$ref": "#/definitions/PositionV3" }, - "pre": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/PositionV3" }, - "post": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/PositionV3" } - } + { + "additionalProperties": false, + "type": "object", + "properties": { + "lerp_mode": { + "type": "string", + "title": "Lerp Mode", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "enum": ["linear", "catmullrom"] + }, + "pre": { + "title": "Pre", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "$ref": "#/definitions/PositionV3" + }, + "post": { + "title": "Pre", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "$ref": "#/definitions/PositionV3" + } + } + } + ] } } ] @@ -186,27 +205,46 @@ "title": "Rotation", "description": "The rotation transformation during this animation", "oneOf": [ - { "$ref": "#/definitions/RotationV3" }, + { "type": "array", "$ref": "#/definitions/RotationV3" }, { "type": "object", "propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] }, "additionalProperties": { "title": "Timeline Object", "description": "A single point in time", - "additionalProperties": false, - "type": "object", - "examples": [{ "0.0": {} }], - "properties": { - "lerp_mode": { - "type": "string", - "title": "Lerp Mode", + "oneOf": [ + { + "type": "array", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", - "enum": ["linear", "catmullrom"] + "$ref": "#/definitions/RotationV3" }, - "pre": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/RotationV3" }, - "post": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/RotationV3" } - } + { + "additionalProperties": false, + "type": "object", + "properties": { + "lerp_mode": { + "type": "string", + "title": "Lerp Mode", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "enum": ["linear", "catmullrom"] + }, + "pre": { + "title": "Pre", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "$ref": "#/definitions/RotationV3" + }, + "post": { + "title": "Pre", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "$ref": "#/definitions/RotationV3" + } + } + } + ] } } ] diff --git a/source/resource/animations/1.8.0/actor_animation.json b/source/resource/animations/1.8.0/actor_animation.json index e93d2c19..40e68f7a 100644 --- a/source/resource/animations/1.8.0/actor_animation.json +++ b/source/resource/animations/1.8.0/actor_animation.json @@ -164,19 +164,39 @@ "additionalProperties": { "title": "Timeline Object", "description": "A single point in time", - "additionalProperties": false, - "type": "object", - "properties": { - "lerp_mode": { - "type": "string", - "title": "Lerp Mode", + "oneOf": [ + { + "type": "array", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", - "enum": ["linear", "catmullrom"] + "$ref": "#/definitions/PositionV3" }, - "pre": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/PositionV3" }, - "post": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/PositionV3" } - } + { + "additionalProperties": false, + "type": "object", + "properties": { + "lerp_mode": { + "type": "string", + "title": "Lerp Mode", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "enum": ["linear", "catmullrom"] + }, + "pre": { + "title": "Pre", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "$ref": "#/definitions/PositionV3" + }, + "post": { + "title": "Pre", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "$ref": "#/definitions/PositionV3" + } + } + } + ] } } ] @@ -192,19 +212,39 @@ "additionalProperties": { "title": "Timeline Object", "description": "A single point in time", - "additionalProperties": false, - "type": "object", - "properties": { - "lerp_mode": { - "type": "string", - "title": "Lerp Mode", + "oneOf": [ + { + "type": "array", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", - "enum": ["linear", "catmullrom"] + "$ref": "#/definitions/RotationV3" }, - "pre": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/RotationV3" }, - "post": { "title": "Pre", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/RotationV3" } - } + { + "additionalProperties": false, + "type": "object", + "properties": { + "lerp_mode": { + "type": "string", + "title": "Lerp Mode", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "enum": ["linear", "catmullrom"] + }, + "pre": { + "title": "Pre", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "$ref": "#/definitions/RotationV3" + }, + "post": { + "title": "Pre", + "description": "UNDOCUMENTED", + "$comment": "UNDOCUMENTED", + "$ref": "#/definitions/RotationV3" + } + } + } + ] } } ]