{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/evidujzdarma-cz/json-schema/evidujzdarma-cz-webhook-create-schema.json",
  "title": "WebhookCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/evidujzdarma-cz-webhooks-api-openapi.yml#/components/schemas/WebhookCreate",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "https only; private, loopback and link-local addresses are refused"
    },
    "events": {
      "description": "Omitted or empty = all events",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "sale.confirmed",
          "sale.rejected",
          "sale.deadline_soon",
          "certificate.expiring",
          "certificate.expired",
          "integration.revoked"
        ]
      }
    }
  },
  "required": [
    "url"
  ]
}