Fixing timeline regex valedation
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
"title": "Timeline",
|
||||
"description": "A timeline specification, property names are timestamps",
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^(\\d+.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{ "type": "string", "$ref": "#/definitions/commands" },
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
"title": "Timeline",
|
||||
"description": "A timeline specification, property names are timestamps",
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^(\\d+.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
||||
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
||||
"additionalProperties": {
|
||||
"oneOf": [{ "$ref": "#/definitions/commands" }, { "type": "array", "title": "Collection Timelime Items", "items": { "$ref": "#/definitions/commands" } }]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user