schemas/devices.json in losant_rest-1.4.2 vs schemas/devices.json in losant_rest-1.5.0

- old
+ new

@@ -92,17 +92,22 @@ "type": "string", "enum": [ "standalone", "gateway", "peripheral", - "floating" + "floating", + "edgeCompute" ] }, "gatewayId": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" }, + "edgeAgentVersion": { + "type": "string", + "pattern": "^(0|([1-9]\\d*))\\.(0|([1-9]\\d*))\\.(0|([1-9]\\d*))$" + }, "connectionInfo": { "type": "object", "properties": { "time": { "type": "string", @@ -149,8 +154,39 @@ ] }, "applicationId": { "type": "string", "pattern": "^[A-Fa-f\\d]{24}$" + }, + "deviceClass": { + "type": "string", + "enum": [ + "standalone", + "gateway", + "peripheral", + "floating", + "edgeCompute" + ] + }, + "tagFilter": { + "title": "Device Tag Filter", + "description": "Array of Tags for filtering devices. Tag keys and tag values are optional.", + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string", + "pattern": "^[0-9a-zA-Z_-]{1,255}$" + }, + "value": { + "type": "string", + "minLength": 1, + "maxLength": 255 + } + }, + "additionalProperties": false + }, + "maxItems": 100 } } } \ No newline at end of file