schemas/experienceLinkedResources.json in losant_rest-1.10.0 vs schemas/experienceLinkedResources.json in losant_rest-1.10.1

- old
+ new

@@ -458,11 +458,10 @@ "deviceIdConnect", "deviceTagConnect", "deviceIdDisconnect", "deviceTagDisconnect", "integration", - "mqttTopic", "notebook", "onBoot", "onConnect", "onDisconnect", "request", @@ -1414,10 +1413,113 @@ "maxLength": 1024 }, "type": { "type": "string", "enum": [ + "mqttTopic" + ] + }, + "config": { + "type": "object", + "properties": { + "integrationId": { + "type": "string", + "enum": [ + "losant", + "local" + ] + } + }, + "additionalProperties": false + }, + "meta": { + "type": "object", + "properties": { + "category": { + "type": "string", + "enum": [ + "trigger" + ] + }, + "name": { + "type": "string", + "enum": [ + "mqtt" + ] + }, + "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": 255 + }, + "maxItems": 100 + }, + "maxItems": 100 + } + }, + "required": [ + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "key": { + "type": "string", + "maxLength": 1024 + }, + "type": { + "type": "string", + "enum": [ "opcua" ] }, "config": { "type": "object", @@ -2572,11 +2674,10 @@ "deviceIdConnect", "deviceTagConnect", "deviceIdDisconnect", "deviceTagDisconnect", "integration", - "mqttTopic", "notebook", "onBoot", "onConnect", "onDisconnect", "request", @@ -3528,10 +3629,113 @@ "maxLength": 1024 }, "type": { "type": "string", "enum": [ + "mqttTopic" + ] + }, + "config": { + "type": "object", + "properties": { + "integrationId": { + "type": "string", + "enum": [ + "losant", + "local" + ] + } + }, + "additionalProperties": false + }, + "meta": { + "type": "object", + "properties": { + "category": { + "type": "string", + "enum": [ + "trigger" + ] + }, + "name": { + "type": "string", + "enum": [ + "mqtt" + ] + }, + "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": 255 + }, + "maxItems": 100 + }, + "maxItems": 100 + } + }, + "required": [ + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "key": { + "type": "string", + "maxLength": 1024 + }, + "type": { + "type": "string", + "enum": [ "opcua" ] }, "config": { "type": "object", @@ -4636,11 +4840,10 @@ "deviceIdConnect", "deviceTagConnect", "deviceIdDisconnect", "deviceTagDisconnect", "integration", - "mqttTopic", "notebook", "onBoot", "onConnect", "onDisconnect", "request", @@ -5556,9 +5759,112 @@ "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": [ + "mqttTopic" + ] + }, + "config": { + "type": "object", + "properties": { + "integrationId": { + "type": "string", + "enum": [ + "losant", + "local" + ] + } + }, + "additionalProperties": false + }, + "meta": { + "type": "object", + "properties": { + "category": { + "type": "string", + "enum": [ + "trigger" + ] + }, + "name": { + "type": "string", + "enum": [ + "mqtt" + ] + }, + "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