{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trmnl-com/json-schema/trmnl-com-get-api-devices-response-schema.json",
  "title": "GetApiDevicesResponse",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/trmnl-com-openapi-generated.yml#/components/schemas/GetApiDevicesResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "description": "Array of device objects."
    },
    "id": {
      "type": "integer",
      "description": "Device identifier."
    },
    "name": {
      "type": "string",
      "description": "Device name."
    },
    "friendly_id": {
      "type": "string",
      "description": "Human‑readable identifier."
    },
    "mac_address": {
      "type": "string",
      "description": "Masked MAC address."
    },
    "firmware_version": {
      "type": "string",
      "description": "Current firmware version."
    },
    "battery_voltage": {
      "type": "number",
      "description": "Battery voltage."
    },
    "percent_charged": {
      "type": "number",
      "description": "Battery charge percentage."
    },
    "rssi": {
      "type": "integer",
      "description": "Signal strength indicator."
    },
    "wifi_strength": {
      "type": "number",
      "description": "Wi‑Fi signal strength."
    },
    "refresh_interval": {
      "type": "integer",
      "description": "Device refresh interval in seconds."
    },
    "last_ping_at": {
      "type": "string",
      "description": "Timestamp of the last ping."
    }
  }
}