{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/prisma-airs-ai-red-teaming-api-attack-category-structure.json",
  "name": "AttackCategory",
  "description": "AttackCategory schema from Palo Alto Networks Prisma AIRS AI Red Teaming API",
  "type": "object",
  "properties": {
    "category_id": {
      "type": "string",
      "description": "Unique identifier for the attack category."
    },
    "name": {
      "type": "string",
      "description": "Human-readable category name."
    },
    "description": {
      "type": "string",
      "description": "Description of the vulnerability class this category tests."
    },
    "attack_count": {
      "type": "int32",
      "description": "Number of built-in attack probes in this category."
    },
    "severity_range": {
      "type": "object",
      "description": "Severity range of vulnerabilities this category can discover.",
      "properties": {
        "min": {
          "type": "string",
          "enum": [
            "informational",
            "low",
            "medium",
            "high",
            "critical"
          ]
        },
        "max": {
          "type": "string",
          "enum": [
            "informational",
            "low",
            "medium",
            "high",
            "critical"
          ]
        }
      }
    },
    "examples": {
      "type": "array",
      "description": "Example attack type names within this category.",
      "items": {
        "type": "string"
      }
    }
  }
}
