Updated timeline objects in RP aniamtions

This commit is contained in:
DaanV2
2021-01-25 17:12:00 +01:00
parent d7e95b15c2
commit d158159578
3 changed files with 49 additions and 22 deletions

View File

@@ -94,6 +94,7 @@
"additionalProperties": { "additionalProperties": {
"oneOf": [ "oneOf": [
{ {
"type": "string",
"$ref": "#/definitions/commands" "$ref": "#/definitions/commands"
}, },
{ {

View File

@@ -363,18 +363,31 @@
}, },
"timeline": { "timeline": {
"title": "Timeline", "title": "Timeline",
"description": "TODO", "description": "The time line",
"oneOf": [ "type": "object",
{ "propertyNames": {
"type": "string" "pattern": "^(\\d+.\\d+|\\d+)$"
}, },
{ "additionalProperties": {
"type": "array", "oneOf": [
"items": { {
"type": "string" "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)\\..*=.*;$"
}
} }
} ]
] }
} }
} }
} }

View File

@@ -363,18 +363,31 @@
}, },
"timeline": { "timeline": {
"title": "Timeline", "title": "Timeline",
"description": "TODO", "description": "The time line",
"oneOf": [ "type": "object",
{ "propertyNames": {
"type": "string" "pattern": "^(\\d+.\\d+|\\d+)$"
}, },
{ "additionalProperties": {
"type": "array", "oneOf": [
"items": { {
"type": "string" "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)\\..*=.*;$"
}
} }
} ]
] }
} }
} }
} }