{
  "$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-scan-target-structure.json",
  "name": "ScanTarget",
  "description": "ScanTarget schema from Palo Alto Networks Prisma AIRS AI Red Teaming API",
  "type": "object",
  "properties": {
    "target_id": {
      "type": "string",
      "description": "Unique identifier of the scan target."
    },
    "name": {
      "type": "string",
      "description": "Display name of the scan target."
    },
    "description": {
      "type": "string",
      "description": "Description of the target AI application."
    },
    "type": {
      "type": "string",
      "description": "AI interface type of the target endpoint.",
      "enum": [
        "openai_chat",
        "anthropic_messages",
        "custom_http",
        "huggingface"
      ]
    },
    "endpoint_url": {
      "type": "uri",
      "description": "URL of the AI application endpoint."
    },
    "model": {
      "type": "string",
      "description": "AI model name or identifier used by the endpoint."
    },
    "created_at": {
      "type": "datetime"
    },
    "updated_at": {
      "type": "datetime"
    }
  }
}
