{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clousd-com/json-schema/clousd-com-device-schema.json",
  "title": "Device",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clousd-com-openapi.yml#/components/schemas/Device",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "label": {
      "type": "string",
      "description": "the name shown in the dashboard; \"Phone #N\" unless renamed"
    },
    "number": {
      "type": "integer"
    },
    "android": {
      "type": "string"
    },
    "state": {
      "type": "string",
      "enum": [
        "running",
        "stopped",
        "starting",
        "error"
      ]
    }
  }
}