schemas/flowVersion.json in losant_rest-1.14.1 vs schemas/flowVersion.json in losant_rest-1.15.0
- old
+ new
@@ -1,10 +1,10 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"oneOf": [
{
- "description": "Schema for a single Cloud/Edge/Custom Node Workflow Version",
+ "description": "Schema for a single Cloud/Edge/Embedded/Custom Node Workflow Version",
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
@@ -88,10 +88,11 @@
"enum": [
"customNodeStart",
"deviceCommand",
"deviceIdsTagsConnect",
"deviceIdsTagsDisconnect",
+ "eeaInit",
"flowError",
"googlePubSub",
"meridian",
"mqtt",
"notebook",
@@ -151,11 +152,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -255,11 +257,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -399,11 +402,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -495,12 +499,105 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
+ "maxLength": 48,
+ "minLength": 1
+ },
+ "maxItems": 100
+ },
+ "maxItems": 100
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "additionalProperties": false
+ },
+ {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "maxLength": 1024
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "direct"
+ ]
+ },
+ "config": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": false
+ },
+ "meta": {
+ "type": "object",
+ "properties": {
+ "category": {
+ "type": "string",
+ "enum": [
+ "trigger"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "enum": [
+ "direct"
+ ]
+ },
+ "label": {
+ "type": "string",
+ "minLength": 1,
"maxLength": 255
},
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ },
+ "uiId": {
+ "type": "string",
+ "maxLength": 48
+ },
+ "description": {
+ "type": "string",
+ "maxLength": 32767
+ },
+ "icon": {
+ "type": "string",
+ "maxLength": 1024
+ },
+ "color": {
+ "type": "string",
+ "maxLength": 1024
+ },
+ "inputCount": {
+ "type": "number"
+ },
+ "outputCount": {
+ "type": "number"
+ },
+ "id": {
+ "type": "string",
+ "maxLength": 48
+ }
+ },
+ "additionalProperties": false
+ },
+ "outputIds": {
+ "type": "array",
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "maxLength": 48,
+ "minLength": 1
+ },
"maxItems": 100
},
"maxItems": 100
}
},
@@ -592,11 +689,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -697,11 +795,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -805,11 +904,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -916,11 +1016,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -1017,11 +1118,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -1120,11 +1222,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -1260,11 +1363,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -1383,11 +1487,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -1495,11 +1600,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -1638,11 +1744,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -1764,11 +1871,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -1879,11 +1987,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -1920,11 +2029,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -2411,10 +2521,11 @@
"enum": [
"customNodeStart",
"deviceCommand",
"deviceIdsTagsConnect",
"deviceIdsTagsDisconnect",
+ "eeaInit",
"flowError",
"googlePubSub",
"meridian",
"mqtt",
"notebook",
@@ -2474,11 +2585,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -2578,11 +2690,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -2722,11 +2835,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -2818,12 +2932,105 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
+ "maxLength": 48,
+ "minLength": 1
+ },
+ "maxItems": 100
+ },
+ "maxItems": 100
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "additionalProperties": false
+ },
+ {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "maxLength": 1024
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "direct"
+ ]
+ },
+ "config": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": false
+ },
+ "meta": {
+ "type": "object",
+ "properties": {
+ "category": {
+ "type": "string",
+ "enum": [
+ "trigger"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "enum": [
+ "direct"
+ ]
+ },
+ "label": {
+ "type": "string",
+ "minLength": 1,
"maxLength": 255
},
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ },
+ "uiId": {
+ "type": "string",
+ "maxLength": 48
+ },
+ "description": {
+ "type": "string",
+ "maxLength": 32767
+ },
+ "icon": {
+ "type": "string",
+ "maxLength": 1024
+ },
+ "color": {
+ "type": "string",
+ "maxLength": 1024
+ },
+ "inputCount": {
+ "type": "number"
+ },
+ "outputCount": {
+ "type": "number"
+ },
+ "id": {
+ "type": "string",
+ "maxLength": 48
+ }
+ },
+ "additionalProperties": false
+ },
+ "outputIds": {
+ "type": "array",
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "maxLength": 48,
+ "minLength": 1
+ },
"maxItems": 100
},
"maxItems": 100
}
},
@@ -2915,11 +3122,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -3020,11 +3228,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -3128,11 +3337,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -3239,11 +3449,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -3340,11 +3551,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -3443,11 +3655,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -3583,11 +3796,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -3706,11 +3920,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -3818,11 +4033,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -3961,11 +4177,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -4087,11 +4304,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -4202,11 +4420,12 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
@@ -4243,10 +4462,11 @@
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
- "maxLength": 255
+ "maxLength": 48,
+ "minLength": 1
},
"maxItems": 100
},
"maxItems": 100
}
\ No newline at end of file