schemas/dashboard.json in losant_rest-1.9.1 vs schemas/dashboard.json in losant_rest-1.9.2
- old
+ new
@@ -815,10 +815,28 @@
]
},
"config": {
"type": "object",
"properties": {
+ "additionalAttributes": {
+ "oneOf": [
+ {
+ "type": "null"
+ },
+ {
+ "type": "array",
+ "maxItems": 100,
+ "items": {
+ "type": "string",
+ "maxLength": 255
+ }
+ }
+ ]
+ },
+ "excludeConnectionInfo": {
+ "type": "boolean"
+ },
"deviceLinkNewWindow": {
"type": "boolean"
},
"deviceLinkType": {
"type": "string",
@@ -840,10 +858,29 @@
]
},
"showPublicFilter": {
"type": "boolean"
},
+ "sortField": {
+ "type": "string",
+ "enum": [
+ "id",
+ "creationDate",
+ "lastUpdated",
+ "name"
+ ]
+ },
+ "sortDirection": {
+ "type": "string",
+ "enum": [
+ "asc",
+ "desc",
+ "ASC",
+ "DESC",
+ ""
+ ]
+ },
"filter": {
"oneOf": [
{
"type": "string",
"maxLength": 255
@@ -887,9 +924,48 @@
}
},
"additionalProperties": false
}
]
+ },
+ "columns": {
+ "type": "array",
+ "maxItems": 100,
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "maxLength": 48
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "id",
+ "connectionStatus",
+ "attribute",
+ "tag",
+ "name",
+ "custom",
+ "created",
+ "updated"
+ ]
+ },
+ "source": {
+ "type": "string",
+ "maxLength": 255
+ },
+ "headerTemplate": {
+ "type": "string",
+ "maxLength": 1024
+ },
+ "rowTemplate": {
+ "type": "string",
+ "maxLength": 32767
+ }
+ },
+ "additionalProperties": false
+ }
}
},
"additionalProperties": false
}
},
\ No newline at end of file