schemas/integrations.json in losant_rest-1.5.0 vs schemas/integrations.json in losant_rest-1.5.1
- old
+ new
@@ -35,12 +35,13 @@
"maxLength": 1024
},
"integrationType": {
"type": "string",
"enum": [
- "mqtt",
"googlePubSub",
+ "meridian",
+ "mqtt",
"particle"
]
},
"enabled": {
"type": "boolean"
@@ -76,22 +77,22 @@
"mqttConfig": {
"type": "object",
"properties": {
"clientId": {
"type": "string",
- "maxLength": 1024,
- "minLength": 1
+ "minLength": 1,
+ "maxLength": 1024
},
"username": {
"type": "string",
- "maxLength": 1024,
- "minLength": 1
+ "minLength": 1,
+ "maxLength": 1024
},
"password": {
"type": "string",
- "maxLength": 1024,
- "minLength": 1
+ "minLength": 1,
+ "maxLength": 1024
},
"clean": {
"type": "boolean"
},
"port": {
@@ -108,12 +109,12 @@
"wss"
]
},
"host": {
"type": "string",
- "maxLength": 1024,
- "minLength": 1
+ "minLength": 1,
+ "maxLength": 1024
},
"privateKey": {
"type": "string",
"maxLength": 32767,
"minLength": 50
@@ -139,31 +140,57 @@
"particleConfig": {
"type": "object",
"properties": {
"accessToken": {
"type": "string",
- "maxLength": 1024,
- "minLength": 1
+ "minLength": 1,
+ "maxLength": 1024
},
"productSlugOrId": {
"type": "string",
- "maxLength": 1024,
- "minLength": 1
+ "minLength": 1,
+ "maxLength": 1024
},
"orgSlugOrId": {
"type": "string",
- "maxLength": 1024,
- "minLength": 1
+ "minLength": 1,
+ "maxLength": 1024
},
"deviceNameOrId": {
"type": "string",
- "maxLength": 1024,
- "minLength": 1
+ "minLength": 1,
+ "maxLength": 1024
}
},
"additionalProperties": false,
"required": [
"accessToken"
+ ]
+ },
+ "meridianConfig": {
+ "type": "object",
+ "properties": {
+ "authenticationToken": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 1024
+ },
+ "locationId": {
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 1024
+ },
+ "assetUpdates": {
+ "type": "boolean"
+ },
+ "zoneUpdates": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "authenticationToken",
+ "locationId"
]
},
"status": {
"lastKeepAlive": {
"type": [
\ No newline at end of file