Sha256: f36716699bce41ae35f6372100ea2b6ac2a9872b96fb96142e520801e10e758c

Contents?: true

Size: 1.33 KB

Versions: 8

Compression:

Stored size: 1.33 KB

Contents

{
  "$schema": "http://json-schema.org/draft-04/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

8 entries across 8 versions & 1 rubygems

Version Path
losant_rest-1.16.5 schemas/authedDevice.json
losant_rest-1.16.3 schemas/authedDevice.json
losant_rest-1.16.2 schemas/authedDevice.json
losant_rest-1.16.1 schemas/authedDevice.json
losant_rest-1.16.0 schemas/authedDevice.json
losant_rest-1.15.2 schemas/authedDevice.json
losant_rest-1.15.1 schemas/authedDevice.json
losant_rest-1.15.0 schemas/authedDevice.json