{
  "$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-application-schema.json",
  "title": "Application",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-applications-api-openapi.yml#/components/schemas/Application",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique application identifier."
    },
    "name": {
      "type": "string",
      "description": "SaaS application name (e.g., Google Drive, Microsoft SharePoint)."
    },
    "type": {
      "type": "string",
      "description": "Application type or category."
    },
    "status": {
      "type": "string",
      "enum": [
        "connected",
        "disconnected",
        "error"
      ],
      "description": "Current connection status."
    },
    "asset_count": {
      "type": "integer",
      "description": "Number of assets scanned for this application."
    },
    "incident_count": {
      "type": "integer",
      "description": "Number of active incidents for this application."
    },
    "connected_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the application was connected."
    }
  }
}