{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/corebee-ai/json-schema/corebee-ai-webhook-create-schema.json",
  "title": "WebhookCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/corebee-ai-webhooks-api-openapi.yml#/components/schemas/WebhookCreate",
  "type": "object",
  "required": [
    "url",
    "events"
  ],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri"
    },
    "events": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "string"
      }
    },
    "secret": {
      "type": "string",
      "description": "Optional HMAC signing secret. Auto-generated and stored encrypted when omitted."
    },
    "enabled": {
      "type": "boolean",
      "default": true
    }
  }
}