{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-managed-device-schema.json",
  "title": "ManagedDevice",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-devices-api-openapi.yml#/components/schemas/ManagedDevice",
  "type": "object",
  "properties": {
    "device_id": {
      "type": "string",
      "description": "Unique identifier of the managed device."
    },
    "hostname": {
      "type": "string",
      "description": "Device hostname."
    },
    "platform": {
      "type": "string",
      "enum": [
        "windows",
        "macos",
        "linux",
        "chromeos"
      ],
      "description": "Operating system platform."
    },
    "browser_version": {
      "type": "string",
      "description": "Installed Prisma Access Browser version."
    },
    "compliance_status": {
      "type": "string",
      "enum": [
        "compliant",
        "non_compliant",
        "unknown"
      ],
      "description": "Device compliance status."
    },
    "user_id": {
      "type": "string",
      "description": "ID of the last user who logged in on this device."
    },
    "last_seen_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of the device's last check-in."
    }
  }
}