schemas/flow.json in losant_rest-1.14.0 vs schemas/flow.json in losant_rest-1.14.1
- old
+ new
@@ -79,11 +79,10 @@
"integration",
"notebook",
"onBoot",
"onConnect",
"onDisconnect",
- "request",
"udp",
"webhook"
]
},
"config": {
@@ -113,11 +112,10 @@
"notebook",
"onBoot",
"onConnect",
"onDisconnect",
"particle",
- "request",
"udp",
"webhook"
]
},
"label": {
@@ -1386,9 +1384,121 @@
"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": [
+ "request"
+ ]
+ },
+ "config": {
+ "type": "object",
+ "properties": {
+ "method": {
+ "type": "string",
+ "enum": [
+ "*",
+ "delete",
+ "get",
+ "options",
+ "patch",
+ "post",
+ "put"
+ ]
+ },
+ "route": {
+ "type": "string",
+ "maxLength": 1024
+ }
+ },
+ "additionalProperties": false
+ },
+ "meta": {
+ "type": "object",
+ "properties": {
+ "category": {
+ "type": "string",
+ "enum": [
+ "trigger"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "enum": [
+ "request"
+ ]
+ },
+ "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