schemas/applicationDashboardPost.json in losant_rest-1.16.3 vs schemas/applicationDashboardPost.json in losant_rest-1.16.5
- old
+ new
@@ -110,12 +110,22 @@
"properties": {
"realTime": {
"type": "boolean"
},
"duration": {
- "type": "integer",
- "minimum": 0
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0
+ },
+ {
+ "type": "string",
+ "enum": [
+ "{{dashboard.duration}}"
+ ]
+ }
+ ]
},
"xAxisFormat": {
"type": "string",
"maxLength": 255
},
@@ -552,12 +562,22 @@
},
"additionalProperties": false
}
},
"duration": {
- "type": "integer",
- "minimum": 0
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0
+ },
+ {
+ "type": "string",
+ "enum": [
+ "{{dashboard.duration}}"
+ ]
+ }
+ ]
},
"resolution": {
"oneOf": [
{
"type": "integer",
@@ -725,12 +745,22 @@
},
"additionalProperties": false
}
},
"duration": {
- "type": "integer",
- "minimum": 0
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0
+ },
+ {
+ "type": "string",
+ "enum": [
+ "{{dashboard.duration}}"
+ ]
+ }
+ ]
}
},
"additionalProperties": false
},
{
@@ -1461,12 +1491,22 @@
},
"additionalProperties": false
}
},
"duration": {
- "type": "integer",
- "minimum": 0
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0
+ },
+ {
+ "type": "string",
+ "enum": [
+ "{{dashboard.duration}}"
+ ]
+ }
+ ]
},
"sortDirection": {
"type": "integer",
"minimum": -1,
"maximum": 1
@@ -1711,12 +1751,22 @@
},
"displayAsPercentage": {
"type": "boolean"
},
"duration": {
- "type": "integer",
- "minimum": 0
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0
+ },
+ {
+ "type": "string",
+ "enum": [
+ "{{dashboard.duration}}"
+ ]
+ }
+ ]
},
"gaugeMax": {
"oneOf": [
{
"type": "number"
@@ -2033,12 +2083,22 @@
"properties": {
"realTime": {
"type": "boolean"
},
"duration": {
- "type": "integer",
- "minimum": 0
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0
+ },
+ {
+ "type": "string",
+ "enum": [
+ "{{dashboard.duration}}"
+ ]
+ }
+ ]
},
"resolution": {
"oneOf": [
{
"type": "integer",
@@ -2409,12 +2469,22 @@
},
"additionalProperties": false
}
},
"duration": {
- "type": "integer",
- "minimum": 0
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0
+ },
+ {
+ "type": "string",
+ "enum": [
+ "{{dashboard.duration}}"
+ ]
+ }
+ ]
},
"locationTagKey": {
"oneOf": [
{
"type": "string",
@@ -2798,12 +2868,22 @@
},
"additionalProperties": false
}
},
"duration": {
- "type": "integer",
- "minimum": 0
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0
+ },
+ {
+ "type": "string",
+ "enum": [
+ "{{dashboard.duration}}"
+ ]
+ }
+ ]
}
},
"additionalProperties": false
}
]
@@ -3254,12 +3334,22 @@
"properties": {
"realTime": {
"type": "boolean"
},
"duration": {
- "type": "integer",
- "minimum": 0
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0
+ },
+ {
+ "type": "string",
+ "enum": [
+ "{{dashboard.duration}}"
+ ]
+ }
+ ]
},
"segments": {
"type": "array",
"maxItems": 255,
"items": {
@@ -4683,12 +4773,22 @@
},
"additionalProperties": false
}
},
"duration": {
- "type": "integer",
- "minimum": 0
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0
+ },
+ {
+ "type": "string",
+ "enum": [
+ "{{dashboard.duration}}"
+ ]
+ }
+ ]
},
"endColor": {
"type": "string",
"maxLength": 64
},
@@ -4879,12 +4979,22 @@
"properties": {
"realTime": {
"type": "boolean"
},
"duration": {
- "type": "integer",
- "minimum": 0
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0
+ },
+ {
+ "type": "string",
+ "enum": [
+ "{{dashboard.duration}}"
+ ]
+ }
+ ]
},
"percentFormat": {
"type": "string",
"maxLength": 255
},
@@ -5194,12 +5304,22 @@
},
"additionalProperties": false
}
},
"duration": {
- "type": "integer",
- "minimum": 0
+ "oneOf": [
+ {
+ "type": "integer",
+ "minimum": 0
+ },
+ {
+ "type": "string",
+ "enum": [
+ "{{dashboard.duration}}"
+ ]
+ }
+ ]
},
"endColor": {
"type": "string",
"maxLength": 64
},
@@ -5425,9 +5545,17 @@
},
"refreshRate": {
"type": "number",
"minimum": 5,
"maximum": 600
+ },
+ "duration": {
+ "type": "integer",
+ "minimum": 1
+ },
+ "resolution": {
+ "type": "integer",
+ "minimum": 1
},
"defaultTheme": {
"type": "string",
"enum": [
"dark",
\ No newline at end of file