Sha256: e6c6ad705783258645f960d6fd158b82f0d382188082360481fb5c93c43bf311

Contents?: true

Size: 1.33 KB

Versions: 21

Compression:

Stored size: 1.33 KB

Contents

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "applicationId": {
      "type": "string",
      "pattern": "^[A-Fa-f\\d]{24}$"
    },
    "deviceId": {
      "type": "string",
      "pattern": "^[A-Fa-f\\d]{24}$"
    },
    "deviceClass": {
      "type": "string",
      "enum": [
        "standalone",
        "gateway",
        "peripheral",
        "floating",
        "edgeCompute",
        "system",
        "embedded"
      ]
    },
    "token": {
      "type": "string",
      "minLength": 1
    },
    "ownerType": {
      "type": "string",
      "enum": [
        "user",
        "organization"
      ]
    },
    "filterType": {
      "oneOf": [
        {
          "type": "string",
          "enum": [
            "all",
            "whitelist",
            "blacklist"
          ]
        },
        {
          "type": "string",
          "enum": [
            "none"
          ]
        }
      ]
    },
    "pubTopics": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1024
      }
    },
    "subTopics": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 1024
      }
    }
  },
  "required": [
    "applicationId",
    "deviceId",
    "deviceClass",
    "token"
  ]
}

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
losant_rest-1.21.2 schemas/authedDevice.json
losant_rest-1.21.1 schemas/authedDevice.json
losant_rest-1.21.0 schemas/authedDevice.json
losant_rest-1.20.1 schemas/authedDevice.json
losant_rest-1.20.0 schemas/authedDevice.json
losant_rest-1.19.9 schemas/authedDevice.json
losant_rest-1.19.8 schemas/authedDevice.json
losant_rest-1.19.6 schemas/authedDevice.json
losant_rest-1.19.4 schemas/authedDevice.json
losant_rest-1.19.3 schemas/authedDevice.json
losant_rest-1.19.2 schemas/authedDevice.json
losant_rest-1.19.1 schemas/authedDevice.json
losant_rest-1.19.0 schemas/authedDevice.json
losant_rest-1.18.0 schemas/authedDevice.json
losant_rest-1.17.5 schemas/authedDevice.json
losant_rest-1.17.4 schemas/authedDevice.json
losant_rest-1.17.3 schemas/authedDevice.json
losant_rest-1.17.2 schemas/authedDevice.json
losant_rest-1.17.1 schemas/authedDevice.json
losant_rest-1.17.0 schemas/authedDevice.json