{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azure-container-registry/refs/heads/main/json-schema/azure-container-registry-callback-config-schema.json",
  "title": "CallbackConfig",
  "description": "The configuration of service URI and custom headers for the webhook.",
  "type": "object",
  "properties": {
    "customHeaders": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Custom headers that will be added to the webhook notifications.",
      "type": "object"
    },
    "serviceUri": {
      "description": "The service URI for the webhook to post notifications.",
      "type": "string"
    }
  },
  "required": [
    "serviceUri"
  ]
}