Sha256: 80fddffc902d93a8a9c3d24c6a0570311289635b641062d5bb292885a3499ba4

Contents?: true

Size: 901 Bytes

Versions: 29

Compression:

Stored size: 901 Bytes

Contents

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "patternProperties": {
    "^[0-9a-zA-Z_-]{1,255}$": {
      "type": "object",
      "properties": {
        "value": {
          "type": [
            "number",
            "string",
            "boolean"
          ]
        },
        "time": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "object",
              "properties": {
                "$date": {
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "required": [
                "$date"
              ]
            }
          ]
        },
        "relayId": {
          "type": "string"
        }
      }
    }
  },
  "additionalProperties": false
}

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
losant_rest-1.2.2 schemas/compositeDeviceState.json
losant_rest-1.2.1 schemas/compositeDeviceState.json
losant_rest-1.2.0 schemas/compositeDeviceState.json
losant_rest-1.1.2 schemas/compositeDeviceState.json
losant_rest-1.1.1 schemas/compositeDeviceState.json
losant_rest-1.1.0 schemas/compositeDeviceState.json
losant_rest-1.0.8 schemas/compositeDeviceState.json
losant_rest-1.0.7 schemas/compositeDeviceState.json
losant_rest-1.0.6 schemas/compositeDeviceState.json