{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coppica-com/json-schema/coppica-com-webhook-create-schema.json",
  "title": "WebhookCreate",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coppica-com-openapi.yml#/components/schemas/WebhookCreate",
  "type": "object",
  "properties": {
    "webhook_url": {
      "type": "string",
      "format": "uri"
    },
    "events": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "bot.complete",
          "pipeline.complete",
          "intake.submitted",
          "document.shared",
          "draft.ready",
          "client.annotation",
          "client.approval",
          "conversion.recorded",
          "task.assigned",
          "output.finalized",
          "workflow.node_complete",
          "workflow.complete"
        ]
      }
    },
    "provider": {
      "type": "string",
      "enum": [
        "generic",
        "slack"
      ],
      "default": "generic"
    },
    "label": {
      "type": "string"
    }
  },
  "required": [
    "webhook_url",
    "events"
  ]
}