Sha256: 0a1a63290d2e310f735767e51384d45ae4c9fe025e6da6e356de34822c48c8f8

Contents?: true

Size: 1.14 KB

Versions: 12

Compression:

Stored size: 1.14 KB

Contents

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "deviceId": {
      "type": "string",
      "pattern": "^[A-Fa-f\\d]{24}$"
    },
    "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.export",
          "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.getCompositeState",
          "devices.sendCommand"
        ]
      }
    }
  },
  "required": [
    "deviceId"
  ],
  "additionalProperties": false
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
losant_rest-1.21.0 schemas/deviceCredentials.json
losant_rest-1.20.1 schemas/deviceCredentials.json
losant_rest-1.20.0 schemas/deviceCredentials.json
losant_rest-1.19.9 schemas/deviceCredentials.json
losant_rest-1.19.8 schemas/deviceCredentials.json
losant_rest-1.19.6 schemas/deviceCredentials.json
losant_rest-1.19.4 schemas/deviceCredentials.json
losant_rest-1.19.3 schemas/deviceCredentials.json
losant_rest-1.19.2 schemas/deviceCredentials.json
losant_rest-1.19.1 schemas/deviceCredentials.json
losant_rest-1.19.0 schemas/deviceCredentials.json
losant_rest-1.18.0 schemas/deviceCredentials.json