{
  "$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-aiprofile-schema.json",
  "title": "AIProfile",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-profiles-api-openapi.yml#/components/schemas/AIProfile",
  "type": "object",
  "properties": {
    "profile_id": {
      "type": "string",
      "description": "Unique identifier of the profile."
    },
    "profile_name": {
      "type": "string",
      "description": "Profile name used to reference this profile in scan requests."
    },
    "description": {
      "type": "string",
      "description": "Human-readable description of the profile purpose and use case."
    },
    "detection_categories": {
      "type": "array",
      "description": "Detection categories configured in this profile.",
      "items": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "enum": [
              "prompt_injection",
              "jailbreak",
              "data_leakage",
              "toxic_content",
              "malicious_url",
              "pii_exposure",
              "model_abuse"
            ]
          },
          "enabled": {
            "type": "boolean",
            "description": "Whether this detection category is active."
          },
          "sensitivity": {
            "type": "string",
            "enum": [
              "low",
              "medium",
              "high"
            ],
            "description": "Detection sensitivity threshold."
          },
          "action": {
            "type": "string",
            "enum": [
              "alert",
              "block",
              "log"
            ],
            "description": "Enforcement action when this category triggers."
          }
        }
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the profile was created."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of the most recent profile modification."
    }
  }
}