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,15 +363,27 @@
}, },
"timeline": { "timeline": {
"title": "Timeline", "title": "Timeline",
"description": "TODO", "description": "The time line",
"type": "object",
"propertyNames": {
"pattern": "^(\\d+.\\d+|\\d+)$"
},
"additionalProperties": {
"oneOf": [ "oneOf": [
{ {
"type": "string" "type": "string",
"title": "Molang",
"description": "Variable definition",
"pattern": "^(v|variable)\\..*=.*;$"
}, },
{ {
"type": "array", "type": "array",
"title": "Collection timelime items",
"items": { "items": {
"type": "string" "type": "string",
"title": "Molang",
"description": "Variable definition",
"pattern": "^(v|variable)\\..*=.*;$"
} }
} }
] ]
@@ -381,3 +393,4 @@
} }
} }
} }
}

View File

@@ -363,15 +363,27 @@
}, },
"timeline": { "timeline": {
"title": "Timeline", "title": "Timeline",
"description": "TODO", "description": "The time line",
"type": "object",
"propertyNames": {
"pattern": "^(\\d+.\\d+|\\d+)$"
},
"additionalProperties": {
"oneOf": [ "oneOf": [
{ {
"type": "string" "type": "string",
"title": "Molang",
"description": "Variable definition",
"pattern": "^(v|variable)\\..*=.*;$"
}, },
{ {
"type": "array", "type": "array",
"title": "Collection timelime items",
"items": { "items": {
"type": "string" "type": "string",
"title": "Molang",
"description": "Variable definition",
"pattern": "^(v|variable)\\..*=.*;$"
} }
} }
] ]
@@ -381,3 +393,4 @@
} }
} }
} }
}