schemas/deviceCredentials.json in losant_rest-1.7.1 vs schemas/deviceCredentials.json in losant_rest-1.7.2

- old
+ new

@@ -9,9 +9,39 @@ "key": { "type": "string" }, "secret": { "type": "string" + }, + "tokenTTL": { + "type": "integer", + "minimum": 0 + }, + "requestedScopes": { + "type": "array", + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "all.Device", + "all.Device.read", + "data.timeSeriesQuery", + "data.lastValueQuery", + "device.commandStream", + "device.get", + "device.getCompositeState", + "device.getState", + "device.stateStream", + "device.getLogEntries", + "device.getCommand", + "device.debug", + "device.sendState", + "device.sendCommand", + "device.setConnectionStatus", + "devices.get", + "devices.sendCommand" + ] + } } }, "required": [ "deviceId", "key", \ No newline at end of file