{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Configure Smoke Signal specific settings for an event. Requires authentication and ownership of the event.",
      "errors": [
        {
          "description": "The specified event does not exist.",
          "name": "EventNotFound"
        },
        {
          "description": "The authenticated user does not own this event.",
          "name": "NotAuthorized"
        },
        {
          "description": "The provided redirect URL is invalid or not allowed.",
          "name": "InvalidRedirectUrl"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "disableDirectRsvp": {
              "description": "When true, the RSVP button redirects to an external ticketing URL instead of creating a direct RSVP.",
              "type": "boolean"
            },
            "event": {
              "description": "AT-URI of the event to configure.",
              "format": "at-uri",
              "type": "string"
            },
            "requireConfirmedEmail": {
              "description": "When true, RSVPs require a confirmed email address.",
              "type": "boolean"
            },
            "rsvpRedirectUrl": {
              "description": "URL to redirect users to for external ticketing (e.g., ti.to, eventbrite).",
              "format": "uri",
              "maxLength": 2048,
              "type": "string"
            }
          },
          "required": [
            "event"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "events.smokesignal.event.configure",
  "lexicon": 1
}
