schemas/device.json in losant_rest-1.1.2 vs schemas/device.json in losant_rest-1.2.0
- old
+ new
@@ -49,11 +49,12 @@
"required": [
"key",
"value"
],
"additionalProperties": false
- }
+ },
+ "maxItems": 100
},
"attributes": {
"type": "array",
"items": {
"type": "object",
@@ -75,19 +76,19 @@
"required": [
"name",
"dataType"
],
"additionalProperties": false
- }
+ },
+ "maxItems": 100
},
"deviceClass": {
"type": "string",
"enum": [
"standalone",
"gateway",
"peripheral",
- "floating",
- "virtual"
+ "floating"
]
},
"gatewayId": {
"type": "string",
"pattern": "^[A-Fa-f\\d]{24}$"
\ No newline at end of file