{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "HD Proxy Dynamic Webhook Payload",
  "type": "object",
  "properties": {
    "sc_routing_table": {
      "type": "object",
      "description": "Map representing cluster definitions to an array of internal specific SCC routes natively isolated.",
      "additionalProperties": {
        "type": "array",
        "items": { "type": "string" }
      }
    },
    "pbac_policies": {
      "type": "array",
      "description": "Raw OPA structural bounds representing proxy masks mappings correctly formatted asynchronously.",
      "items": {
        "type": "object",
        "properties": {
          "id": { "type": "string" },
          "policy_rego": { "type": "string" },
          "restricted_fields": {
            "type": "array",
            "items": { "type": "string" }
          },
          "enforced_fields": {
             "type": "object",
             "additionalProperties": {}
          }
        },
        "required": ["id", "policy_rego"]
      }
    },
    "opt_in": {
      "type": "boolean",
      "description": "Open telemetry active enablement bounds."
    },
    "sentry_dsn": {
      "type": "string",
      "description": "Sentry exception mappings statically natively executed."
    }
  },
  "required": ["sc_routing_table", "pbac_policies"]
}
