{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vixdeo-com/json-schema/vixdeo-com-webhook-create-request-schema.json",
  "title": "WebhookCreateRequest",
  "description": "Request body for ``POST /v1/webhooks``.\n\nThe plain ``secret`` is generated by the server and returned in the\nresponse exactly once; clients cannot supply their own. This\nmatches Stripe and removes a class of \"low-entropy secret\" bugs.",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vixdeo-com-openapi.json#/components/schemas/WebhookCreateRequest",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "title": "Name",
      "description": "Human-readable label for this webhook subscription."
    },
    "url": {
      "type": "string",
      "maxLength": 2048,
      "minLength": 1,
      "title": "Url",
      "description": "Target URL for outbound POST requests. Must be HTTP(S); production deployments only accept HTTPS. Loopback addresses are rejected in production."
    },
    "events": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "minItems": 1,
      "title": "Events",
      "description": "List of event types to subscribe to. See ``GET /v1/webhooks/events`` for the supported set."
    },
    "description": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "name",
    "url",
    "events"
  ]
}