{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ada/main/json-schema/ada-webhook-schema.json",
  "title": "Webhook",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ada-webhook-management-api-openapi.yml#/components/schemas/Webhook",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The webhook ID"
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The URL that will receive webhook events"
    },
    "description": {
      "type": "string",
      "description": "A description of the webhook"
    },
    "event_filters": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Event types this webhook is subscribed to. If empty, the webhook receives all events"
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the webhook is enabled"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the webhook was created"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "When the webhook was last updated"
    }
  }
}