Fixing timeline regex valedation
This commit is contained in:
@@ -75,7 +75,7 @@
|
|||||||
"title": "Timeline",
|
"title": "Timeline",
|
||||||
"description": "A timeline specification, property names are timestamps",
|
"description": "A timeline specification, property names are timestamps",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^(\\d+.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{ "type": "string", "$ref": "#/definitions/commands" },
|
{ "type": "string", "$ref": "#/definitions/commands" },
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
"title": "Timeline",
|
"title": "Timeline",
|
||||||
"description": "A timeline specification, property names are timestamps",
|
"description": "A timeline specification, property names are timestamps",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^(\\d+.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0", "1.0"] },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"oneOf": [{ "$ref": "#/definitions/commands" }, { "type": "array", "title": "Collection Timelime Items", "items": { "$ref": "#/definitions/commands" } }]
|
"oneOf": [{ "$ref": "#/definitions/commands" }, { "type": "array", "title": "Collection Timelime Items", "items": { "$ref": "#/definitions/commands" } }]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -113,7 +113,7 @@
|
|||||||
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
|
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"title": "Timeline Object",
|
"title": "Timeline Object",
|
||||||
"description": "A single point in time",
|
"description": "A single point in time",
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
|
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"title": "Timeline Object",
|
"title": "Timeline Object",
|
||||||
"description": "A single point in time",
|
"description": "A single point in time",
|
||||||
@@ -164,7 +164,7 @@
|
|||||||
{ "$ref": "#/definitions/ScaleV3" },
|
{ "$ref": "#/definitions/ScaleV3" },
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"title": "Timeline Object",
|
"title": "Timeline Object",
|
||||||
"description": "A single point in time",
|
"description": "A single point in time",
|
||||||
@@ -200,7 +200,7 @@
|
|||||||
"title": "Particle Effects",
|
"title": "Particle Effects",
|
||||||
"description": "TODO",
|
"description": "TODO",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^[\\d.]+$", "examples": ["0.0"] },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0"] },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"title": "Timeline Object",
|
"title": "Timeline Object",
|
||||||
"description": "A single point in time",
|
"description": "A single point in time",
|
||||||
@@ -219,14 +219,14 @@
|
|||||||
"title": "Sound Effect",
|
"title": "Sound Effect",
|
||||||
"description": "TODO",
|
"description": "TODO",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
|
||||||
"additionalProperties": { "$ref": "#/definitions/SoundEffect" }
|
"additionalProperties": { "$ref": "#/definitions/SoundEffect" }
|
||||||
},
|
},
|
||||||
"timeline": {
|
"timeline": {
|
||||||
"title": "Timeline",
|
"title": "Timeline",
|
||||||
"description": "The time line",
|
"description": "The time line",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^(\\d+.\\d+|\\d+)$" },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{ "type": "string", "title": "Molang", "description": "Variable definition", "pattern": "^(v|variable)\\..*=.*;$" },
|
{ "type": "string", "title": "Molang", "description": "Variable definition", "pattern": "^(v|variable)\\..*=.*;$" },
|
||||||
|
|||||||
@@ -113,7 +113,7 @@
|
|||||||
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
|
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"title": "Timeline Object",
|
"title": "Timeline Object",
|
||||||
"description": "A single point in time",
|
"description": "A single point in time",
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
|
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"title": "Timeline Object",
|
"title": "Timeline Object",
|
||||||
"description": "A single point in time",
|
"description": "A single point in time",
|
||||||
@@ -164,7 +164,7 @@
|
|||||||
{ "$ref": "#/definitions/ScaleV3" },
|
{ "$ref": "#/definitions/ScaleV3" },
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"title": "Timeline Object",
|
"title": "Timeline Object",
|
||||||
"description": "A single point in time",
|
"description": "A single point in time",
|
||||||
@@ -200,7 +200,7 @@
|
|||||||
"title": "Particle Effects",
|
"title": "Particle Effects",
|
||||||
"description": "TODO",
|
"description": "TODO",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^[\\d.]+$", "examples": ["0.0"] },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0"] },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"title": "Timeline Object",
|
"title": "Timeline Object",
|
||||||
"description": "A single point in time",
|
"description": "A single point in time",
|
||||||
@@ -219,14 +219,14 @@
|
|||||||
"title": "Sound Effect",
|
"title": "Sound Effect",
|
||||||
"description": "TODO",
|
"description": "TODO",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
|
||||||
"additionalProperties": { "$ref": "#/definitions/SoundEffect" }
|
"additionalProperties": { "$ref": "#/definitions/SoundEffect" }
|
||||||
},
|
},
|
||||||
"timeline": {
|
"timeline": {
|
||||||
"title": "Timeline",
|
"title": "Timeline",
|
||||||
"description": "The time line",
|
"description": "The time line",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"propertyNames": { "pattern": "^(\\d+.\\d+|\\d+)$" },
|
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{ "type": "string", "title": "Molang", "description": "Variable definition", "pattern": "^(v|variable)\\..*=.*;$" },
|
{ "type": "string", "title": "Molang", "description": "Variable definition", "pattern": "^(v|variable)\\..*=.*;$" },
|
||||||
|
|||||||
Reference in New Issue
Block a user