{"openapi":"3.1.0","info":{"title":"SocialLoop Agent API","version":"1.0.0","description":"Create, refine, and publish events on SocialLoop on a user's behalf — the event platform an AI agent can act on directly. `create_event_draft` turns a natural-language event description into a draft and returns a claim link the user opens to publish; it works even if the user has no SocialLoop account yet (anonymous draft → human claim). No authentication is required to create a draft.\n\nAvailable tools:\n- `list_events`: List the events you host — name, date, status, visibility, location, capacity, and headcount, plus the total count. See how many events you have, or find an event's id before acting on it. Optional filters: status, upcoming_only, limit. Requires a connected account. Read-only.\n- `create_event_draft`: Create an event draft on the user's behalf and return a claim link they open to publish it. Use when a user wants to create or publish an event — works even if they have no SocialLoop account yet. The draft is private until the user opens the claim link and confirms. For a user connected via 'Connect with SocialLoop', it publishes directly to their account and returns a manage link instead.\n- `update_event_draft`: Refine an event draft you previously created (title, time, location, tickets, etc.) using its edit token, against the same claim link. Use to iterate with the user before they publish.\n- `update_event`: Edit a live event you manage: name, description (with links), category, start/end time, cover image, turn public discovery on/off, show or hide the guest list, visibility, capacity, and approval. Requires event_id; you must be a host (connected via 'Connect with SocialLoop').\n- `create_event_series`: Turn an existing event into a recurring series — pattern (daily/weekly/biweekly/monthly) + end (end_after total occurrences, or end_date). The source becomes occurrence 1; the rest are created on cadence with its tickets/promo/forms replayed. Requires source_event_id + pattern; you must be a host.\n- `manage_event_series`: Manage a recurring series — action 'extend' (add additional_count more occurrences), 'end' (cancel upcoming; mode 'pause' to suspend, optional from_date), or 'resume' (restart a paused series). Requires series_id + action; you must be a host of the series.\n- `duplicate_event`: Duplicate an event's setup into a new draft — copies name (+ '(Copy)'), description, category, image, location, visibility, ticket tiers/pricing, and extras (promo codes, discount profiles, forms, immersive page). Does NOT copy guests/RSVPs/sales. Optional new_start_date/new_end_date. Requires source_event_id; you must be a host.\n- `set_event_image`: Set or replace a live event's cover image. Provide ONE of: image_base64 (the raw image bytes — use this to set an image attached or generated in the chat, passing its FULL bytes) OR image_url (a public https link, fetched + re-hosted durably). png/jpeg/webp/gif, ≤10 MB, complete image only (truncated payloads rejected). If your runtime can't move the full bytes into the call, host the image at a public URL and use image_url. Requires event_id; you must be a host.\n- `generate_event_cover`: Generate a brand-new cover image (a finished event flyer) for an event from a TEXT prompt — describe the vibe, palette, imagery, and energy. We render it server-side (no image upload from you needed — works even when you can't pass a file) and set it as the event's cover; the event's name becomes the flyer's hero title by default. Counts against the monthly AI-image limit. Requires event_id; you must be a host.\n- `refine_event_cover`: Refine the event's CURRENT cover with a short instruction ('make it warmer', 'swap the background', 'bigger title') — we re-render from the existing cover, keep the composition, and set the new one. The event must already have a cover (generate_event_cover first). Counts against the monthly AI-image limit. Requires event_id; you must be a host.\n- `set_event_url`: Set a custom vanity URL for a live event you manage (e.g. socialloop.ai/go/sundown-sessions). 3–30 lowercase letters, numbers, and hyphens; must be unique. Requires event_id; you must be a host.\n- `set_event_address`: Set or change a live event's address/location. Provide `address` (the text shown on the event page); optionally `venue_name` and `latitude`+`longitude` to also move the map pin. Use this to fix or update where an event is held. Requires event_id; you must be a host.\n- `add_event_host`: Invite a co-host to a live event by email. role 'producer' = full permissions; role 'co_host' = display + invite-from-own-list. They get an email and join on accept. Requires event_id; you must be a host.\n- `set_host_visibility`: Show or hide a host on a live event's public page without changing their permissions (visible=false hides, true shows). host_id defaults to you. Requires event_id; you must be a host.\n- `cancel_event`: Cancel a live event you manage — marks it cancelled, removes it from public discovery, cleans up invites/affiliates/broadcasts. Irreversible and outward-facing. Requires event_id; you must be a host.\n- `add_ticket_tier`: Add a ticket tier to a live event you manage — free RSVP (price 0) or paid, with capacity, optional approval, or a secret unlock code. Paid tiers need Stripe connected. Requires event_id; you must be a host.\n- `update_ticket_tier`: Edit a ticket tier on a live event you manage — name, price, capacity (not below sold), description, approval, or secret. Paid prices need Stripe. Requires event_id + tier_id; you must be a host.\n- `archive_ticket_tier`: Archive a ticket tier (take it off sale) on a live event you manage. Reversible. Requires event_id + tier_id; you must be a host.\n- `unarchive_ticket_tier`: Restore an archived ticket tier to active (back on sale). Requires event_id + tier_id; you must be a host.\n- `reorder_ticket_tiers`: Reorder the active ticket tiers' display order. Pass ALL active tier ids in the desired order. Requires event_id; you must be a host.\n- `delete_ticket_tier`: Permanently delete a ticket tier — only if no tickets were sold (otherwise archive it). Irreversible. Requires event_id + tier_id; you must be a host.\n- `list_ticket_tiers`: List the ticket tiers on a live event you manage — name, price, capacity, sold, available — with totals. Requires event_id; you must be a host. Read-only.\n- `list_guests`: List the guests on a live event you manage — name, email, phone, category, plus-ones, check-in status — with totals and checked-in count. Optional category filter. Requires event_id; you must be a host. Read-only.\n- `export_guest_list_csv`: Export a live event's guest list as a downloadable CSV (name, email, phone, category, ticket class, plus-ones, checked-in, note) and return a download link. Optional category filter. Requires event_id; you must be a host. Read-only.\n- `add_guest`: Add a guest to a live event's guest list — name, optional email, phone, category (e.g. vip/press), plus-ones, note, tags, and an optional ticket tier. Counts against the weekly invite limit. Requires event_id; you must be a host.\n- `edit_guest`: Edit a guest-list entry on a live event you manage — name, email, phone, category, plus-ones, note, tags. Only guest-list entries, never purchased tickets. Requires event_id + guest_id; you must be a host.\n- `remove_guest`: Remove a guest-list entry from a live event you manage — deletes the entry and cleans up its counters. Only guest-list entries, never purchased tickets. Requires event_id + guest_id; you must be a host.\n- `check_in_guest`: Check a guest in (or back out) at a live event you manage — toggles their ticket between active and checked-in. Pass checked_in false to undo. Requires event_id + guest_id; you must be a host.\n- `check_in_plus_one`: Check in one of a guest's allowed plus-ones at a live event you manage (fails if they're at their plus-one limit). Requires event_id + parent_guest_id + plus_one_name; you must be a host.\n- `promote_guest_to_staff`: Promote a guest (who has a SocialLoop account) to staff on a live event — role doorPerson, guestList, manager, promoter, host, or custom. Grants real permissions. Requires event_id + guest_id + user_id + role; you must be a host.\n- `demote_staff_to_guest`: Remove a staff member's role on a live event and demote them back to a guest (they keep their spot). Requires event_id + user_id; you must be a host.\n- `import_guest_list`: Bulk-add up to 200 guests to a live event's guest list in one call (parse the CSV / contact list into rows; each needs at least a first name). Counts the whole batch against the weekly invite limit. Requires event_id; you must be a host.\n- `get_guest_details`: Get the full record for one guest on a live event — identity, tier, plus-ones, check-in status + time, staff role, tags, note, activity log, and plus-ones. Requires event_id + guest_id; you must be a host. Read-only.\n- `update_staff_role`: Change an existing staff member's role and/or permissions on a live event (doorPerson, guestList, manager, promoter, host, or custom). Requires event_id + user_id and a role and/or permissions; you must be a host.\n- `list_event_staff`: List the staff on a live event you manage — each member's role, permissions, name/email, and whether they were promoted from a guest. Requires event_id; you must be a host. Read-only.\n- `list_guest_requests`: List the pending WAITLIST / approval requests on a live event you manage — how many are waiting, who asked, which tier, and when (oldest first). This is the event waitlist. Pair with approve_guest_request / deny_guest_request. Requires event_id; you must be a host. Read-only.\n- `approve_guest_request`: Approve someone on the event WAITLIST / approval queue — issues them a capacity-limited comp ticket and notifies them. Get request_id + user_id + ticket_class_id from list_guest_requests. Requires event_id + those ids; you must be a host.\n- `deny_guest_request`: Deny someone on the event WAITLIST / approval queue — releases their held slot back to the tier, frees them to re-register, and emails them. Get request_id from list_guest_requests. Requires event_id + request_id; you must be a host.\n- `send_invitations`: Send invitations to a live event — app, email, or both — to people (recipient_uids), saved lists (distribution_list_ids), and/or manual contacts (external_contacts). Optionally attach a promo code, add a custom message, send as a linked community, or schedule. Counts against the weekly invite limit; sends real emails/push. Requires event_id; host only.\n- `make_announcement`: Send an announcement to ALL guests of a live event you manage — one message delivered by email (to guests with an address on file, minus unsubscribes) AND as an in-app push notification. Provide subject + message. Use when the host wants to tell their guests something (a time/venue change, a reminder, a thank-you). Outward-facing and can't be unsent — confirm the wording with the host first. Requires event_id; host only.\n- `get_invitation_status`: Check the status of an invitation send — state, recipient count, invites/emails sent, failures, % complete. Requires event_id + job_id; you must be a host. Read-only.\n- `cancel_invitation_job`: Cancel a running or scheduled invitation send (stops future batches; already-scheduled emails still deliver). Requires event_id + job_id; you must be a host.\n- `list_distribution_lists`: List your saved distribution lists (name + contact count) so you can pick one to invite from with send_invitations. Requires a connected account. Read-only.\n- `import_contacts_to_list`: Import contacts into one of your distribution lists (your network) — give a list_name (created if new) plus a contacts array ({name,email,phone}) and/or raw csv text (header row auto-mapped). Normalizes + dedupes, skips unreachable/duplicate, respects your plan cap. Requires a connected account.\n- `create_custom_link`: Create a trackable share link (socialloop.ai/go/…) for a live event — tag it with a source (instagram, newsletter) and optional campaign; clicks are counted. Opens the public or immersive page. Requires event_id; host only.\n- `get_share_links`: Get the shareable links for a live event — public URL, immersive-page URL, vanity short link, and every trackable custom link with its source and click count. Requires event_id; you must be a host. Read-only.\n- `create_promo_code`: Create a discount/promo code (percent or fixed) on a live event or an unclaimed draft. Provide either event_id, or draft_id + edit_token.\n- `update_promo_code`: Edit a promo code on a live event — code, discount, max uses, start/expiry, applicable classes, or enable/disable. Requires event_id + promo_code_id; you must be a host.\n- `bulk_create_promo_codes`: Create up to 500 promo codes on a live event in one call (duplicates and invalid rows skipped with reasons). Counts against the event's promo-code plan cap. Requires event_id; you must be a host.\n- `list_promo_codes`: List the promo codes on a live event — code, discount, usage vs cap, schedule, classes, and whether each is an affiliate/profile code. Requires event_id; you must be a host. Read-only.\n- `add_affiliate`: Invite an affiliate/promoter to a live event by email with their discount and optional commission. Sends an invite email; they get a tracked code on accept. Counts against the affiliate plan cap. Requires event_id + email; you must be a host.\n- `create_affiliate_profile`: Create a reusable 'open' affiliate profile — a shareable link promoters self-join (no named email; use add_affiliate for a specific person). Set per-tier discount, optional code prefix, affiliate cap, commission, and start/expiry. Counts against the affiliate-profile plan cap. Requires event_id + at least one tier; you must be a host.\n- `bulk_invite_affiliates`: Invite up to 200 affiliates to a live event at once by email with a shared discount/commission. Sends each an invite email. Counts against the affiliate plan cap. Requires event_id + emails; you must be a host.\n- `update_affiliate_commission`: Change an affiliate's commission rates on a live event (map of promo_code_id → commission). Affects future sales only. Requires event_id + affiliate_id; you must be a host.\n- `revoke_affiliate_access`: Remove an affiliate from a live event — disables their promo codes (keeps redemption history) and revokes access. Requires event_id + affiliate_id; you must be a host.\n- `list_affiliates`: List the affiliates on a live event — name, email, their promo codes (discount + commission), and sales stats (tickets sold, revenue, commission). Requires event_id; you must be a host. Read-only.\n- `add_affiliate_code`: Extend an affiliate to another ticket tier — adds the tier to their promo code with its own discount and optional commission. Requires event_id + affiliate_id + ticket_class_id + discount; you must be a host.\n- `remove_affiliate_code`: Remove a ticket tier from an affiliate (disables their code if it was the last tier). Requires event_id + affiliate_id + ticket_class_id; you must be a host.\n- `update_open_link_config`: Reconfigure an affiliate open link (anyone-can-claim) — set each tier's discount + commission, the profile name, and the affiliate cap. Re-stamps EVERY existing affiliate on the link (large blast radius). Requires event_id + invite_id + tiers; you must be a host.\n- `create_promo_profile`: Create a discount (coupon) profile on a live event — a reusable per-tier discount config (tiers: ticket_class_id → percent/fixed) that promo codes attach to, with optional max uses + schedule. Counts against your plan's discount-profile cap. Requires event_id + tiers; you must be a host.\n- `list_promo_profiles`: List the discount (coupon) profiles on a live event — name, per-tier config, schedule, code count, enabled state. Requires event_id; you must be a host. Read-only.\n- `add_codes_to_profile`: Attach or auto-generate promo codes under a discount profile — each code inherits the profile's discount and becomes immediately redeemable. Give explicit codes and/or auto_generate a count (optional code_prefix); max 500/call, duplicates skipped with a suggestion. Requires event_id + profile_id; you must be a host.\n- `adopt_codes_to_profile`: Reassign existing standalone promo codes into a discount profile — each adopted code takes the profile's discount but keeps its prior usage count. Codes already in a profile or linked to an affiliate are skipped. Max 100/call. Requires event_id + profile_id + code_ids; you must be a host.\n- `remove_codes_from_profile`: Remove promo codes from a discount profile — 'detach' (default) keeps each code standalone; 'delete' removes unused codes but disables any with redemptions. Requires event_id + profile_id + code_ids; you must be a host.\n- `update_promo_profile`: Edit a discount profile — change tiers, name, max uses, schedule, or enabled state. When a discount-config field changes, every linked promo code is re-stamped to match. Requires event_id + profile_id + at least one field; you must be a host.\n- `delete_promo_profile`: Delete a discount profile and resolve its codes — 'detach' (default) keeps each code standalone; 'delete_codes' deletes unused codes but disables any with redemptions. Requires event_id + profile_id; you must be a host.\n- `invite_team_member`: Invite a staff/team member to a live event by email with a role — host (Producer), manager, guest_list, door_person, or promoter (Co-Host). Sends an invite email; they join on accept. Requires a Pro plan. Manage existing staff with list_event_staff / update_staff_role / demote_staff_to_guest. Requires event_id + email + role; you must be a host.\n- `list_team_invites`: List the pending team/staff invites on a live event — email, role, and when invited. Accepted staff appear in list_event_staff. Requires event_id; you must be a host. Read-only.\n- `cancel_team_invite`: Cancel a pending team/staff invite (before it's accepted). To remove an accepted member, use demote_staff_to_guest. Requires event_id + invite_id; you must be a host.\n- `add_vendor`: Add a vendor (supplier) to a live event's production graph — name, service, pipeline status, contact info, itemized list, notes, tags, linked projects. Requires event_id + name; you must be a host.\n- `add_talent`: Add talent (performer, artist, DJ, speaker) to a live event's roster — name, bio, booking status, categories, act title, duration, contact, rider. Requires event_id + name; you must be a host.\n- `add_task`: Add a production task to a live event — title, priority, and phase (pre_production/build/event/strike/post). Requires event_id + title; you must be a host.\n- `add_project`: Create a production project on a live event — the container for tasks, roles, vendors, and budget. Name, description, category, priority, status, deliverable, dates. Requires event_id + name; you must be a host.\n- `record_expense`: Record an expense (receipt) against a live event's budget — item, cost ($), amount paid, status, type, optional linked vendor/project. Editable via update_production_item (entity 'receipts'). Requires event_id + item + cost; you must be a host.\n- `record_transaction`: Record a bank-side ledger row — actual money moving (income/expense/transfer): name, amount ($), optional fee, category, phase, date, banking references, and links to a receipt/project/vendor/place/team. Requires event_id + name + impact + amount; you must be a host.\n- `add_schedule_item`: Add a run-of-show cue / schedule item to a live event — a time-blocked moment (lighting/sound/performance/transition/safety/…) with start (and optional end), lane, cue number, project, talent. Requires event_id + title + start_at; you must be a host.\n- `add_role`: Add a production role to a live event — an accountable role (Stage Manager, Catering Lead) that tasks/vendors/receipts reference. Name, description, category, notes. Requires event_id + name; you must be a host.\n- `add_inventory_item`: Add a physical asset / gear item to a live event's inventory — name, category, status (wish_list … in_use), priority, quantity + quantity needed, unit cost ($), location, project/place links. Requires event_id + name; you must be a host.\n- `add_programming_item`: Add a programming item (curated experience — workshop, performance, DJ set, ritual) to a live event — title, status (ideation … ready), types, duration, start time, linked talent/places, rider, production needs. Requires event_id + title; you must be a host.\n- `add_meal`: Add a meal to a live event's culinary plan — kind (breakfast/lunch/dinner/snack/special), serve time (required), title, status (planning … served), expected diners, stations, shopping list, estimated cost ($). Requires event_id + kind + serve_at; you must be a host.\n- `add_place`: Add a place / location to a live event — a build site, zone, or venue area (name, structure, sector, lifecycle + build status, parent place, budgets, start date). Requires event_id + name; you must be a host.\n- `set_place_build_status`: Set a place's build status (not_started → surveyed → staged → built → systemized → designed → complete, or null to clear) — the build axis, separate from lifecycle status. Requires event_id + place_id + build_status; you must be a host.\n- `add_sponsor`: Add a sponsor to your sponsor book — company, tier (platinum/gold/silver/bronze), total committed ($), deliverables, optional contact. Spans all your events. Requires a connected account.\n- `list_sponsors`: List your sponsors — company, tier, total committed ($), deliverables, contact, plus the grand total (highest first). Optional tier filter. Requires a connected account. Read-only.\n- `create_production_item`: Create a production item in ANY area of a live event — entity is one of: milestones, timeline, schedule_items, tasks, projects, vendors, talent, roles, inventory, programming, meals, places, modes (event roster), transactions, invoices, teams, receipts. Pass name + optional status + notes + a `fields` object of entity details (e.g. milestones {target_date, category, phase}). USE THIS for milestones — a milestone is NOT a task. Requires event_id + entity + name; you must be a host.\n- `update_production_item`: Update a production item in ANY area of a live event (entity: milestones, timeline, schedule_items, tasks, projects, vendors, talent, roles, inventory, programming, meals, places, modes, transactions, invoices, teams, receipts) — change status, rename, edit notes, archive/restore (active), or set details via a `fields` object. Requires event_id + entity + item_id; you must be a host.\n- `delete_production_item`: Permanently delete a production item (any entity: milestones, timeline, schedule_items, tasks, projects, vendors, talent, roles, inventory, programming, meals, places, modes, transactions, invoices, teams, receipts). To merely hide it, use update_production_item active:false instead. Requires event_id + entity + item_id; you must be a host.\n- `list_production_items`: List production items on a live event — entity is any of milestones, timeline, schedule_items, tasks, projects, vendors, talent, roles, inventory, programming, meals, places, modes, transactions, invoices, teams, receipts — with name, status, and key details. Optional status filter. Requires event_id; host. Read-only.\n- `link_production_items`: Interconnect production items on a live event — link an item to others across the graph (task→project, project→teams/places/milestones, vendor→projects, programming→talent/places, inventory→team/place/project, receipt/transaction→team/vendor/project, place→parent, cue→place/programming/talent, milestone→projects/tasks, meal→shift, task→place, team→depends_on, buildUnit→unit_lead/unit_team/environments/build_tasks, scholarship→applicant, invitation→nominated_by/applicant, person↔person via modes→roommates/buddy/mentor/significant_other/sharing_vehicle_with/paying_for/ticket_sending_to/ticket_receiving_from). op add/remove/set. Denormalized names + team counters stay in sync automatically. Requires event_id + entity + item_id + relation + target_ids; host.\n- `assign_role`: Assign a role (by role_id) to a production item — entity tasks/receipts/vendors/inventory/schedule_items (single) or projects (multiple). Stored as a name snapshot. op set/add/remove. Requires event_id + entity + item_id + role_id; host.\n- `assign_member`: Assign a person to a production item — teams→members/leads, milestones→owner/watchers, schedule_items→lead/assigned, cues→caller/owner, tasks→designated, places→build_lead, vendors→admin/leads, projects→leads, inventory→assigned_to/occupants. Identify by member.mode_id (a roster entry) or member.name. op set/add/remove; team.memberCount stays in sync. Requires event_id + entity + item_id + relation + member; host.\n- `update_meal_menu`: Set a meal's menu — array of {name, servings?, description?, dietary_tags?, tags? (allergens)}. Replaces the whole list. Requires event_id + item_id (the meal); host.\n- `update_invoice_line_items`: Set an invoice's line items — array of {description, amount} (dollars). Recomputes the invoice total. Replaces the whole list. Requires event_id + item_id; host.\n- `update_inventory_details`: Set an inventory item's typed details — kind vehicle/housing/bike/structure/power + that variant's fields (vehicle: plate/makeModel/vin/fuelType; housing: sleepCapacity/powerNeeds; power: rating/phase/voltage). Requires event_id + item_id + kind + details; host.\n- `create_form`: Create a registration/intake form on a live event — name + questions (text/textarea/select/multiSelect/email/phone/url/number, with options/required/placeholder). Starts as draft; activate with set_form_active. Requires event_id + name; you must be a host.\n- `update_form`: Edit a form on a live event — rename and/or replace its questions. Pass questions with their ids (from list_forms) to keep responses mapped. Requires event_id + form_id; you must be a host.\n- `set_form_active`: Activate or deactivate a form on a live event (activating makes it the event's live form, deactivating any other). Requires event_id + form_id + active; you must be a host.\n- `list_forms`: List the forms on a live event — name, status, response count, and every question (with ids). Requires event_id; you must be a host. Read-only.\n- `list_form_responses`: Read the responses submitted to a form — each submission's answers and when it arrived, newest first. Requires event_id + form_id; you must be a host. Read-only.\n- `export_form_responses_csv`: Export a form's submitted responses as a downloadable CSV — one row per submission, one column per question, plus Submitted At — and return a download link. Requires event_id + form_id; you must be a host. Read-only.\n- `get_event_revenue`: Get a live event's revenue — net actually paid (cents), tickets sold, per-tier breakdown, an unattributed bucket, and each affiliate's reported revenue/commission (the same 'Earned' figure the Revenue & Payouts page shows). Requires event_id; you must be a host. Read-only.\n- `list_ticket_sales`: List the paid ticket sales on a live event — buyer name/email, tier, amount paid (cents), discount, promo code, date (newest first). Skips free/guest-list and cancelled tickets. Requires event_id; you must be a host. Read-only.\n- `create_community`: Create a community you own — name, description, category, privacy (open/private), tags, icon/cover. Counts against your community plan cap. Requires a connected account.\n- `update_community`: Edit a community you own — name, description, category, privacy, tags, icon, cover. Requires community_id; you must be its creator.\n- `list_my_communities`: List the communities you belong to — name, icon, your role, status. owned_only true for just the ones you created. Requires a connected account. Read-only.\n- `list_community_members`: List the active members of a community you run — name, role (creator/admin/member), join date. Optional role filter. Requires community_id; you must be its creator or admin. Read-only.\n- `list_join_requests`: List the pending requests to join a community you run — who asked and when. Approve/reject with approve_join_request / reject_join_request. Requires community_id; you must be its creator or admin. Read-only.\n- `approve_join_request`: Approve a pending request to join a community you run (adds them as a member). Requires community_id + user_id; you must be its creator or admin.\n- `reject_join_request`: Reject a pending request to join a community you run. Requires community_id + user_id; you must be its creator or admin.\n- `remove_community_member`: Remove a member from a community you run (tears down their membership). The creator cannot be removed. Requires community_id + user_id; you must be its creator or admin.\n- `reject_community_event`: Reject an event's request to be listed in a community you run (optional reason). Restores the host's own payout if your community was the payout destination (unless tickets already sold). Requires community_id + event_id; you must be its creator or admin.\n- `list_pending_community_events`: List events awaiting approval in a community you run — who submitted, when, and whether they asked for your community payout. Returns a studio link to review + approve (approval routes money, so it's done in the studio, not chat); use reject_community_event to decline. Requires community_id. Read-only.\n- `list_my_network`: List the people in your network — everyone who has attended your events, with how many events each attended and when last seen (most frequent first). Optional name/username search. Requires a connected account. Read-only.\n- `list_shared_events`: List events shared with you — where you're added as staff (producer/manager/guest-list/door) or as an affiliate/promoter — with each event's name and your role. Requires a connected account. Read-only.\n- `get_account_status`: Get your account status — plan + subscription, Stripe connected + payouts/charges enabled (can you get paid out), weekly-invite add-on, and your plan caps (staff, promo codes, affiliates, tiers, communities, form questions, weekly invites). Requires a connected account. Read-only.\n- `connect_stripe`: Get a Stripe Connect onboarding link the host opens to connect their account and enable payouts for ticket sales. Creates their Stripe account and returns the onboarding URL. Check get_account_status first. Requires a connected account.\n- `list_custom_domains`: List your custom email-sending domains — domain, verification status, verified-at, DNS record count. Shows whether you can send from your own domain. Requires a connected account. Read-only.","contact":{"name":"SocialLoop","url":"https://socialloop.ai","email":"support@socialloop.ai"},"termsOfService":"https://socialloop.ai/terms"},"servers":[{"url":"https://socialloop.ai","description":"Production"}],"paths":{"/agent":{"get":{"operationId":"listTools","summary":"Discover the callable tools and their JSON Schemas.","description":"Returns the live tool catalog. Each entry includes the tool name, a description of what it does and when to use it, and the JSON Schema for its input.","responses":{"200":{"description":"The callable tool catalog.","content":{"application/json":{"schema":{"type":"object","properties":{"tools":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"inputSchema":{"type":"object"},"requiresHumanConfirm":{"type":"boolean"}}}}}}}}}}},"post":{"operationId":"invokeTool","summary":"Invoke a tool. create_event_draft returns a claim link the user opens to publish — no account required.","description":"Calls one tool by name. The `input` shape depends on `tool` — see the per-tool schemas under components.schemas (or call GET /agent). On success, `create_event_draft` returns `{ draftId, previewUrl, claimUrl, editToken }`; give the user the claimUrl to publish.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["tool","input"],"properties":{"tool":{"type":"string","enum":["list_events","create_event_draft","update_event_draft","update_event","create_event_series","manage_event_series","duplicate_event","set_event_image","generate_event_cover","refine_event_cover","set_event_url","set_event_address","add_event_host","set_host_visibility","cancel_event","add_ticket_tier","update_ticket_tier","archive_ticket_tier","unarchive_ticket_tier","reorder_ticket_tiers","delete_ticket_tier","list_ticket_tiers","list_guests","export_guest_list_csv","add_guest","edit_guest","remove_guest","check_in_guest","check_in_plus_one","promote_guest_to_staff","demote_staff_to_guest","import_guest_list","get_guest_details","update_staff_role","list_event_staff","list_guest_requests","approve_guest_request","deny_guest_request","send_invitations","make_announcement","get_invitation_status","cancel_invitation_job","list_distribution_lists","import_contacts_to_list","create_custom_link","get_share_links","create_promo_code","update_promo_code","bulk_create_promo_codes","list_promo_codes","add_affiliate","create_affiliate_profile","bulk_invite_affiliates","update_affiliate_commission","revoke_affiliate_access","list_affiliates","add_affiliate_code","remove_affiliate_code","update_open_link_config","create_promo_profile","list_promo_profiles","add_codes_to_profile","adopt_codes_to_profile","remove_codes_from_profile","update_promo_profile","delete_promo_profile","invite_team_member","list_team_invites","cancel_team_invite","add_vendor","add_talent","add_task","add_project","record_expense","record_transaction","add_schedule_item","add_role","add_inventory_item","add_programming_item","add_meal","add_place","set_place_build_status","add_sponsor","list_sponsors","create_production_item","update_production_item","delete_production_item","list_production_items","link_production_items","assign_role","assign_member","update_meal_menu","update_invoice_line_items","update_inventory_details","create_form","update_form","set_form_active","list_forms","list_form_responses","export_form_responses_csv","get_event_revenue","list_ticket_sales","create_community","update_community","list_my_communities","list_community_members","list_join_requests","approve_join_request","reject_join_request","remove_community_member","reject_community_event","list_pending_community_events","list_my_network","list_shared_events","get_account_status","connect_stripe","list_custom_domains"],"description":"The tool to invoke."},"input":{"description":"Tool input — its shape depends on `tool`. See components.schemas/{tool}_input.","oneOf":[{"$ref":"#/components/schemas/list_events_input"},{"$ref":"#/components/schemas/create_event_draft_input"},{"$ref":"#/components/schemas/update_event_draft_input"},{"$ref":"#/components/schemas/update_event_input"},{"$ref":"#/components/schemas/create_event_series_input"},{"$ref":"#/components/schemas/manage_event_series_input"},{"$ref":"#/components/schemas/duplicate_event_input"},{"$ref":"#/components/schemas/set_event_image_input"},{"$ref":"#/components/schemas/generate_event_cover_input"},{"$ref":"#/components/schemas/refine_event_cover_input"},{"$ref":"#/components/schemas/set_event_url_input"},{"$ref":"#/components/schemas/set_event_address_input"},{"$ref":"#/components/schemas/add_event_host_input"},{"$ref":"#/components/schemas/set_host_visibility_input"},{"$ref":"#/components/schemas/cancel_event_input"},{"$ref":"#/components/schemas/add_ticket_tier_input"},{"$ref":"#/components/schemas/update_ticket_tier_input"},{"$ref":"#/components/schemas/archive_ticket_tier_input"},{"$ref":"#/components/schemas/unarchive_ticket_tier_input"},{"$ref":"#/components/schemas/reorder_ticket_tiers_input"},{"$ref":"#/components/schemas/delete_ticket_tier_input"},{"$ref":"#/components/schemas/list_ticket_tiers_input"},{"$ref":"#/components/schemas/list_guests_input"},{"$ref":"#/components/schemas/export_guest_list_csv_input"},{"$ref":"#/components/schemas/add_guest_input"},{"$ref":"#/components/schemas/edit_guest_input"},{"$ref":"#/components/schemas/remove_guest_input"},{"$ref":"#/components/schemas/check_in_guest_input"},{"$ref":"#/components/schemas/check_in_plus_one_input"},{"$ref":"#/components/schemas/promote_guest_to_staff_input"},{"$ref":"#/components/schemas/demote_staff_to_guest_input"},{"$ref":"#/components/schemas/import_guest_list_input"},{"$ref":"#/components/schemas/get_guest_details_input"},{"$ref":"#/components/schemas/update_staff_role_input"},{"$ref":"#/components/schemas/list_event_staff_input"},{"$ref":"#/components/schemas/list_guest_requests_input"},{"$ref":"#/components/schemas/approve_guest_request_input"},{"$ref":"#/components/schemas/deny_guest_request_input"},{"$ref":"#/components/schemas/send_invitations_input"},{"$ref":"#/components/schemas/make_announcement_input"},{"$ref":"#/components/schemas/get_invitation_status_input"},{"$ref":"#/components/schemas/cancel_invitation_job_input"},{"$ref":"#/components/schemas/list_distribution_lists_input"},{"$ref":"#/components/schemas/import_contacts_to_list_input"},{"$ref":"#/components/schemas/create_custom_link_input"},{"$ref":"#/components/schemas/get_share_links_input"},{"$ref":"#/components/schemas/create_promo_code_input"},{"$ref":"#/components/schemas/update_promo_code_input"},{"$ref":"#/components/schemas/bulk_create_promo_codes_input"},{"$ref":"#/components/schemas/list_promo_codes_input"},{"$ref":"#/components/schemas/add_affiliate_input"},{"$ref":"#/components/schemas/create_affiliate_profile_input"},{"$ref":"#/components/schemas/bulk_invite_affiliates_input"},{"$ref":"#/components/schemas/update_affiliate_commission_input"},{"$ref":"#/components/schemas/revoke_affiliate_access_input"},{"$ref":"#/components/schemas/list_affiliates_input"},{"$ref":"#/components/schemas/add_affiliate_code_input"},{"$ref":"#/components/schemas/remove_affiliate_code_input"},{"$ref":"#/components/schemas/update_open_link_config_input"},{"$ref":"#/components/schemas/create_promo_profile_input"},{"$ref":"#/components/schemas/list_promo_profiles_input"},{"$ref":"#/components/schemas/add_codes_to_profile_input"},{"$ref":"#/components/schemas/adopt_codes_to_profile_input"},{"$ref":"#/components/schemas/remove_codes_from_profile_input"},{"$ref":"#/components/schemas/update_promo_profile_input"},{"$ref":"#/components/schemas/delete_promo_profile_input"},{"$ref":"#/components/schemas/invite_team_member_input"},{"$ref":"#/components/schemas/list_team_invites_input"},{"$ref":"#/components/schemas/cancel_team_invite_input"},{"$ref":"#/components/schemas/add_vendor_input"},{"$ref":"#/components/schemas/add_talent_input"},{"$ref":"#/components/schemas/add_task_input"},{"$ref":"#/components/schemas/add_project_input"},{"$ref":"#/components/schemas/record_expense_input"},{"$ref":"#/components/schemas/record_transaction_input"},{"$ref":"#/components/schemas/add_schedule_item_input"},{"$ref":"#/components/schemas/add_role_input"},{"$ref":"#/components/schemas/add_inventory_item_input"},{"$ref":"#/components/schemas/add_programming_item_input"},{"$ref":"#/components/schemas/add_meal_input"},{"$ref":"#/components/schemas/add_place_input"},{"$ref":"#/components/schemas/set_place_build_status_input"},{"$ref":"#/components/schemas/add_sponsor_input"},{"$ref":"#/components/schemas/list_sponsors_input"},{"$ref":"#/components/schemas/create_production_item_input"},{"$ref":"#/components/schemas/update_production_item_input"},{"$ref":"#/components/schemas/delete_production_item_input"},{"$ref":"#/components/schemas/list_production_items_input"},{"$ref":"#/components/schemas/link_production_items_input"},{"$ref":"#/components/schemas/assign_role_input"},{"$ref":"#/components/schemas/assign_member_input"},{"$ref":"#/components/schemas/update_meal_menu_input"},{"$ref":"#/components/schemas/update_invoice_line_items_input"},{"$ref":"#/components/schemas/update_inventory_details_input"},{"$ref":"#/components/schemas/create_form_input"},{"$ref":"#/components/schemas/update_form_input"},{"$ref":"#/components/schemas/set_form_active_input"},{"$ref":"#/components/schemas/list_forms_input"},{"$ref":"#/components/schemas/list_form_responses_input"},{"$ref":"#/components/schemas/export_form_responses_csv_input"},{"$ref":"#/components/schemas/get_event_revenue_input"},{"$ref":"#/components/schemas/list_ticket_sales_input"},{"$ref":"#/components/schemas/create_community_input"},{"$ref":"#/components/schemas/update_community_input"},{"$ref":"#/components/schemas/list_my_communities_input"},{"$ref":"#/components/schemas/list_community_members_input"},{"$ref":"#/components/schemas/list_join_requests_input"},{"$ref":"#/components/schemas/approve_join_request_input"},{"$ref":"#/components/schemas/reject_join_request_input"},{"$ref":"#/components/schemas/remove_community_member_input"},{"$ref":"#/components/schemas/reject_community_event_input"},{"$ref":"#/components/schemas/list_pending_community_events_input"},{"$ref":"#/components/schemas/list_my_network_input"},{"$ref":"#/components/schemas/list_shared_events_input"},{"$ref":"#/components/schemas/get_account_status_input"},{"$ref":"#/components/schemas/connect_stripe_input"},{"$ref":"#/components/schemas/list_custom_domains_input"}]}}}}}},"responses":{"200":{"description":"Tool executed.","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"result":{"type":"object"}}}}}},"400":{"description":"Schema validation or request error."},"404":{"description":"Unknown or non-public tool."},"429":{"description":"Rate limited — slow down and retry."}}}}},"components":{"schemas":{"list_events_input":{"type":"object","properties":{"status":{"type":"string","maxLength":40},"upcoming_only":{"type":"boolean"},"limit":{"type":"integer","exclusiveMinimum":0,"maximum":200}},"additionalProperties":false},"create_event_draft_input":{"type":"object","properties":{"idempotency_key":{"default":"a02043d5-5b17-4aff-9f5b-4ca3e6961f04","type":"string","minLength":1,"maxLength":200},"event_name":{"type":"string","minLength":1,"maxLength":200},"event_description":{"type":"string","maxLength":5000},"description_html":{"type":"string","maxLength":20000},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z||([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"ends_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z||([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"timezone":{"type":"string","minLength":1,"maxLength":64},"location_address":{"type":"string","maxLength":500},"venue_name":{"type":"string","maxLength":200},"category":{"type":"string","maxLength":80},"visibility":{"default":"public","type":"string","enum":["public","friends","private"]},"capacity":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":1000000},{"type":"null"}]},"requires_approval":{"type":"boolean"},"ticket_mode":{"default":"rsvp","type":"string","enum":["rsvp","paid","tiered","pwyw"]},"ticket_price":{"type":"number","minimum":0,"maximum":1000000},"tiers":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"price":{"type":"number","minimum":0,"maximum":1000000},"capacity":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":1000000},{"type":"null"}]}},"required":["name","price"],"additionalProperties":false}},"cover_image_url":{"type":"string","maxLength":2000,"format":"uri"},"contact_email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"source":{"type":"string","maxLength":120}},"required":["idempotency_key","event_name","starts_at","visibility","ticket_mode"],"additionalProperties":false},"update_event_draft_input":{"type":"object","properties":{"draft_id":{"type":"string","minLength":1,"maxLength":64},"edit_token":{"type":"string","minLength":1,"maxLength":256},"event_name":{"type":"string","minLength":1,"maxLength":200},"event_description":{"type":"string","maxLength":5000},"description_html":{"type":"string","maxLength":20000},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"ends_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"timezone":{"type":"string","minLength":1,"maxLength":64},"location_address":{"type":"string","maxLength":500},"venue_name":{"type":"string","maxLength":200},"category":{"type":"string","maxLength":80},"visibility":{"type":"string","enum":["public","friends","private"]},"capacity":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":1000000},{"type":"null"}]},"requires_approval":{"type":"boolean"},"ticket_mode":{"type":"string","enum":["rsvp","paid","tiered","pwyw"]},"ticket_price":{"type":"number","minimum":0,"maximum":1000000},"tiers":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"price":{"type":"number","minimum":0,"maximum":1000000},"capacity":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":1000000},{"type":"null"}]}},"required":["name","price"],"additionalProperties":false}},"cover_image_url":{"type":"string","maxLength":2000,"format":"uri"},"contact_email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"required":["draft_id","edit_token"],"additionalProperties":false},"update_event_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"event_name":{"type":"string","minLength":1,"maxLength":200},"event_description":{"type":"string","maxLength":10000},"description_html":{"type":"string","maxLength":20000},"category":{"type":"string","maxLength":80},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z||([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"ends_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z||([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"timezone":{"type":"string","minLength":1,"maxLength":64},"cover_image_url":{"type":"string","maxLength":2000,"format":"uri"},"visibility":{"type":"string","enum":["public","friends","private"]},"discoverable":{"type":"boolean"},"show_participants":{"type":"boolean"},"capacity":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":1000000},{"type":"null"}]},"requires_approval":{"type":"boolean"},"absorb_fees":{"type":"boolean"}},"required":["event_id"],"additionalProperties":false},"create_event_series_input":{"type":"object","properties":{"source_event_id":{"type":"string","minLength":1,"maxLength":64},"pattern":{"type":"string","enum":["daily","weekly","biweekly","monthly"]},"end_after":{"type":"integer","minimum":2,"maximum":52},"end_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["source_event_id","pattern"],"additionalProperties":false},"manage_event_series_input":{"type":"object","properties":{"series_id":{"type":"string","minLength":1,"maxLength":128},"action":{"type":"string","enum":["extend","end","resume"]},"additional_count":{"type":"integer","minimum":1,"maximum":52},"from_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"mode":{"type":"string","enum":["end","pause"]}},"required":["series_id","action"],"additionalProperties":false},"duplicate_event_input":{"type":"object","properties":{"source_event_id":{"type":"string","minLength":1,"maxLength":64},"new_name":{"type":"string","minLength":1,"maxLength":300},"new_start_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"new_end_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["source_event_id"],"additionalProperties":false},"set_event_image_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"image_url":{"type":"string","maxLength":2048,"format":"uri"},"image_base64":{"type":"string","minLength":1,"maxLength":35000000},"content_type":{"type":"string","enum":["image/png","image/jpeg","image/webp","image/gif"]}},"required":["event_id"],"additionalProperties":false},"generate_event_cover_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"prompt":{"type":"string","minLength":3,"maxLength":2000},"include_title":{"type":"boolean"}},"required":["event_id","prompt"],"additionalProperties":false},"refine_event_cover_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"instruction":{"type":"string","minLength":3,"maxLength":1000}},"required":["event_id","instruction"],"additionalProperties":false},"set_event_url_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"slug":{"type":"string","minLength":3,"maxLength":30}},"required":["event_id","slug"],"additionalProperties":false},"set_event_address_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"address":{"type":"string","minLength":1,"maxLength":500},"venue_name":{"type":"string","minLength":1,"maxLength":200},"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["event_id","address"],"additionalProperties":false},"add_event_host_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"role":{"type":"string","enum":["producer","co_host"]}},"required":["event_id","email","role"],"additionalProperties":false},"set_host_visibility_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"host_id":{"type":"string","minLength":1,"maxLength":128},"visible":{"type":"boolean"}},"required":["event_id","visible"],"additionalProperties":false},"cancel_event_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"reason":{"type":"string","minLength":1,"maxLength":500}},"required":["event_id"],"additionalProperties":false},"add_ticket_tier_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","minLength":1,"maxLength":200},"price":{"type":"number","minimum":0,"maximum":1000000},"capacity":{"type":"integer","exclusiveMinimum":0,"maximum":10000000},"description":{"type":"string","maxLength":1000},"requires_approval":{"type":"boolean"},"secret":{"type":"boolean"}},"required":["event_id","name","price","capacity"],"additionalProperties":false},"update_ticket_tier_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"tier_id":{"type":"string","minLength":1,"maxLength":128},"name":{"type":"string","minLength":1,"maxLength":200},"price":{"type":"number","minimum":0,"maximum":1000000},"capacity":{"type":"integer","exclusiveMinimum":0,"maximum":10000000},"description":{"type":"string","maxLength":1000},"show_remaining":{"type":"boolean"},"requires_approval":{"type":"boolean"},"secret":{"type":"boolean"}},"required":["event_id","tier_id"],"additionalProperties":false},"archive_ticket_tier_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"tier_id":{"type":"string","minLength":1,"maxLength":128}},"required":["event_id","tier_id"],"additionalProperties":false},"unarchive_ticket_tier_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"tier_id":{"type":"string","minLength":1,"maxLength":128}},"required":["event_id","tier_id"],"additionalProperties":false},"reorder_ticket_tiers_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"ordered_tier_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}}},"required":["event_id","ordered_tier_ids"],"additionalProperties":false},"delete_ticket_tier_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"tier_id":{"type":"string","minLength":1,"maxLength":128}},"required":["event_id","tier_id"],"additionalProperties":false},"list_ticket_tiers_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"include_archived":{"type":"boolean"}},"required":["event_id"],"additionalProperties":false},"list_guests_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"category":{"type":"string","maxLength":80}},"required":["event_id"],"additionalProperties":false},"export_guest_list_csv_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"category":{"type":"string","maxLength":60}},"required":["event_id"],"additionalProperties":false},"add_guest_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"first_name":{"type":"string","minLength":1,"maxLength":120},"last_name":{"type":"string","maxLength":120},"email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","maxLength":40},"category":{"type":"string","maxLength":80},"plus_ones_allowed":{"type":"integer","minimum":0,"maximum":100},"note":{"type":"string","maxLength":1000},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":80}},"ticket_class_id":{"type":"string","maxLength":128}},"required":["event_id","first_name"],"additionalProperties":false},"edit_guest_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"guest_id":{"type":"string","minLength":1,"maxLength":128},"first_name":{"type":"string","minLength":1,"maxLength":120},"last_name":{"type":"string","maxLength":120},"email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","maxLength":40},"category":{"type":"string","maxLength":80},"plus_ones_allowed":{"type":"integer","minimum":0,"maximum":100},"note":{"type":"string","maxLength":1000},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":80}}},"required":["event_id","guest_id"],"additionalProperties":false},"remove_guest_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"guest_id":{"type":"string","minLength":1,"maxLength":128}},"required":["event_id","guest_id"],"additionalProperties":false},"check_in_guest_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"guest_id":{"type":"string","minLength":1,"maxLength":128},"checked_in":{"type":"boolean"}},"required":["event_id","guest_id"],"additionalProperties":false},"check_in_plus_one_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"parent_guest_id":{"type":"string","minLength":1,"maxLength":128},"plus_one_name":{"type":"string","minLength":1,"maxLength":160}},"required":["event_id","parent_guest_id","plus_one_name"],"additionalProperties":false},"promote_guest_to_staff_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"guest_id":{"type":"string","minLength":1,"maxLength":128},"user_id":{"type":"string","minLength":1,"maxLength":128},"role":{"type":"string","enum":["doorPerson","guestList","manager","promoter","host","custom"]},"permissions":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"boolean"}}},"required":["event_id","guest_id","user_id","role"],"additionalProperties":false},"demote_staff_to_guest_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"user_id":{"type":"string","minLength":1,"maxLength":128}},"required":["event_id","user_id"],"additionalProperties":false},"import_guest_list_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"guests":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"object","properties":{"first_name":{"type":"string","minLength":1,"maxLength":120},"last_name":{"type":"string","maxLength":120},"email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","maxLength":40},"category":{"type":"string","maxLength":80},"plus_ones_allowed":{"type":"integer","minimum":0,"maximum":100},"note":{"type":"string","maxLength":1000},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":80}},"ticket_class_id":{"type":"string","maxLength":128}},"required":["first_name"],"additionalProperties":false}}},"required":["event_id","guests"],"additionalProperties":false},"get_guest_details_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"guest_id":{"type":"string","minLength":1,"maxLength":128}},"required":["event_id","guest_id"],"additionalProperties":false},"update_staff_role_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"user_id":{"type":"string","minLength":1,"maxLength":128},"role":{"type":"string","enum":["doorPerson","guestList","manager","promoter","host","custom"]},"permissions":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"boolean"}}},"required":["event_id","user_id"],"additionalProperties":false},"list_event_staff_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64}},"required":["event_id"],"additionalProperties":false},"list_guest_requests_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64}},"required":["event_id"],"additionalProperties":false},"approve_guest_request_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"request_id":{"type":"string","minLength":1,"maxLength":128},"user_id":{"type":"string","minLength":1,"maxLength":128},"ticket_class_id":{"type":"string","minLength":1,"maxLength":128}},"required":["event_id","request_id","user_id","ticket_class_id"],"additionalProperties":false},"deny_guest_request_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"request_id":{"type":"string","minLength":1,"maxLength":128},"reason":{"type":"string","maxLength":1000}},"required":["event_id","request_id"],"additionalProperties":false},"send_invitations_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"delivery_method":{"type":"string","enum":["app","email","both"]},"recipient_uids":{"maxItems":5000,"type":"array","items":{"type":"string","maxLength":128}},"distribution_list_ids":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":128}},"external_contacts":{"maxItems":5000,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":160},"email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","maxLength":40}},"required":["name","email"],"additionalProperties":false}},"custom_message":{"type":"string","maxLength":2000},"attach_promo_code":{"type":"string","maxLength":80},"send_as_community_id":{"type":"string","maxLength":128},"scheduled_start_at":{"type":"string","maxLength":40},"dry_run":{"type":"boolean"}},"required":["event_id"],"additionalProperties":false},"make_announcement_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"subject":{"type":"string","minLength":1,"maxLength":120},"message":{"type":"string","minLength":1,"maxLength":5000}},"required":["event_id","subject","message"],"additionalProperties":false},"get_invitation_status_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"job_id":{"type":"string","minLength":1,"maxLength":128}},"required":["event_id","job_id"],"additionalProperties":false},"cancel_invitation_job_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"job_id":{"type":"string","minLength":1,"maxLength":128}},"required":["event_id","job_id"],"additionalProperties":false},"list_distribution_lists_input":{"type":"object","properties":{},"additionalProperties":false},"import_contacts_to_list_input":{"type":"object","properties":{"list_name":{"type":"string","minLength":1,"maxLength":160},"contacts":{"maxItems":10000,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":300},"email":{"type":"string","maxLength":320},"phone":{"type":"string","maxLength":60}},"additionalProperties":false}},"csv":{"type":"string","maxLength":8000000}},"required":["list_name"],"additionalProperties":false},"create_custom_link_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"source":{"type":"string","minLength":1,"maxLength":60},"campaign":{"type":"string","maxLength":80},"target_type":{"type":"string","enum":["loops","immersive"]}},"required":["event_id","source"],"additionalProperties":false},"get_share_links_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64}},"required":["event_id"],"additionalProperties":false},"create_promo_code_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"draft_id":{"type":"string","minLength":1,"maxLength":64},"edit_token":{"type":"string","minLength":1,"maxLength":256},"code":{"type":"string","minLength":1,"maxLength":64},"discount_type":{"type":"string","enum":["percent","fixed"]},"discount_value":{"type":"number","minimum":0,"maximum":1000000},"max_uses":{"type":"integer","exclusiveMinimum":0,"maximum":10000000},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"applicable_classes":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":128}},"enabled":{"type":"boolean"}},"required":["code","discount_type","discount_value"],"additionalProperties":false},"update_promo_code_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"promo_code_id":{"type":"string","minLength":1,"maxLength":128},"code":{"type":"string","minLength":1,"maxLength":64},"discount_type":{"type":"string","enum":["percent","fixed"]},"discount_value":{"type":"number","minimum":0,"maximum":1000000},"max_uses":{"type":"integer","exclusiveMinimum":0,"maximum":10000000},"starts_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"applicable_classes":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":128}},"enabled":{"type":"boolean"}},"required":["event_id","promo_code_id"],"additionalProperties":false},"bulk_create_promo_codes_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"codes":{"minItems":1,"maxItems":500,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":64},"discount_type":{"type":"string","enum":["percent","fixed"]},"discount_value":{"type":"number","exclusiveMinimum":0,"maximum":1000000},"max_uses":{"type":"integer","exclusiveMinimum":0,"maximum":10000000},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"applicable_classes":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":128}}},"required":["code","discount_type","discount_value","max_uses"],"additionalProperties":false}}},"required":["event_id","codes"],"additionalProperties":false},"list_promo_codes_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"enabled_only":{"type":"boolean"}},"required":["event_id"],"additionalProperties":false},"add_affiliate_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"discount_type":{"type":"string","enum":["percent","fixed"]},"discount_value":{"type":"number","minimum":0,"maximum":1000000},"commission_type":{"type":"string","enum":["percent","fixed"]},"commission_value":{"type":"number","minimum":0,"maximum":1000000},"code_prefix":{"type":"string","maxLength":12},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["event_id","email"],"additionalProperties":false},"create_affiliate_profile_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"profile_name":{"type":"string","maxLength":160},"tiers":{"type":"object","propertyNames":{"type":"string","maxLength":128},"additionalProperties":{"type":"object","properties":{"discount_type":{"type":"string","enum":["percent","fixed"]},"discount_value":{"type":"number","exclusiveMinimum":0,"maximum":1000000}},"required":["discount_type","discount_value"],"additionalProperties":false}},"max_affiliates":{"type":"integer","minimum":0,"maximum":100000},"code_prefix":{"type":"string","maxLength":16},"commission_type":{"type":"string","enum":["percent","fixed"]},"commission_value":{"type":"number","exclusiveMinimum":0,"maximum":1000000},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["event_id","tiers"],"additionalProperties":false},"bulk_invite_affiliates_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"emails":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"}},"discount_type":{"type":"string","enum":["percent","fixed"]},"discount_value":{"type":"number","minimum":0,"maximum":1000000},"commission_type":{"type":"string","enum":["percent","fixed"]},"commission_value":{"type":"number","minimum":0,"maximum":1000000},"code_prefix":{"type":"string","maxLength":12},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["event_id","emails"],"additionalProperties":false},"update_affiliate_commission_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"affiliate_id":{"type":"string","minLength":1,"maxLength":128},"commission_updates":{"type":"object","propertyNames":{"type":"string","maxLength":128},"additionalProperties":{"type":"object","properties":{"commission_type":{"type":"string","enum":["percent","fixed"]},"commission_value":{"type":"number","minimum":0,"maximum":1000000}},"required":["commission_type","commission_value"],"additionalProperties":false}}},"required":["event_id","affiliate_id","commission_updates"],"additionalProperties":false},"revoke_affiliate_access_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"affiliate_id":{"type":"string","minLength":1,"maxLength":128}},"required":["event_id","affiliate_id"],"additionalProperties":false},"list_affiliates_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64}},"required":["event_id"],"additionalProperties":false},"add_affiliate_code_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"affiliate_id":{"type":"string","minLength":1,"maxLength":128},"ticket_class_id":{"type":"string","minLength":1,"maxLength":128},"discount_type":{"type":"string","enum":["percent","fixed"]},"discount_value":{"type":"number","minimum":0,"maximum":1000000},"commission_type":{"type":"string","enum":["percent","fixed"]},"commission_value":{"type":"number","minimum":0,"maximum":1000000}},"required":["event_id","affiliate_id","ticket_class_id","discount_type","discount_value"],"additionalProperties":false},"remove_affiliate_code_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"affiliate_id":{"type":"string","minLength":1,"maxLength":128},"ticket_class_id":{"type":"string","minLength":1,"maxLength":128}},"required":["event_id","affiliate_id","ticket_class_id"],"additionalProperties":false},"update_open_link_config_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"invite_id":{"type":"string","minLength":1,"maxLength":128},"tiers":{"type":"object","propertyNames":{"type":"string","maxLength":128},"additionalProperties":{"type":"object","properties":{"ticket_class_name":{"type":"string","minLength":1,"maxLength":200},"discount_type":{"type":"string","enum":["percent","fixed"]},"discount_value":{"type":"number","exclusiveMinimum":0,"maximum":1000000},"max_redemptions":{"type":"integer","minimum":0,"maximum":10000000},"commission_type":{"type":"string","enum":["percent","fixed"]},"commission_value":{"type":"number","minimum":0,"maximum":1000000}},"required":["ticket_class_name","discount_type","discount_value"],"additionalProperties":false}},"profile_name":{"type":"string","maxLength":160},"max_affiliates":{"type":"integer","minimum":0,"maximum":10000000}},"required":["event_id","invite_id","tiers"],"additionalProperties":false},"create_promo_profile_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"profile_name":{"type":"string","maxLength":160},"tiers":{"type":"object","propertyNames":{"type":"string","maxLength":128},"additionalProperties":{"type":"object","properties":{"discount_type":{"type":"string","enum":["percent","fixed"]},"discount_value":{"type":"number","exclusiveMinimum":0,"maximum":1000000}},"required":["discount_type","discount_value"],"additionalProperties":false}},"max_uses":{"type":"integer","exclusiveMinimum":0,"maximum":10000000},"starts_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["event_id","tiers"],"additionalProperties":false},"list_promo_profiles_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64}},"required":["event_id"],"additionalProperties":false},"add_codes_to_profile_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"profile_id":{"type":"string","minLength":1,"maxLength":128},"codes":{"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":64}},"auto_generate":{"type":"integer","exclusiveMinimum":0,"maximum":500},"code_prefix":{"type":"string","maxLength":32}},"required":["event_id","profile_id"],"additionalProperties":false},"adopt_codes_to_profile_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"profile_id":{"type":"string","minLength":1,"maxLength":128},"code_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}}},"required":["event_id","profile_id","code_ids"],"additionalProperties":false},"remove_codes_from_profile_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"profile_id":{"type":"string","minLength":1,"maxLength":128},"code_ids":{"minItems":1,"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}},"action":{"type":"string","enum":["detach","delete"]}},"required":["event_id","profile_id","code_ids"],"additionalProperties":false},"update_promo_profile_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"profile_id":{"type":"string","minLength":1,"maxLength":128},"tiers":{"type":"object","propertyNames":{"type":"string","maxLength":128},"additionalProperties":{"type":"object","properties":{"discount_type":{"type":"string","enum":["percent","fixed"]},"discount_value":{"type":"number","exclusiveMinimum":0,"maximum":1000000}},"required":["discount_type","discount_value"],"additionalProperties":false}},"profile_name":{"type":"string","maxLength":160},"max_uses":{"type":"integer","exclusiveMinimum":0,"maximum":10000000},"starts_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"expires_at":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"enabled":{"type":"boolean"}},"required":["event_id","profile_id"],"additionalProperties":false},"delete_promo_profile_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"profile_id":{"type":"string","minLength":1,"maxLength":128},"action":{"type":"string","enum":["detach","delete_codes"]}},"required":["event_id","profile_id"],"additionalProperties":false},"invite_team_member_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"role":{"type":"string","enum":["host","manager","guest_list","door_person","promoter"]}},"required":["event_id","email","role"],"additionalProperties":false},"list_team_invites_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64}},"required":["event_id"],"additionalProperties":false},"cancel_team_invite_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"invite_id":{"type":"string","minLength":1,"maxLength":128}},"required":["event_id","invite_id"],"additionalProperties":false},"add_vendor_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","minLength":1,"maxLength":200},"service":{"type":"string","maxLength":200},"status":{"type":"string","enum":["no_contact","in_contact","order_requested","contract_received","invoice_received","deposit_sent","full_payment_sent","recurring"]},"point_of_contact":{"type":"string","maxLength":160},"email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","maxLength":40},"url":{"type":"string","maxLength":500},"itemized_list":{"type":"string","maxLength":4000},"notes":{"type":"string","maxLength":4000},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":80}},"project_ids":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":128}}},"required":["event_id","name"],"additionalProperties":false},"add_talent_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","minLength":1,"maxLength":200},"short_bio":{"type":"string","maxLength":1000},"description":{"type":"string","maxLength":4000},"status":{"type":"string","enum":["no_contact","in_talks","bullpen","scheduling","confirmed","scheduled","declined","completed"]},"categories":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":80}},"act_title":{"type":"string","maxLength":200},"duration_minutes":{"type":"integer","exclusiveMinimum":0,"maximum":100000},"email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"phone":{"type":"string","maxLength":40},"home_base":{"type":"string","maxLength":200},"portfolio_url":{"type":"string","maxLength":500},"rider":{"type":"string","maxLength":4000},"is_speaker":{"type":"boolean"}},"required":["event_id","name"],"additionalProperties":false},"add_task_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"title":{"type":"string","minLength":1,"maxLength":300},"priority":{"type":"string","enum":["explore","low","medium","high","urgent"]},"phase":{"type":"string","enum":["pre_production","build","event","strike","post"]}},"required":["event_id","title"],"additionalProperties":false},"add_project_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":4000},"category":{"type":"string","maxLength":80},"priority":{"type":"string","enum":["explore","low","medium","high","urgent"]},"overall_status":{"type":"string","enum":["not_started","on_hold","blocked","complete","cancelled"]},"deliverable":{"type":"string","maxLength":1000},"notes":{"type":"string","maxLength":4000},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":80}},"start_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"target_date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["event_id","name"],"additionalProperties":false},"record_expense_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"item":{"type":"string","minLength":1,"maxLength":200},"cost":{"type":"number","minimum":0,"maximum":100000000},"paid":{"type":"number","minimum":0,"maximum":100000000},"status":{"type":"string","enum":["owed","partially_paid","complete"]},"type":{"type":"string","enum":["software","purchase","rental","labor","service","debt"]},"vendor_id":{"type":"string","maxLength":128},"project_id":{"type":"string","maxLength":128},"description":{"type":"string","maxLength":2000},"comments":{"type":"string","maxLength":2000}},"required":["event_id","item","cost"],"additionalProperties":false},"record_transaction_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","minLength":1,"maxLength":300},"impact":{"type":"string","enum":["income","expense","transfer"]},"amount":{"type":"number","minimum":0,"maximum":100000000},"fee":{"type":"number","minimum":0,"maximum":100000000},"category":{"type":"string","enum":["attendee_payment","donation","sponsor","rental","service","purchase","labor","software","fees","travel_food","transfer","refund","misc"]},"phase":{"type":"string","enum":["pre_production","build","event","strike","post"]},"description":{"type":"string","maxLength":4000},"note":{"type":"string","maxLength":4000},"date":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"receipt_id":{"type":"string","maxLength":128},"project_id":{"type":"string","maxLength":128},"vendor_id":{"type":"string","maxLength":128},"place_id":{"type":"string","maxLength":128},"team_id":{"type":"string","maxLength":128},"payer":{"type":"object","properties":{"id":{"type":"string","maxLength":128},"name":{"type":"string","maxLength":200}},"required":["id","name"],"additionalProperties":false},"receiver":{"type":"object","properties":{"id":{"type":"string","maxLength":128},"name":{"type":"string","maxLength":200}},"required":["id","name"],"additionalProperties":false},"who_for":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":128},"name":{"type":"string","maxLength":200}},"required":["id","name"],"additionalProperties":false}},"payer_email":{"type":"string","maxLength":320},"paid_from_account":{"type":"string","maxLength":200},"paid_to_account":{"type":"string","maxLength":200},"reconciled":{"type":"boolean"},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":80}},"references":{"type":"object","properties":{"credit_card_id":{"type":"string","maxLength":200},"domestic_routing":{"type":"string","maxLength":200},"electronic_routing":{"type":"string","maxLength":200},"international_routing":{"type":"string","maxLength":200},"source_account":{"type":"string","maxLength":200},"transaction_ref":{"type":"string","maxLength":200}},"additionalProperties":false}},"required":["event_id","name","impact","amount"],"additionalProperties":false},"add_schedule_item_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"title":{"type":"string","minLength":1,"maxLength":300},"start_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"end_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"type":{"type":"string","enum":["lighting","sound","video","announce","transition","performance","safety","pyro","other"]},"lane":{"type":"string","maxLength":80},"cue_number":{"type":"string","maxLength":40},"description":{"type":"string","maxLength":2000},"notes":{"type":"string","maxLength":2000},"project_id":{"type":"string","maxLength":128},"talent_ids":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":128}}},"required":["event_id","title","start_at"],"additionalProperties":false},"add_role_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":2000},"category":{"type":"string","maxLength":80},"notes":{"type":"string","maxLength":2000},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":80}}},"required":["event_id","name"],"additionalProperties":false},"add_inventory_item_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":2000},"category":{"type":"string","maxLength":80},"subcategory":{"type":"string","maxLength":80},"status":{"type":"string","enum":["wish_list","needs_sourced","needs_fixed","needs_transport","ready","in_use","sell_donate","not_available"]},"priority":{"type":"string","enum":["essential","high","medium","low","next_year"]},"phase":{"type":"string","enum":["pre_production","build","event","strike","post"]},"qty":{"type":"integer","minimum":0,"maximum":10000000},"qty_needed":{"type":"integer","minimum":0,"maximum":10000000},"unit_cost":{"type":"number","minimum":0,"maximum":100000000},"unit_of_measure":{"type":"string","maxLength":40},"dimensions":{"type":"string","maxLength":200},"url":{"type":"string","maxLength":500},"current_location":{"type":"string","maxLength":200},"storage_container":{"type":"string","maxLength":200},"to_source":{"type":"boolean"},"project_id":{"type":"string","maxLength":128},"place_id":{"type":"string","maxLength":128},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":80}}},"required":["event_id","name"],"additionalProperties":false},"add_programming_item_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"title":{"type":"string","minLength":1,"maxLength":300},"description":{"type":"string","maxLength":4000},"status":{"type":"string","enum":["ideation","needs_talent","confirming","programmed","story_and_design","needs_producer","production","ready","cancelled","blocked","on_event_serendipity"]},"phase":{"type":"string","enum":["pre_production","build","event","strike","post"]},"types":{"maxItems":20,"type":"array","items":{"type":"string","maxLength":60}},"act":{"type":"string","maxLength":200},"experience_series":{"type":"string","maxLength":200},"duration_minutes":{"type":"integer","exclusiveMinimum":0,"maximum":100000},"start_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"talent_ids":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":128}},"place_ids":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":128}},"rider":{"type":"string","maxLength":4000},"production_needs":{"type":"string","maxLength":4000},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":80}}},"required":["event_id","title"],"additionalProperties":false},"add_meal_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"kind":{"type":"string","enum":["breakfast","brunch","lunch","snack","dinner","late_night","special"]},"serve_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"title":{"type":"string","maxLength":200},"description":{"type":"string","maxLength":2000},"status":{"type":"string","enum":["planning","sourcing","ready","cooking","served","cancelled"]},"expected_diners":{"type":"integer","minimum":0,"maximum":10000000},"stations":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":160}},"shopping_list":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":200}},"estimated_cost":{"type":"number","minimum":0,"maximum":100000000},"notes":{"type":"string","maxLength":2000},"place_id":{"type":"string","maxLength":128},"project_id":{"type":"string","maxLength":128},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":80}}},"required":["event_id","kind","serve_at"],"additionalProperties":false},"add_place_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","minLength":1,"maxLength":200},"name_alt":{"type":"string","maxLength":200},"description":{"type":"string","maxLength":2000},"structure":{"type":"string","maxLength":200},"sector":{"type":"string","maxLength":80},"lifecycle_status":{"type":"string","enum":["new","exploring","repeating","improving","removing"]},"build_status":{"type":"string","enum":["not_started","surveyed","staged","built","systemized","designed","complete"]},"parent_place_id":{"type":"string","maxLength":128},"budget_requested":{"type":"number","minimum":0,"maximum":100000000},"budget_allocated":{"type":"number","minimum":0,"maximum":100000000},"start_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"tags":{"maxItems":50,"type":"array","items":{"type":"string","maxLength":80}}},"required":["event_id","name"],"additionalProperties":false},"set_place_build_status_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"place_id":{"type":"string","minLength":1,"maxLength":128},"build_status":{"anyOf":[{"type":"string","enum":["not_started","surveyed","staged","built","systemized","designed","complete"]},{"type":"null"}]}},"required":["event_id","place_id","build_status"],"additionalProperties":false},"add_sponsor_input":{"type":"object","properties":{"company_name":{"type":"string","minLength":1,"maxLength":200},"tier":{"type":"string","enum":["platinum","gold","silver","bronze"]},"total_committed":{"type":"number","minimum":0,"maximum":1000000000},"deliverables":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":200}},"contact_name":{"type":"string","maxLength":160},"contact_email":{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"contact_phone":{"type":"string","maxLength":40},"notes":{"type":"string","maxLength":4000}},"required":["company_name"],"additionalProperties":false},"list_sponsors_input":{"type":"object","properties":{"tier":{"type":"string","maxLength":40}},"additionalProperties":false},"create_production_item_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"entity":{"type":"string","enum":["vendors","talent","tasks","projects","schedule","receipts","roles","inventory","programming","meals","places","milestones","timeline","schedule_items","modes","transactions","invoices","teams","buildUnits","scholarships","invitations"]},"name":{"type":"string","minLength":1,"maxLength":300},"status":{"type":"string","maxLength":60},"notes":{"type":"string","maxLength":4000},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["event_id","entity","name"],"additionalProperties":false},"update_production_item_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"entity":{"type":"string","enum":["vendors","talent","tasks","projects","schedule","receipts","roles","inventory","programming","meals","places","milestones","timeline","schedule_items","modes","transactions","invoices","teams","buildUnits","scholarships","invitations"]},"item_id":{"type":"string","minLength":1,"maxLength":128},"status":{"type":"string","maxLength":60},"name":{"type":"string","minLength":1,"maxLength":300},"notes":{"type":"string","maxLength":4000},"active":{"type":"boolean"},"fields":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["event_id","entity","item_id"],"additionalProperties":false},"delete_production_item_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"entity":{"type":"string","enum":["vendors","talent","tasks","projects","schedule","receipts","roles","inventory","programming","meals","places","milestones","timeline","schedule_items","modes","transactions","invoices","teams","buildUnits","scholarships","invitations"]},"item_id":{"type":"string","minLength":1,"maxLength":128}},"required":["event_id","entity","item_id"],"additionalProperties":false},"list_production_items_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"entity":{"type":"string","enum":["vendors","talent","tasks","projects","schedule","receipts","roles","inventory","programming","meals","places","milestones","timeline","schedule_items","modes","transactions","invoices","teams","buildUnits","scholarships","invitations"]},"status":{"type":"string","maxLength":60}},"required":["event_id","entity"],"additionalProperties":false},"link_production_items_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"entity":{"type":"string","enum":["roles","projects","vendors","programming","inventory","receipts","transactions","places","schedule","schedule_items","milestones","tasks","meals","teams","talent","modes","buildUnits","scholarships","invitations"]},"item_id":{"type":"string","minLength":1,"maxLength":128},"relation":{"type":"string","minLength":1,"maxLength":60},"target_ids":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"string","minLength":1,"maxLength":128}},"op":{"default":"add","type":"string","enum":["add","remove","set"]}},"required":["event_id","entity","item_id","relation","target_ids","op"],"additionalProperties":false},"assign_role_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"entity":{"type":"string","enum":["tasks","projects","receipts","vendors","inventory","schedule_items"]},"item_id":{"type":"string","minLength":1,"maxLength":128},"role_id":{"type":"string","minLength":1,"maxLength":128},"op":{"default":"set","type":"string","enum":["set","add","remove"]}},"required":["event_id","entity","item_id","role_id","op"],"additionalProperties":false},"assign_member_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"entity":{"type":"string","enum":["teams","projects","milestones","schedule_items","schedule","tasks","places","vendors","talent","inventory","receipts","transactions","programming","meals"]},"item_id":{"type":"string","minLength":1,"maxLength":128},"relation":{"type":"string","minLength":1,"maxLength":60},"member":{"type":"object","properties":{"mode_id":{"type":"string","maxLength":128},"name":{"type":"string","maxLength":200},"email":{"type":"string","maxLength":200}},"additionalProperties":false},"op":{"default":"set","type":"string","enum":["set","add","remove"]}},"required":["event_id","entity","item_id","relation","member","op"],"additionalProperties":false},"update_meal_menu_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"item_id":{"type":"string","minLength":1,"maxLength":128},"menu":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"description":{"type":"string","maxLength":1000},"servings":{"type":"integer","minimum":0,"maximum":100000},"dietary_tags":{"maxItems":40,"type":"array","items":{"type":"string","maxLength":60}},"tags":{"maxItems":40,"type":"array","items":{"type":"string","maxLength":60}}},"required":["name"],"additionalProperties":false}}},"required":["event_id","item_id","menu"],"additionalProperties":false},"update_invoice_line_items_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"item_id":{"type":"string","minLength":1,"maxLength":128},"line_items":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":500},"amount":{"type":"number","minimum":0,"maximum":100000000}},"required":["description","amount"],"additionalProperties":false}}},"required":["event_id","item_id","line_items"],"additionalProperties":false},"update_inventory_details_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"item_id":{"type":"string","minLength":1,"maxLength":128},"kind":{"type":"string","enum":["vehicle","housing","bike","structure","power"]},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["event_id","item_id","kind","details"],"additionalProperties":false},"create_form_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"name":{"type":"string","minLength":1,"maxLength":200},"questions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":128},"label":{"type":"string","minLength":1,"maxLength":500},"type":{"type":"string","enum":["text","textarea","select","multiSelect","email","phone","url","number"]},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":300},"options":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":300}},"canonical_key":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]}},"required":["label","type"],"additionalProperties":false}}},"required":["event_id","name"],"additionalProperties":false},"update_form_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"form_id":{"type":"string","minLength":1,"maxLength":128},"name":{"type":"string","minLength":1,"maxLength":200},"questions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":128},"label":{"type":"string","minLength":1,"maxLength":500},"type":{"type":"string","enum":["text","textarea","select","multiSelect","email","phone","url","number"]},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":300},"options":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":300}},"canonical_key":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]}},"required":["label","type"],"additionalProperties":false}}},"required":["event_id","form_id"],"additionalProperties":false},"set_form_active_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"form_id":{"type":"string","minLength":1,"maxLength":128},"active":{"type":"boolean"}},"required":["event_id","form_id","active"],"additionalProperties":false},"list_forms_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64}},"required":["event_id"],"additionalProperties":false},"list_form_responses_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"form_id":{"type":"string","minLength":1,"maxLength":128}},"required":["event_id","form_id"],"additionalProperties":false},"export_form_responses_csv_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64},"form_id":{"type":"string","minLength":1,"maxLength":128}},"required":["event_id","form_id"],"additionalProperties":false},"get_event_revenue_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64}},"required":["event_id"],"additionalProperties":false},"list_ticket_sales_input":{"type":"object","properties":{"event_id":{"type":"string","minLength":1,"maxLength":64}},"required":["event_id"],"additionalProperties":false},"create_community_input":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":4000},"short_description":{"type":"string","maxLength":280},"category":{"type":"string","enum":["sports_and_fitness","arts_and_culture","technology","career_and_business","education_and_learning","health_and_wellness","music","gaming","food_and_dining","outdoor_and_adventure","hobbies_and_crafts","social_and_networking","parents_and_family","community_and_causes"]},"privacy":{"type":"string","enum":["open","private"]},"tags":{"maxItems":10,"type":"array","items":{"type":"string","maxLength":60}},"icon_url":{"type":"string","maxLength":1000},"cover_image_url":{"type":"string","maxLength":1000}},"required":["name","description","category","privacy"],"additionalProperties":false},"update_community_input":{"type":"object","properties":{"community_id":{"type":"string","minLength":1,"maxLength":128},"name":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":4000},"short_description":{"type":"string","maxLength":280},"category":{"type":"string","enum":["sports_and_fitness","arts_and_culture","technology","career_and_business","education_and_learning","health_and_wellness","music","gaming","food_and_dining","outdoor_and_adventure","hobbies_and_crafts","social_and_networking","parents_and_family","community_and_causes"]},"privacy":{"type":"string","enum":["open","private"]},"tags":{"maxItems":10,"type":"array","items":{"type":"string","maxLength":60}},"icon_url":{"type":"string","maxLength":1000},"cover_image_url":{"type":"string","maxLength":1000}},"required":["community_id"],"additionalProperties":false},"list_my_communities_input":{"type":"object","properties":{"owned_only":{"type":"boolean"}},"additionalProperties":false},"list_community_members_input":{"type":"object","properties":{"community_id":{"type":"string","minLength":1,"maxLength":128},"role":{"type":"string","maxLength":40}},"required":["community_id"],"additionalProperties":false},"list_join_requests_input":{"type":"object","properties":{"community_id":{"type":"string","minLength":1,"maxLength":128}},"required":["community_id"],"additionalProperties":false},"approve_join_request_input":{"type":"object","properties":{"community_id":{"type":"string","minLength":1,"maxLength":128},"user_id":{"type":"string","minLength":1,"maxLength":128}},"required":["community_id","user_id"],"additionalProperties":false},"reject_join_request_input":{"type":"object","properties":{"community_id":{"type":"string","minLength":1,"maxLength":128},"user_id":{"type":"string","minLength":1,"maxLength":128}},"required":["community_id","user_id"],"additionalProperties":false},"remove_community_member_input":{"type":"object","properties":{"community_id":{"type":"string","minLength":1,"maxLength":128},"user_id":{"type":"string","minLength":1,"maxLength":128}},"required":["community_id","user_id"],"additionalProperties":false},"reject_community_event_input":{"type":"object","properties":{"community_id":{"type":"string","minLength":1,"maxLength":128},"event_id":{"type":"string","minLength":1,"maxLength":64},"reason":{"type":"string","maxLength":1000}},"required":["community_id","event_id"],"additionalProperties":false},"list_pending_community_events_input":{"type":"object","properties":{"community_id":{"type":"string","minLength":1,"maxLength":128}},"required":["community_id"],"additionalProperties":false},"list_my_network_input":{"type":"object","properties":{"search":{"type":"string","maxLength":120}},"additionalProperties":false},"list_shared_events_input":{"type":"object","properties":{},"additionalProperties":false},"get_account_status_input":{"type":"object","properties":{},"additionalProperties":false},"connect_stripe_input":{"type":"object","properties":{"return_path":{"type":"string","enum":["/producer-center?tab=payouts","/producer-center?tab=communities","/producer-center?tab=distribution"]}},"additionalProperties":false},"list_custom_domains_input":{"type":"object","properties":{},"additionalProperties":false}}}}