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": {
"oneOf": [
{
"type": "string",
"$ref": "#/definitions/commands"
},
{

View File

@@ -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)\\..*=.*;$"
}
}
}
]
]
}
}
}
}

View File

@@ -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)\\..*=.*;$"
}
}
}
]
]
}
}
}
}