schemas/flowVersion.json in losant_rest-1.19.6 vs schemas/flowVersion.json in losant_rest-1.19.8

- old
+ new

@@ -92,11 +92,10 @@ "deviceCommand", "deviceIdConnect", "deviceTagConnect", "deviceIdDisconnect", "deviceTagDisconnect", - "integration", "notebook", "onBoot", "onConnect", "onDisconnect", "udp", @@ -126,25 +125,19 @@ "deviceCommand", "deviceIdsTagsConnect", "deviceIdsTagsDisconnect", "eeaInit", "flowError", - "azureEventHub", - "googlePubSub", - "mqtt", "notebook", "onBoot", "onConnect", "onDisconnect", - "particle", - "sqs", "udp", "webhook", "resourceJobIteration", "resourceJobIterationTimeout", - "resourceJobComplete", - "websocket" + "resourceJobComplete" ] }, "label": { "type": "string", "minLength": 1, @@ -321,10 +314,124 @@ "maxLength": 1024 }, "type": { "type": "string", "enum": [ + "integration" + ] + }, + "config": { + "type": "object", + "properties": { + "connect": { + "type": "boolean" + }, + "message": { + "type": "boolean" + }, + "disconnect": { + "type": "boolean" + }, + "failure": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "meta": { + "type": "object", + "properties": { + "category": { + "type": "string", + "enum": [ + "trigger" + ] + }, + "name": { + "type": "string", + "enum": [ + "azureEventHub", + "googlePubSub", + "mqtt", + "particle", + "sqs", + "websocket" + ] + }, + "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" + }, + "triggerId": { + "type": "string", + "maxLength": 48 + }, + "id": { + "type": "string", + "maxLength": 48 + } + }, + "additionalProperties": false + }, + "outputIds": { + "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": [ "deviceId", "deviceTag" ] }, "config": { @@ -2777,11 +2884,10 @@ "deviceCommand", "deviceIdConnect", "deviceTagConnect", "deviceIdDisconnect", "deviceTagDisconnect", - "integration", "notebook", "onBoot", "onConnect", "onDisconnect", "udp", @@ -2811,25 +2917,19 @@ "deviceCommand", "deviceIdsTagsConnect", "deviceIdsTagsDisconnect", "eeaInit", "flowError", - "azureEventHub", - "googlePubSub", - "mqtt", "notebook", "onBoot", "onConnect", "onDisconnect", - "particle", - "sqs", "udp", "webhook", "resourceJobIteration", "resourceJobIterationTimeout", - "resourceJobComplete", - "websocket" + "resourceJobComplete" ] }, "label": { "type": "string", "minLength": 1, @@ -2969,9 +3069,123 @@ "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 + } + }, + "required": [ + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "key": { + "type": "string", + "maxLength": 1024 + }, + "type": { + "type": "string", + "enum": [ + "integration" + ] + }, + "config": { + "type": "object", + "properties": { + "connect": { + "type": "boolean" + }, + "message": { + "type": "boolean" + }, + "disconnect": { + "type": "boolean" + }, + "failure": { + "type": "boolean" + } + }, + "additionalProperties": false + }, + "meta": { + "type": "object", + "properties": { + "category": { + "type": "string", + "enum": [ + "trigger" + ] + }, + "name": { + "type": "string", + "enum": [ + "azureEventHub", + "googlePubSub", + "mqtt", + "particle", + "sqs", + "websocket" + ] + }, + "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" + }, + "triggerId": { + "type": "string", + "maxLength": 48 }, "id": { "type": "string", "maxLength": 48 } \ No newline at end of file