{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gitlab/main/json-schema/gitlab-webhook-event-schema.json",
  "title": "WebhookEvent",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gitlab-webhook-events-api-openapi.yml#/components/schemas/WebhookEvent",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "The unique identifier of the webhook event delivery."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The URL the event was delivered to."
    },
    "trigger": {
      "type": "string",
      "description": "The event type that triggered the webhook delivery."
    },
    "request_headers": {
      "type": "object",
      "description": "HTTP headers sent with the webhook request.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "request_data": {
      "type": "string",
      "description": "The JSON payload body sent in the webhook request."
    },
    "response_headers": {
      "type": "object",
      "description": "HTTP headers returned in the webhook response.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "response_body": {
      "type": "string",
      "description": "The body of the response from the webhook receiver."
    },
    "response_status": {
      "type": "string",
      "description": "The HTTP response status code returned by the receiver."
    },
    "execution_duration": {
      "type": "number",
      "description": "Time in milliseconds the webhook delivery took."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the event was delivered."
    }
  }
}