schemas/dashboard.json in losant_rest-1.7.1 vs schemas/dashboard.json in losant_rest-1.7.2
- old
+ new
@@ -70,11 +70,12 @@
"id": {
"type": "string",
"max": 14
},
"cron": {
- "type": "string"
+ "type": "string",
+ "max": 255
},
"toEmail": {
"type": "array",
"min": 1,
"max": 10,
@@ -110,13 +111,37 @@
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
- "type": "string"
+ "type": "string",
+ "maxLength": 255
},
"blockType": {
- "type": "string"
+ "type": "string",
+ "enum": [
+ "application-list",
+ "bar",
+ "custom-chart",
+ "dashboard-list",
+ "data-table",
+ "device-list",
+ "device-log",
+ "device-state-table",
+ "event-list",
+ "gauge",
+ "graph",
+ "heatmap",
+ "iframe",
+ "indicator",
+ "input",
+ "map",
+ "open-event-indicator",
+ "pie",
+ "position-chart",
+ "section-header",
+ "workflow-list"
+ ]
},
"title": {
"type": "string",
"maxLength": 255
},
\ No newline at end of file