schemas/flowPost.json in losant_rest-1.10.0 vs schemas/flowPost.json in losant_rest-1.10.1
- old
+ new
@@ -45,11 +45,10 @@
"deviceIdConnect",
"deviceTagConnect",
"deviceIdDisconnect",
"deviceTagDisconnect",
"integration",
- "mqttTopic",
"notebook",
"onBoot",
"onConnect",
"onDisconnect",
"request",
@@ -965,9 +964,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