Sha256: 07d8f3701a0fcc3d85618de0cf403ba0bfa446c9006b1d73c0f09df32ef3e8a8

Contents?: true

Size: 1.12 KB

Versions: 21

Compression:

Stored size: 1.12 KB

Contents

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "array",
  "items": {
    "title": "Device State",
    "description": "Schema for a single Device state",
    "type": "object",
    "properties": {
      "time": {
        "oneOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "object",
            "properties": {
              "$date": {
                "type": "string"
              }
            },
            "additionalProperties": false,
            "required": [
              "$date"
            ]
          }
        ]
      },
      "meta": {},
      "data": {
        "type": "object",
        "patternProperties": {
          "^[0-9a-zA-Z_-]{1,255}$": {
            "type": [
              "number",
              "string",
              "boolean"
            ]
          }
        },
        "additionalProperties": false
      },
      "flowVersion": {
        "type": "string",
        "minLength": 1,
        "maxLength": 255
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
}

Version data entries

21 entries across 21 versions & 1 rubygems

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