Sha256: 6981fe2bcfb1eb81df5a77274c928c3afd8f4a7c520481001dfa9c3980fe1fc6

Contents?: true

Size: 868 Bytes

Versions: 21

Compression:

Stored size: 868 Bytes

Contents

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

21 entries across 21 versions & 1 rubygems

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