Sha256: e0f294bef7cbd6ac2c9f8b49fd6160db94b6f2b21bb0e5e43dabd925fb92fd55

Contents?: true

Size: 1.43 KB

Versions: 11

Compression:

Stored size: 1.43 KB

Contents

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "start": {
      "type": "number"
    },
    "end": {
      "type": "number"
    },
    "duration": {
      "type": "number"
    },
    "resolution": {
      "type": "number"
    },
    "aggregation": {
      "type": "string",
      "enum": [
        "FIRST",
        "LAST",
        "COUNT",
        "MAX",
        "MIN",
        "MEDIAN",
        "MEAN",
        "SUM",
        "STD_DEV",
        "NONE"
      ]
    },
    "attributes": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[0-9a-zA-Z_-]{1,255}$"
      }
    },
    "deviceTags": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "pattern": "^[0-9a-zA-Z_-]{1,255}$"
          },
          "value": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          }
        },
        "additionalProperties": false
      },
      "maxItems": 100
    },
    "deviceIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Fa-f\\d]{24}$"
      },
      "maxItems": 1000
    },
    "limit": {
      "type": "number"
    },
    "order": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "default": "asc"
    }
  },
  "additionalProperties": false
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
losant_rest-1.10.0 schemas/timeSeriesQuery.json
losant_rest-1.9.3 schemas/timeSeriesQuery.json
losant_rest-1.9.2 schemas/timeSeriesQuery.json
losant_rest-1.9.1 schemas/timeSeriesQuery.json
losant_rest-1.9.0 schemas/timeSeriesQuery.json
losant_rest-1.8.9 schemas/timeSeriesQuery.json
losant_rest-1.8.7 schemas/timeSeriesQuery.json
losant_rest-1.8.6 schemas/timeSeriesQuery.json
losant_rest-1.8.5 schemas/timeSeriesQuery.json
losant_rest-1.8.4 schemas/timeSeriesQuery.json
losant_rest-1.8.3 schemas/timeSeriesQuery.json