{
  "$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-dynamic-job-report-schema-schema.json",
  "title": "DynamicJobReportSchema",
  "description": "Core metrics for report generation.",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/palo-alto-networks-report-api-openapi.yml#/components/schemas/DynamicJobReportSchema",
  "properties": {
    "total_goals": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Total Goals",
      "description": "Total number of goals tested",
      "default": 0
    },
    "total_streams": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Total Streams",
      "description": "Total number of attack streams",
      "default": 0
    },
    "total_threats": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Total Threats",
      "description": "Total number of threats detected",
      "default": 0
    },
    "goals_achieved": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Goals Achieved",
      "description": "Number of goals with at least one threat",
      "default": 0
    },
    "report_summary": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Report Summary",
      "description": "LLM-generated executive summary for the dynamic job"
    },
    "score": {
      "type": "number",
      "maximum": 100.0,
      "minimum": 0.0,
      "title": "Score",
      "description": "Overall security score (0-100)",
      "default": 0.0
    },
    "asr": {
      "type": "number",
      "maximum": 100.0,
      "minimum": 0.0,
      "title": "Asr",
      "description": "Attack Success Rate (0-100)",
      "default": 0.0
    }
  },
  "type": "object"
}