{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/airthings/json-schema/airthings-devices-response-schema.json",
  "title": "DevicesResponse",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/airthings-openapi.yaml#/components/schemas/DevicesResponse",
  "type": "object",
  "properties": {
    "devices": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DeviceResponse"
      }
    }
  },
  "$defs": {
    "DeviceResponse": {
      "type": "object",
      "properties": {
        "serialNumber": {
          "type": "string"
        },
        "home": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "sensors": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}