{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/samsung/json-schema/samsung-device-status-schema.json",
  "title": "DeviceStatus",
  "description": "Full status of all device components and capability attributes.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/samsung-devices-api-openapi.yml#/components/schemas/DeviceStatus",
  "type": "object",
  "properties": {
    "components": {
      "type": "object",
      "description": "Map of component IDs to capability status objects. Each capability contains attribute name/value pairs with timestamps.",
      "additionalProperties": {
        "type": "object",
        "additionalProperties": {
          "type": "object",
          "properties": {
            "value": {
              "description": "Current attribute value."
            },
            "unit": {
              "type": "string",
              "description": "Unit of measurement (if applicable)."
            },
            "timestamp": {
              "type": "string",
              "format": "date-time",
              "description": "Timestamp of last update."
            }
          }
        }
      }
    }
  }
}