Sha256: 2c1d2b05c9af6c175a8d6032c9217e1d5e80ee91eec664ec0c2d58a6b47fce7e

Contents?: true

Size: 868 Bytes

Versions: 58

Compression:

Stored size: 868 Bytes

Contents

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "array",
  "items": {
    "title": "Device Command",
    "description": "Schema for a command for a single Device",
    "type": "object",
    "properties": {
      "time": {
        "oneOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "object",
            "properties": {
              "$date": {
                "type": "string"
              }
            },
            "additionalProperties": false,
            "required": [
              "$date"
            ]
          }
        ]
      },
      "name": {
        "type": "string",
        "minLength": 1,
        "maxLength": 255
      },
      "payload": {}
    },
    "required": [
      "name"
    ],
    "additionalProperties": false
  }
}

Version data entries

58 entries across 58 versions & 1 rubygems

Version Path
losant_rest-1.16.5 schemas/deviceCommands.json
losant_rest-1.16.3 schemas/deviceCommands.json
losant_rest-1.16.2 schemas/deviceCommands.json
losant_rest-1.16.1 schemas/deviceCommands.json
losant_rest-1.16.0 schemas/deviceCommands.json
losant_rest-1.15.2 schemas/deviceCommands.json
losant_rest-1.15.1 schemas/deviceCommands.json
losant_rest-1.15.0 schemas/deviceCommands.json
losant_rest-1.14.1 schemas/deviceCommands.json
losant_rest-1.14.0 schemas/deviceCommands.json
losant_rest-1.13.1 schemas/deviceCommands.json
losant_rest-1.13.0 schemas/deviceCommands.json
losant_rest-1.12.0 schemas/deviceCommands.json
losant_rest-1.11.1 schemas/deviceCommands.json
losant_rest-1.11.0 schemas/deviceCommands.json
losant_rest-1.10.4 schemas/deviceCommands.json
losant_rest-1.10.3 schemas/deviceCommands.json
losant_rest-1.10.2 schemas/deviceCommands.json
losant_rest-1.10.1 schemas/deviceCommands.json
losant_rest-1.10.0 schemas/deviceCommands.json