schemas/flowPost.json in losant_rest-1.4.2 vs schemas/flowPost.json in losant_rest-1.5.0
- old
+ new
@@ -25,10 +25,11 @@
},
"type": {
"type": "string",
"enum": [
"dataTable",
+ "deviceCommand",
"deviceId",
"deviceIdConnect",
"deviceIdDisconnect",
"deviceIdInactivity",
"deviceTag",
@@ -37,10 +38,11 @@
"deviceTagInactivity",
"endpoint",
"event",
"integration",
"mqttTopic",
+ "request",
"timer",
"virtualButton",
"webhook"
]
},
@@ -128,9 +130,20 @@
"required": [
"key",
"json"
]
}
+ },
+ "flowClass": {
+ "type": "string",
+ "enum": [
+ "cloud",
+ "edge"
+ ]
+ },
+ "minimumAgentVersion": {
+ "type": "string",
+ "pattern": "^(0|([1-9]\\d*))\\.(0|([1-9]\\d*))\\.(0|([1-9]\\d*))$"
}
},
"additionalProperties": false,
"required": [
"name"
\ No newline at end of file