{
  "$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-asset-schema.json",
  "title": "Asset",
  "description": "An asset tracked in the XSIAM asset inventory.",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-assets-api-openapi.yml#/components/schemas/Asset",
  "type": "object",
  "properties": {
    "asset_id": {
      "type": "string"
    },
    "asset_name": {
      "type": "string"
    },
    "asset_type": {
      "type": "string",
      "enum": [
        "DEVICE",
        "CLOUD_RESOURCE",
        "USER",
        "SERVICE_ACCOUNT"
      ]
    },
    "operating_system": {
      "type": "string"
    },
    "ip_addresses": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "risk_score": {
      "type": "number",
      "description": "Asset risk score (0.0 to 100.0)."
    },
    "first_seen": {
      "type": "integer",
      "description": "First observation timestamp as Unix epoch milliseconds."
    },
    "last_seen": {
      "type": "integer"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Data sources that reported this asset."
    }
  }
}