Schemas

Device with sensors

A device composed of N independently typed sensors.

https://hometruth.ai/schemas/sensor-device · Device

Instances

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://hometruth.ai/schemas/sensor-device",
  "title": "Device with sensors",
  "description": "A device containing one or more individually typed sensors. Multiple sensors of the same type are allowed.",
  "type": "object",
  "allOf": [
    {
      "$ref": "https://hometruth.ai/schemas/object"
    },
    {
      "type": "object",
      "properties": {
        "sensors": {
          "type": "array",
          "minItems": 1
        }
      },
      "required": [
        "sensors"
      ]
    }
  ]
}