schemas/flowPost.json in losant_rest-1.9.0 vs schemas/flowPost.json in losant_rest-1.9.1
- old
+ new
@@ -75,10 +75,11 @@
"enum": [
"customNodeStart",
"deviceCommand",
"deviceIdsTagsConnect",
"deviceIdsTagsDisconnect",
+ "flowError",
"googlePubSub",
"meridian",
"mqtt",
"notebook",
"onBoot",
@@ -840,9 +841,99 @@
},
"name": {
"type": "string",
"enum": [
"fileWatch"
+ ]
+ },
+ "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": 255
+ },
+ "maxItems": 100
+ },
+ "maxItems": 100
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "additionalProperties": false
+ },
+ {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "maxLength": 1024
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "flowError"
+ ]
+ },
+ "config": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "meta": {
+ "type": "object",
+ "properties": {
+ "category": {
+ "type": "string",
+ "enum": [
+ "trigger"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "enum": [
+ "flowError"
]
},
"label": {
"type": "string",
"minLength": 1,
\ No newline at end of file