schemas/flowsImportResult.json in losant_rest-1.14.1 vs schemas/flowsImportResult.json in losant_rest-1.15.0

- old
+ new

@@ -58,10 +58,11 @@ "flowClass": { "type": "string", "enum": [ "cloud", "edge", + "embedded", "experience", "customNode" ] }, "triggers": { @@ -111,10 +112,11 @@ "enum": [ "customNodeStart", "deviceCommand", "deviceIdsTagsConnect", "deviceIdsTagsDisconnect", + "eeaInit", "flowError", "googlePubSub", "meridian", "mqtt", "notebook", @@ -174,11 +176,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -278,11 +281,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -422,11 +426,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -518,12 +523,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 } }, @@ -615,11 +713,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -720,11 +819,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -828,11 +928,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -939,11 +1040,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -1040,11 +1142,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -1143,11 +1246,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -1283,11 +1387,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -1406,11 +1511,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -1518,11 +1624,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -1661,11 +1768,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -1787,11 +1895,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -1902,11 +2011,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -1943,11 +2053,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -2346,11 +2457,11 @@ "items": { "title": "Workflow Version", "description": "Schema for a single Workflow Version", "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}$" @@ -2434,10 +2545,11 @@ "enum": [ "customNodeStart", "deviceCommand", "deviceIdsTagsConnect", "deviceIdsTagsDisconnect", + "eeaInit", "flowError", "googlePubSub", "meridian", "mqtt", "notebook", @@ -2497,11 +2609,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -2601,11 +2714,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -2745,11 +2859,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -2841,12 +2956,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 } }, @@ -2938,11 +3146,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -3043,11 +3252,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -3151,11 +3361,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -3262,11 +3473,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -3363,11 +3575,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -3466,11 +3679,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -3606,11 +3820,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -3729,11 +3944,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -3841,11 +4057,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -3984,11 +4201,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -4110,11 +4328,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -4225,11 +4444,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -4266,11 +4486,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -4757,10 +4978,11 @@ "enum": [ "customNodeStart", "deviceCommand", "deviceIdsTagsConnect", "deviceIdsTagsDisconnect", + "eeaInit", "flowError", "googlePubSub", "meridian", "mqtt", "notebook", @@ -4820,11 +5042,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -4924,11 +5147,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -5068,11 +5292,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -5164,12 +5389,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 } }, @@ -5261,11 +5579,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -5366,11 +5685,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -5474,11 +5794,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -5585,11 +5906,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -5686,11 +6008,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -5789,11 +6112,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -5929,11 +6253,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -6052,11 +6377,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -6164,11 +6490,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -6307,11 +6634,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -6433,11 +6761,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -6548,11 +6877,12 @@ "type": "array", "items": { "type": "array", "items": { "type": "string", - "maxLength": 255 + "maxLength": 48, + "minLength": 1 }, "maxItems": 100 }, "maxItems": 100 } @@ -6589,10 +6919,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