{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/memo-bank/main/json-schema/memo-bank-webhook-schema.json",
  "title": "Webhook",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/memo-bank-webhooks-api-openapi.yml#/components/schemas/Webhook",
  "required": [
    "bearer_token",
    "id",
    "name",
    "url"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "ID of the webhook.",
      "format": "uuid"
    },
    "name": {
      "type": "string",
      "description": "Name of the webhook."
    },
    "url": {
      "type": "string",
      "description": "URL to which webhook events are delivered."
    },
    "bearer_token": {
      "type": "string",
      "description": "Bearer token included in the Authorization header of webhook deliveries."
    }
  }
}