{
  "$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-devices-schema.json",
  "title": "devices",
  "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/devices",
  "type": "object",
  "required": [
    "name",
    "id",
    "folder"
  ],
  "properties": {
    "id": {
      "type": "string",
      "readOnly": true,
      "description": "The UUID of the device"
    },
    "name": {
      "type": "string",
      "description": "The name of the device"
    },
    "display_name": {
      "type": "string",
      "description": "The display name of the device"
    },
    "folder": {
      "type": "string",
      "description": "The folder containing the device"
    },
    "description": {
      "type": "string",
      "description": "The description of the device"
    },
    "hostname": {
      "type": "string",
      "readOnly": true,
      "description": "The hostname of the device"
    },
    "ip_address": {
      "type": "string",
      "readOnly": true,
      "description": "The IPv4 address of the device"
    },
    "ipV6_address": {
      "type": "string",
      "readOnly": true,
      "description": "The IPv6 address of the device"
    },
    "mac_address": {
      "type": "string",
      "readOnly": true,
      "description": "The MAC address of the device"
    },
    "family": {
      "type": "string",
      "readOnly": true,
      "description": "The product family of the device"
    },
    "model": {
      "type": "string",
      "readOnly": true,
      "description": "The model of the device"
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Labels assigned to the device"
    },
    "snippets": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Snippets associated with the device"
    },
    "app_version": {
      "type": "string",
      "readOnly": true
    },
    "threat_version": {
      "type": "string",
      "readOnly": true
    },
    "anti_virus_version": {
      "type": "string",
      "readOnly": true
    },
    "wf_ver": {
      "type": "string",
      "readOnly": true
    },
    "iot_version": {
      "type": "string",
      "readOnly": true
    },
    "url_db_type": {
      "type": "string",
      "readOnly": true
    },
    "url_db_ver": {
      "type": "string",
      "readOnly": true
    },
    "software_version": {
      "type": "string",
      "readOnly": true
    },
    "vm_state": {
      "type": "string",
      "readOnly": true
    },
    "gp_client_verion": {
      "type": "string",
      "readOnly": true
    },
    "gp_data_version": {
      "type": "string",
      "readOnly": true
    },
    "log_db_version": {
      "type": "string",
      "readOnly": true
    },
    "uptime": {
      "type": "string",
      "readOnly": true
    },
    "dev_cert_detail": {
      "type": "string",
      "readOnly": true
    },
    "dev_cert_expiry_date": {
      "type": "string",
      "readOnly": true
    },
    "ha_state": {
      "type": "string",
      "readOnly": true
    },
    "ha_peer_serial": {
      "type": "string",
      "readOnly": true
    },
    "ha_peer_state": {
      "type": "string",
      "readOnly": true
    },
    "is_connected": {
      "type": "boolean",
      "readOnly": true
    },
    "connected_since": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "app_release_date": {
      "type": "string",
      "readOnly": true
    },
    "threat_release_date": {
      "type": "string",
      "readOnly": true
    },
    "av_release_date": {
      "type": "string",
      "readOnly": true
    },
    "wf_release_date": {
      "type": "string",
      "readOnly": true
    },
    "iot_release_date": {
      "type": "string",
      "readOnly": true
    },
    "license_match": {
      "type": "boolean",
      "readOnly": true
    },
    "available_licensess": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "issued": {
            "type": "string",
            "format": "date",
            "readOnly": true
          },
          "expires": {
            "type": "string",
            "format": "date",
            "readOnly": true
          },
          "feature": {
            "type": "string",
            "readOnly": true
          },
          "authcode": {
            "type": "string",
            "readOnly": true
          }
        }
      },
      "readOnly": true
    },
    "installed_licenses": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "issued": {
            "type": "string",
            "format": "date",
            "readOnly": true
          },
          "expired": {
            "type": "string",
            "readOnly": true
          },
          "expires": {
            "type": "string",
            "readOnly": true
          },
          "feature": {
            "type": "string",
            "readOnly": true
          },
          "authcode": {
            "type": "string",
            "readOnly": true
          }
        }
      },
      "readOnly": true
    }
  }
}