{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flatmark-dev/json-schema/flatmark-dev-webhook-endpoint-request-schema.json",
  "title": "WebhookEndpointRequest",
  "description": "A new endpoint.",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/flatmark-dev-openapi.json#/components/schemas/WebhookEndpointRequest",
  "properties": {
    "url": {
      "type": "string",
      "maxLength": 2000,
      "title": "Url",
      "description": "Where to send events. Must be `https://` on a public host."
    },
    "event_types": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Event Types",
      "description": "The event types to receive. Empty receives every type."
    },
    "description": {
      "type": "string",
      "maxLength": 200,
      "title": "Description",
      "description": "A note for yourself.",
      "default": ""
    }
  },
  "type": "object",
  "required": [
    "url"
  ]
}