{"openapi":"3.1.0","jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","info":{"title":"Nicely Seated API","version":"1.0.0","description":"Build, auto-seat, validate and share seating charts. Every change takes expectedVersion (optimistic locking) and returns the new version; a stale version gets 409 version_conflict with liveVersion."},"servers":[{"url":"https://nicelyseated.com/api/v1"}],"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","description":"API key (starts with \"ns_\"); needs Planner Pro"},"sessionCookie":{"type":"apiKey","in":"cookie","name":"ns_session"}},"schemas":{"QuestionInput":{"type":"object","properties":{"kind":{"type":"string","enum":["meal","dietary","child","single_choice","multi_choice","short_text","yes_no","number"]},"label":{"description":"Defaults to the built-in label for meal, dietary and child","type":"string","maxLength":200},"help":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]},"options":{"description":"Choices for meal, single_choice and multi_choice: labels, or {id, label} to keep an option","maxItems":30,"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","properties":{"id":{"type":"string","maxLength":40},"label":{"type":"string"}},"required":["label"]}]}},"settings":{"type":"object","properties":{"kidsOption":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"askSevere":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"additionalProperties":false},"required":{"type":"boolean"},"closesAt":{"description":"After this time guests can no longer change this answer","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"}]}},"required":["kind"]},"QuestionPatch":{"type":"object","properties":{"label":{"description":"Defaults to the built-in label for meal, dietary and child","type":"string","maxLength":200},"help":{"anyOf":[{"type":"string","maxLength":400},{"type":"null"}]},"options":{"description":"Choices for meal, single_choice and multi_choice: labels, or {id, label} to keep an option","maxItems":30,"type":"array","items":{"anyOf":[{"type":"string"},{"type":"object","properties":{"id":{"type":"string","maxLength":40},"label":{"type":"string"}},"required":["label"]}]}},"settings":{"type":"object","properties":{"kidsOption":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"askSevere":{"type":"boolean"},"min":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"max":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"additionalProperties":false},"required":{"type":"boolean"},"closesAt":{"description":"After this time guests can no longer change this answer","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"}]}}},"ReorderQuestionsInput":{"type":"object","properties":{"questionIds":{"minItems":1,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["questionIds"]},"QuestionsLinkInput":{"type":"object","properties":{"enabled":{"type":"boolean"}},"required":["enabled"]},"HostAnswersInput":{"type":"object","properties":{"answers":{"type":"object","propertyNames":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"additionalProperties":{},"description":"questionId -> answer (null clears it)"},"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["answers"]},"ExportOptions":{"type":"object","properties":{"kind":{"type":"string","enum":["poster","escort_cards","place_cards","caterer_pdf","floorplan_pdf","guest_list_pdf","sub_folder","qr_sign"],"description":"What to print"},"themeId":{"description":"Print layout id; defaults to the layout for the event mode","type":"string"},"fontPair":{"description":"Optional font pairing id overriding the layout default fonts","type":"string","pattern":"^[a-z0-9-]+$"},"paperColor":{"description":"Optional background paper color (#RRGGBB) for posters, cards, and QR signs","type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"inkColor":{"description":"Optional primary text color (#RRGGBB) for posters, cards, and QR signs","type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"accentColor":{"description":"Optional accent color (#RRGGBB) for borders, numerals, and ornaments","type":"string","pattern":"^#[0-9A-Fa-f]{6}$"},"size":{"description":"Paper size or card sheet; defaults per kind","type":"string","enum":["poster_18x24","poster_24x36","a3","letter","a4","tabletop_5x7","avery_5302","avery_8871"]},"layout":{"description":"Posters only: alphabetical by last name, or grouped by table","type":"string","enum":["alphabetical","by_table"]},"cropMarks":{"description":"Posters and signs: add crop marks outside the bleed","type":"boolean"},"title":{"description":"Defaults to the event title","type":"string","maxLength":120},"subtitle":{"description":"Line under the title; null hides it","anyOf":[{"type":"string","maxLength":160},{"type":"null"}]},"dateLine":{"description":"Defaults to the formatted event date; null hides it","anyOf":[{"type":"string","maxLength":80},{"type":"null"}]},"mealGlyphs":{"description":"Cards: small meal glyph in the corner for the catering staff","type":"boolean"},"showPhotos":{"description":"Substitute folder: student photo thumbnails","type":"boolean"},"includePin":{"description":"QR sign: print the seat finder PIN under the code","type":"boolean"},"round":{"description":"Charts with rounds (courses, sessions, weeks): a round id to print that round, or \"all\" for every round one after another. Default: the first round","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"string","const":"all"}]}},"required":["kind"],"additionalProperties":false},"ExportRecord":{"type":"object","properties":{"id":{"type":"string"},"eventId":{"type":"string"},"eventVersion":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"kind":{"type":"string","enum":["poster","escort_cards","place_cards","caterer_pdf","floorplan_pdf","guest_list_pdf","sub_folder","qr_sign"]},"themeId":{"type":"string"},"options":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"watermarked":{"type":"boolean"},"pageCount":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"sizeBytes":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"createdAt":{"type":"string"}},"required":["id","eventId","eventVersion","kind","themeId","options","watermarked","pageCount","sizeBytes","createdAt"],"additionalProperties":false},"ExportResult":{"type":"object","properties":{"export":{"$ref":"#/components/schemas/ExportRecord"},"downloadUrl":{"type":"string","description":"Signed URL; expires at expiresAt"},"filePath":{"type":"string","description":"Same-origin path that streams the PDF for a signed-in browser session"},"fileName":{"type":"string"},"expiresAt":{"type":"string"},"expiresInSec":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"watermarked":{"type":"boolean","description":"Free-tier exports (except the free clean kinds) carry a diagonal watermark"},"upgradeUrl":{"description":"Where the human can upgrade to remove the watermark; null when clean","type":["string","null"]},"cached":{"type":"boolean","description":"true when an identical export at this event version was reused"},"dimensions":{"type":"object","properties":{"widthIn":{"type":"number"},"heightIn":{"type":"number"},"bleedIn":{"type":"number"},"vector":{"type":"boolean","const":true}},"required":["widthIn","heightIn","bleedIn","vector"],"additionalProperties":false},"notes":{"type":"object","properties":{"guests":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Guests coming (RSVP yes): the ones who need a seat"},"unseated":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Guests coming without a seat yet; left off name lists"},"pending":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Guests who have not replied: not seated and left off"},"tables":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"warnings":{"type":"array","items":{"type":"string"}}},"required":["guests","unseated","pending","tables","warnings"],"additionalProperties":false}},"required":["export","downloadUrl","filePath","fileName","expiresAt","expiresInSec","watermarked","upgradeUrl","cached","dimensions","notes"],"additionalProperties":false},"RoundRules":{"type":"object","properties":{"meetNew":{"type":"string","enum":["off","tablemates","neighbours"],"description":"Meet new people: off, new tablemates, or new tablemates and neighbours"},"noRepeat":{"type":"string","enum":["off","soft","hard"],"description":"Never repeat a tablemate: off, soft (avoid strongly) or hard (a broken rule when it happens)"},"lookBack":{"anyOf":[{"type":"integer","minimum":1,"maximum":52},{"type":"null"}],"description":"How many rounds either side count, e.g. 4 for \"no repeat partners from the last 4 weeks\"; null = all rounds"},"rotateFront":{"type":"boolean","description":"Take turns sitting near the stage or the front of the room"}},"required":["meetNew","noRepeat","lookBack","rotateFront"],"additionalProperties":false},"RoundSeat":{"type":"object","properties":{"guestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"itemId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seatIndex":{"type":"integer","minimum":0,"maximum":9007199254740991},"locked":{"type":"boolean"}},"required":["guestId","itemId","seatIndex","locked"],"additionalProperties":false},"Round":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"position":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Order of the rounds (lowest first)"},"first":{"type":"boolean","description":"The first round: its seats are the guests' own assignedItemId / seatIndex / seatLocked"},"seats":{"type":"array","items":{"$ref":"#/components/schemas/RoundSeat"},"description":"Everyone with a seat in this round (no entry = no seat)"}},"required":["id","name","position","first","seats"],"additionalProperties":false},"RoundSeatInput":{"type":"object","properties":{"guestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"itemId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Table or desk; null takes the guest's seat away in this round"},"seatIndex":{"description":"0-based; omit for the first free seat","anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"locked":{"description":"Keep the guest in this seat when the round is auto-seated","type":"boolean"}},"required":["guestId","itemId"]},"NewRoundInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"copyFrom":{"description":"Start from the seating of this round (null: start with nobody seated). Ignored when seats is given","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"seats":{"description":"Exact seats to start with","type":"array","items":{"type":"object","properties":{"guestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"itemId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seatIndex":{"description":"0-based; omit for the first free seat","anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"locked":{"description":"Keep the guest in this seat when the round is auto-seated","type":"boolean"}},"required":["guestId","itemId"]}}},"required":["name"]},"CreateRoundsInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"firstName":{"description":"Chart without rounds yet: the name for its current seating, which becomes the first round (defaults to \"Course 1\", \"Session 1\" or \"Week 1\")","type":"string","minLength":1,"maxLength":60},"first":{"description":"A new round to put BEFORE the first one, with its seats (the current first round keeps its seats). Its id comes first in addedIds","type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"seats":{"type":"array","items":{"type":"object","properties":{"guestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"itemId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seatIndex":{"description":"0-based; omit for the first free seat","anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"locked":{"description":"Keep the guest in this seat when the round is auto-seated","type":"boolean"}},"required":["guestId","itemId"]}}},"required":["name","seats"]},"rounds":{"default":[],"description":"New rounds, added after the last one","maxItems":52,"type":"array","items":{"$ref":"#/components/schemas/NewRoundInput"}}},"required":["expectedVersion"]},"UpdateRoundInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"name":{"type":"string","minLength":1,"maxLength":60}},"required":["expectedVersion","name"]},"ReorderRoundsInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"roundIds":{"minItems":2,"maxItems":52,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"Every round of the chart once, in the new order"}},"required":["expectedVersion","roundIds"]},"SetRoundSeatsInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"seats":{"minItems":1,"type":"array","items":{"$ref":"#/components/schemas/RoundSeatInput"},"description":"Exact seats for these guests in this round; guests not listed keep theirs. Two guests may not end up in one seat"}},"required":["expectedVersion","seats"]},"SolveRoundsInput":{"type":"object","properties":{"expectedVersion":{"description":"Required unless dryRun","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"roundIds":{"description":"Rounds to seat; default every round. The others stay as they are and count as history","minItems":1,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"rules":{"description":"Rules across rounds for this run; default the chart's (events.settings.rounds)","type":"object","properties":{"meetNew":{"type":"string","enum":["off","tablemates","neighbours"],"description":"Meet new people: off, new tablemates, or new tablemates and neighbours"},"noRepeat":{"type":"string","enum":["off","soft","hard"],"description":"Never repeat a tablemate: off, soft (avoid strongly) or hard (a broken rule when it happens)"},"lookBack":{"anyOf":[{"type":"integer","minimum":1,"maximum":52},{"type":"null"}],"description":"How many rounds either side count, e.g. 4 for \"no repeat partners from the last 4 weeks\"; null = all rounds"},"rotateFront":{"type":"boolean","description":"Take turns sitting near the stage or the front of the room"}}},"seed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"respectLocks":{"default":true,"type":"boolean"},"dryRun":{"default":false,"description":"Return the result without saving","type":"boolean"}}},"RoomItem":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["table_round","table_square","table_rect","table_banquet","table_sweetheart","table_u","table_serpentine","table_half_moon","table_crescent","table_hollow","table_highboy","picnic_table","booth","booth_u","bar_counter","lounge_set","chair","bench","chair_rows","bleachers","desk","pod","lab_table","stage","dance_floor","bar","dj","buffet","cake_table","gift_table","sign_in_table","photo_booth","coat_check","lectern","screen","arch","aisle_runner","rug","entrance","exit","door","service_door","window","wall","pillar","tent_pole","fireplace","stairs","restrooms","plant","power_point","whiteboard","teacher_desk"]},"label":{"type":"string","minLength":1,"maxLength":200},"x":{"type":"number"},"y":{"type":"number"},"width":{"type":"number","exclusiveMinimum":0},"height":{"type":"number","exclusiveMinimum":0},"rotation":{"type":"number"},"seatCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"meta":{"type":"object","properties":{"zoneTags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"accessible":{"type":"boolean"},"row":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"twoSided":{"type":"boolean"},"tableNumber":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"color":{"type":"string","maxLength":40},"rows":{"description":"Chair rows and bleachers: number of rows (front row first)","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"perRow":{"description":"Chair rows and bleachers: seats in each row; seatCount = rows x perRow","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"aisle":{"description":"Chair rows and bleachers: centre aisle, or a side aisle a quarter in from the left or right","type":"string","enum":["none","centre","left","right"]},"lastRow":{"description":"Chair rows and bleachers: where a short back row sits (start = from the left, end = against the right, centre); default start","type":"string","enum":["start","end","centre"]},"variant":{"description":"Drawing variant: oval (round table), head (rect), square (pillar), pew (bench), curved_row (serpentine)","type":"string","maxLength":40}},"additionalProperties":{},"description":"Zone tags, accessibility, classroom row (1 = front), two-sided seating, chair-block grid (rows, perRow, aisle), drawing variant, display hints"}},"required":["id","kind","label","x","y","width","height","rotation","seatCount","meta"],"additionalProperties":false},"RoomItemInput":{"type":"object","properties":{"id":{"description":"Keep an existing item (and the guests seated at it) by passing its id","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["table_round","table_square","table_rect","table_banquet","table_sweetheart","table_u","table_serpentine","table_half_moon","table_crescent","table_hollow","table_highboy","picnic_table","booth","booth_u","bar_counter","lounge_set","chair","bench","chair_rows","bleachers","desk","pod","lab_table","stage","dance_floor","bar","dj","buffet","cake_table","gift_table","sign_in_table","photo_booth","coat_check","lectern","screen","arch","aisle_runner","rug","entrance","exit","door","service_door","window","wall","pillar","tent_pole","fireplace","stairs","restrooms","plant","power_point","whiteboard","teacher_desk"]},"label":{"type":"string","minLength":1,"maxLength":200},"x":{"type":"number"},"y":{"type":"number"},"width":{"description":"Defaults to the kind default in config/presets.json","type":"number","exclusiveMinimum":0},"height":{"type":"number","exclusiveMinimum":0},"rotation":{"default":0,"type":"number"},"seatCount":{"description":"Defaults to the kind default; fixtures must be 0","type":"integer","minimum":0,"maximum":9007199254740991},"meta":{"default":{},"type":"object","properties":{"zoneTags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"accessible":{"type":"boolean"},"row":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"twoSided":{"type":"boolean"},"tableNumber":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"color":{"type":"string","maxLength":40},"rows":{"description":"Chair rows and bleachers: number of rows (front row first)","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"perRow":{"description":"Chair rows and bleachers: seats in each row; seatCount = rows x perRow","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"aisle":{"description":"Chair rows and bleachers: centre aisle, or a side aisle a quarter in from the left or right","type":"string","enum":["none","centre","left","right"]},"lastRow":{"description":"Chair rows and bleachers: where a short back row sits (start = from the left, end = against the right, centre); default start","type":"string","enum":["start","end","centre"]},"variant":{"description":"Drawing variant: oval (round table), head (rect), square (pillar), pew (bench), curved_row (serpentine)","type":"string","maxLength":40}},"additionalProperties":{},"description":"Zone tags, accessibility, classroom row (1 = front), two-sided seating, chair-block grid (rows, perRow, aisle), drawing variant, display hints"}},"required":["kind","label","x","y"]},"RoomItemUpdate":{"type":"object","properties":{"kind":{"type":"string","enum":["table_round","table_square","table_rect","table_banquet","table_sweetheart","table_u","table_serpentine","table_half_moon","table_crescent","table_hollow","table_highboy","picnic_table","booth","booth_u","bar_counter","lounge_set","chair","bench","chair_rows","bleachers","desk","pod","lab_table","stage","dance_floor","bar","dj","buffet","cake_table","gift_table","sign_in_table","photo_booth","coat_check","lectern","screen","arch","aisle_runner","rug","entrance","exit","door","service_door","window","wall","pillar","tent_pole","fireplace","stairs","restrooms","plant","power_point","whiteboard","teacher_desk"]},"label":{"type":"string","minLength":1,"maxLength":200},"x":{"type":"number"},"y":{"type":"number"},"width":{"description":"Defaults to the kind default in config/presets.json","type":"number","exclusiveMinimum":0},"height":{"type":"number","exclusiveMinimum":0},"rotation":{"default":0,"type":"number"},"seatCount":{"description":"Defaults to the kind default; fixtures must be 0","type":"integer","minimum":0,"maximum":9007199254740991},"meta":{"default":{},"type":"object","properties":{"zoneTags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"accessible":{"type":"boolean"},"row":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"twoSided":{"type":"boolean"},"tableNumber":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"color":{"type":"string","maxLength":40},"rows":{"description":"Chair rows and bleachers: number of rows (front row first)","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"perRow":{"description":"Chair rows and bleachers: seats in each row; seatCount = rows x perRow","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"aisle":{"description":"Chair rows and bleachers: centre aisle, or a side aisle a quarter in from the left or right","type":"string","enum":["none","centre","left","right"]},"lastRow":{"description":"Chair rows and bleachers: where a short back row sits (start = from the left, end = against the right, centre); default start","type":"string","enum":["start","end","centre"]},"variant":{"description":"Drawing variant: oval (round table), head (rect), square (pillar), pew (bench), curved_row (serpentine)","type":"string","maxLength":40}},"additionalProperties":{},"description":"Zone tags, accessibility, classroom row (1 = front), two-sided seating, chair-block grid (rows, perRow, aisle), drawing variant, display hints"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"]},"Guest":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"fullName":{"type":"string"},"displayName":{"type":["string","null"]},"householdId":{"type":["string","null"]},"groupName":{"type":["string","null"]},"rsvpStatus":{"type":"string","enum":["attending","pending","declined"]},"mealChoice":{"type":["string","null"]},"dietaryTags":{"type":"array","items":{"type":"string"}},"accessibilityTags":{"type":"array","items":{"type":"string"}},"vip":{"type":"boolean"},"isChild":{"type":"boolean","description":"A child: their meal is counted on the caterer sheet's kids' line"},"notes":{"type":["string","null"]},"assignedItemId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"seatIndex":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"seatLocked":{"type":"boolean"},"sortOrder":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"photoUrl":{"description":"Path of the student photo on this app (GET, same auth as the event); null without a photo","type":["string","null"]}},"required":["id","fullName","displayName","householdId","groupName","rsvpStatus","mealChoice","dietaryTags","accessibilityTags","vip","isChild","notes","assignedItemId","seatIndex","seatLocked","sortOrder"],"additionalProperties":false},"GuestInput":{"type":"object","properties":{"fullName":{"type":"string","minLength":1,"maxLength":200},"displayName":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"householdId":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"groupName":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"rsvpStatus":{"default":"attending","type":"string","enum":["attending","pending","declined"]},"mealChoice":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"dietaryTags":{"default":[],"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"accessibilityTags":{"default":[],"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"vip":{"default":false,"type":"boolean"},"isChild":{"default":false,"type":"boolean"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}},"required":["fullName"]},"GuestPatch":{"type":"object","properties":{"fullName":{"type":"string","minLength":1,"maxLength":200},"displayName":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"householdId":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"groupName":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"rsvpStatus":{"type":"string","enum":["attending","pending","declined"]},"mealChoice":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"dietaryTags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"accessibilityTags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"vip":{"type":"boolean"},"isChild":{"type":"boolean"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]}}},"Constraint":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["must_sit_together","keep_apart","same_table","near_zone","far_from_zone","max_group_per_table","lock_seat","group_affinity","balance_groups"]},"priority":{"type":"string","enum":["hard","soft"]},"weight":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"subjectGuestIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"targetZone":{"type":["string","null"]},"targetItemId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"maxPerTable":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"reason":{"type":["string","null"]},"roundIds":{"description":"Charts with rounds: the rounds this rule applies in; null or absent = every round","anyOf":[{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]}},"required":["id","kind","priority","weight","subjectGuestIds","targetZone","targetItemId","maxPerTable","reason"],"additionalProperties":false},"ConstraintInput":{"type":"object","properties":{"id":{"description":"Pass an existing id to replace that rule","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"kind":{"type":"string","enum":["must_sit_together","keep_apart","same_table","near_zone","far_from_zone","max_group_per_table","lock_seat","group_affinity","balance_groups"]},"priority":{"default":"hard","type":"string","enum":["hard","soft"]},"weight":{"default":100,"description":"Percent of the configured penalty","type":"integer","minimum":0,"maximum":1000},"subjectGuestIds":{"default":[],"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"targetZone":{"anyOf":[{"type":"string","minLength":1,"maxLength":60},{"type":"null"}]},"targetItemId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"maxPerTable":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"roundIds":{"description":"Charts with rounds: only in these rounds; leave out or null for every round","anyOf":[{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"type":"null"}]}},"required":["kind"]},"Event":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"slug":{"type":"string"},"mode":{"type":"string","enum":["wedding","event","classroom"]},"title":{"type":"string"},"eventDate":{"type":["string","null"]},"unit":{"type":"string","enum":["ft","m"]},"roomWidth":{"type":"number"},"roomHeight":{"type":"number"},"settings":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"qrFinderEnabled":{"type":"boolean"},"hasQrPin":{"type":"boolean"},"floorplanKey":{"type":["string","null"]},"ownerId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"claimed":{"type":"boolean","description":"false for an anonymous playground draft"},"presetId":{"type":["string","null"]},"archivedAt":{"type":["string","null"]},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","slug","mode","title","eventDate","unit","roomWidth","roomHeight","settings","qrFinderEnabled","hasQrPin","floorplanKey","ownerId","claimed","presetId","version","createdAt","updatedAt"],"additionalProperties":false},"CreateEventInput":{"type":"object","properties":{"title":{"description":"Defaults to the preset name","type":"string","minLength":1,"maxLength":200},"mode":{"description":"Required without a presetId","type":"string","enum":["wedding","event","classroom"]},"presetId":{"description":"Room template from config/presets.json","type":"string"},"withSampleGuests":{"default":true,"description":"Fill a preset with its fictional sample guests and rules","type":"boolean"},"eventDate":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"unit":{"type":"string","enum":["ft","m"]},"roomWidth":{"type":"number","exclusiveMinimum":0},"roomHeight":{"type":"number","exclusiveMinimum":0}}},"UpdateEventInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"title":{"type":"string","minLength":1,"maxLength":200},"mode":{"type":"string","enum":["wedding","event","classroom"]},"eventDate":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"unit":{"type":"string","enum":["ft","m"]},"roomWidth":{"type":"number","exclusiveMinimum":0},"roomHeight":{"type":"number","exclusiveMinimum":0},"settings":{"description":"Merged into the existing settings; null values remove keys","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"qrFinderEnabled":{"type":"boolean"},"qrPin":{"anyOf":[{"type":"string","pattern":"^\\d{4}$"},{"type":"null"}]},"archived":{"type":"boolean"}},"required":["expectedVersion"]},"DuplicateEventInput":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"eventDate":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"includeGuests":{"default":false,"type":"boolean"}}},"BulkCreateEventsInput":{"type":"object","properties":{"events":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"mode":{"default":"event","type":"string","enum":["wedding","event","classroom"]},"eventDate":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"venueName":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"presetId":{"anyOf":[{"type":"string","maxLength":120},{"type":"null"}]}},"required":["title"]}}},"required":["events"]},"VersionedInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"}},"required":["expectedVersion"]},"SetLayoutInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"items":{"type":"array","items":{"$ref":"#/components/schemas/RoomItemInput"}}},"required":["expectedVersion","items"]},"PatchLayoutInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"add":{"default":[],"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["table_round","table_square","table_rect","table_banquet","table_sweetheart","table_u","table_serpentine","table_half_moon","table_crescent","table_hollow","table_highboy","picnic_table","booth","booth_u","bar_counter","lounge_set","chair","bench","chair_rows","bleachers","desk","pod","lab_table","stage","dance_floor","bar","dj","buffet","cake_table","gift_table","sign_in_table","photo_booth","coat_check","lectern","screen","arch","aisle_runner","rug","entrance","exit","door","service_door","window","wall","pillar","tent_pole","fireplace","stairs","restrooms","plant","power_point","whiteboard","teacher_desk"]},"label":{"type":"string","minLength":1,"maxLength":200},"x":{"type":"number"},"y":{"type":"number"},"width":{"description":"Defaults to the kind default in config/presets.json","type":"number","exclusiveMinimum":0},"height":{"type":"number","exclusiveMinimum":0},"rotation":{"default":0,"type":"number"},"seatCount":{"description":"Defaults to the kind default; fixtures must be 0","type":"integer","minimum":0,"maximum":9007199254740991},"meta":{"default":{},"type":"object","properties":{"zoneTags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"accessible":{"type":"boolean"},"row":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"twoSided":{"type":"boolean"},"tableNumber":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"color":{"type":"string","maxLength":40},"rows":{"description":"Chair rows and bleachers: number of rows (front row first)","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"perRow":{"description":"Chair rows and bleachers: seats in each row; seatCount = rows x perRow","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"aisle":{"description":"Chair rows and bleachers: centre aisle, or a side aisle a quarter in from the left or right","type":"string","enum":["none","centre","left","right"]},"lastRow":{"description":"Chair rows and bleachers: where a short back row sits (start = from the left, end = against the right, centre); default start","type":"string","enum":["start","end","centre"]},"variant":{"description":"Drawing variant: oval (round table), head (rect), square (pillar), pew (bench), curved_row (serpentine)","type":"string","maxLength":40}},"additionalProperties":{},"description":"Zone tags, accessibility, classroom row (1 = front), two-sided seating, chair-block grid (rows, perRow, aisle), drawing variant, display hints"}},"required":["kind","label","x","y"]}},"update":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/RoomItemUpdate"}},"remove":{"default":[],"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["expectedVersion"]},"AddGuestInput":{"type":"object","properties":{"fullName":{"type":"string","minLength":1,"maxLength":200},"displayName":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"householdId":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"groupName":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"rsvpStatus":{"default":"attending","type":"string","enum":["attending","pending","declined"]},"mealChoice":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"dietaryTags":{"default":[],"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"accessibilityTags":{"default":[],"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"vip":{"default":false,"type":"boolean"},"isChild":{"default":false,"type":"boolean"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"restoreId":{"description":"The id this guest had before it was deleted (undo in the editor). Their answers, check-ins and attendance come back if the chart still keeps them; an id it does not know changes nothing.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["fullName"]},"AddGuestsInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"guests":{"minItems":1,"type":"array","items":{"$ref":"#/components/schemas/AddGuestInput"}}},"required":["expectedVersion","guests"]},"UpdateGuestInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"patch":{"$ref":"#/components/schemas/GuestPatch"}},"required":["expectedVersion","patch"]},"BulkUpdateGuestsInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"updates":{"minItems":1,"type":"array","items":{"type":"object","properties":{"fullName":{"type":"string","minLength":1,"maxLength":200},"displayName":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"householdId":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"groupName":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"rsvpStatus":{"type":"string","enum":["attending","pending","declined"]},"mealChoice":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"dietaryTags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"accessibilityTags":{"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"vip":{"type":"boolean"},"isChild":{"type":"boolean"},"notes":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id"]}}},"required":["expectedVersion","updates"]},"DeleteGuestsInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"guestIds":{"minItems":1,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["expectedVersion","guestIds"]},"MoveOperation":{"type":"object","properties":{"guestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"itemId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Table or desk; null unseats the guest"},"seatIndex":{"description":"0-based; omit for the first free seat","anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["guestId","itemId"]},"MoveGuestsInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"operations":{"minItems":1,"type":"array","items":{"$ref":"#/components/schemas/MoveOperation"}}},"required":["expectedVersion","operations"],"description":"Moving onto an occupied seat swaps: the guest there takes the mover's old seat"},"SwapGuestsInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"guestA":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"guestB":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["expectedVersion","guestA","guestB"]},"LockSeatsInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"guestIds":{"minItems":1,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"locked":{"type":"boolean"}},"required":["expectedVersion","guestIds","locked"]},"ImportGuestsInput":{"type":"object","properties":{"expectedVersion":{"description":"Required unless dryRun","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"csvText":{"description":"CSV / TSV / pasted table text, or one name per line","type":"string"},"rows":{"description":"Spreadsheet rows; the first row is the header","type":"array","items":{"type":"array","items":{"type":"string"}}},"guests":{"description":"Already-structured guests","type":"array","items":{"$ref":"#/components/schemas/GuestInput"}},"mapping":{"description":"Override the suggested column for a field: column index, header text, or null to skip the field","type":"object","propertyNames":{"type":"string","enum":["full_name","first_name","last_name","suffix","partner_first_name","partner_last_name","household_id","guest_of","group_name","rsvp_status","meal_choice","dietary_tags","accessibility_tags","vip","is_child","notes","table","photo_url"]},"additionalProperties":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string"},{"type":"null"}]}},"preset":{"description":"Import preset from config/importers.json, e.g. \"joy\", \"zola\", \"google_forms\". Without one, a known export is recognised by its headers","type":"string"},"mealMap":{"description":"Meal as written in the file -> one of the chart's meal choices, or null to keep it as written. Values not listed are matched to the meal choices automatically when the chart asks the meal question","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","null"]}},"answerColumns":{"description":"Columns that hold answers to the chart's questions: each answer is stored for that person","maxItems":20,"type":"array","items":{"type":"object","properties":{"column":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string"}],"description":"Column index or header text"},"questionId":{"description":"One of the chart's own questions (not meal, dietary or child: map those as fields)","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"newQuestion":{"description":"Make a new question from this column; choices come from the values in it","type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":200},"kind":{"type":"string","enum":["single_choice","multi_choice","short_text","yes_no","number"]}},"required":["label","kind"]}},"required":["column"]}},"duplicates":{"default":"merge","description":"merge (default): a row whose name matches a guest already in the event updates that guest and keeps their seat; skip_existing leaves such rows out; import_all adds them as new guests","type":"string","enum":["merge","skip_existing","import_all"]},"dryRun":{"default":false,"description":"Preview the import without saving","type":"boolean"}}},"UpsertConstraintsInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"constraints":{"minItems":1,"type":"array","items":{"$ref":"#/components/schemas/ConstraintInput"}}},"required":["expectedVersion","constraints"]},"DeleteConstraintsInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The event version this change was made against (optimistic locking)"},"constraintIds":{"minItems":1,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["expectedVersion","constraintIds"]},"SolveInput":{"type":"object","properties":{"expectedVersion":{"description":"Required unless dryRun","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"seed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"respectLocks":{"default":true,"type":"boolean"},"dryRun":{"default":false,"description":"Return the result and diff without saving","type":"boolean"}}},"CreateInviteInput":{"type":"object","properties":{"role":{"type":"string","enum":["editor","viewer","caterer"]}},"required":["role"]},"CreateApiKeyInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"scopes":{"type":"array","items":{"type":"string"}}},"required":["name"]},"Violation":{"type":"object","properties":{"kind":{"type":"string"},"constraintId":{"type":"string"},"guestIds":{"type":"array","items":{"type":"string"}},"itemIds":{"type":"array","items":{"type":"string"}},"message":{"type":"string"}},"required":["kind","guestIds","itemIds","message"],"additionalProperties":false},"AssignmentDiff":{"type":"object","properties":{"guestId":{"type":"string"},"from":{"anyOf":[{"type":"object","properties":{"itemId":{"type":"string"},"seatIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["itemId","seatIndex"],"additionalProperties":false},{"type":"null"}]},"to":{"anyOf":[{"type":"object","properties":{"itemId":{"type":"string"},"seatIndex":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["itemId","seatIndex"],"additionalProperties":false},{"type":"null"}]}},"required":["guestId","from","to"],"additionalProperties":false},"Entitlements":{"type":"object","properties":{"tiers":{"type":"array","items":{"type":"string","enum":["free","event_pass","classroom_pro","planner_pro"]}},"watermark":{"type":"boolean"},"freeCleanExports":{"type":"array","items":{"type":"string"}},"cleanExports":{"type":"boolean"},"floorplanImport":{"type":"boolean"},"qrFinder":{"type":"boolean"},"walletPasses":{"type":"boolean"},"maxCollaborators":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"mcpExports":{"type":"boolean"},"restApi":{"type":"boolean"},"whiteLabel":{"type":"boolean"},"classroomPro":{"type":"boolean"},"unlimitedEvents":{"type":"boolean"},"eventPassActive":{"type":"boolean"},"eventPassExpiresAt":{"type":["string","null"]},"ai":{"type":"object","properties":{"copilotLifetime":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"copilotPerEvent":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"copilotPerMonth":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"copilotPerWeek":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"copilotPerDay":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"floorplanPerEvent":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"floorplanPerMonth":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"floorplanPerDay":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["copilotPerDay","floorplanPerDay"],"additionalProperties":false,"description":"AI fair-use limits for this event and account (config/ai.json rateLimitsPerTier)"}},"required":["tiers","watermark","freeCleanExports","cleanExports","floorplanImport","qrFinder","walletPasses","maxCollaborators","mcpExports","restApi","whiteLabel","classroomPro","unlimitedEvents","eventPassActive","eventPassExpiresAt","ai"],"additionalProperties":false},"EventSnapshot":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/Event"},"items":{"type":"array","items":{"$ref":"#/components/schemas/RoomItem"}},"guests":{"type":"array","items":{"$ref":"#/components/schemas/Guest"}},"constraints":{"type":"array","items":{"$ref":"#/components/schemas/Constraint"}},"rounds":{"description":"Seating over several rounds, in order; empty or absent for a chart without rounds","type":"array","items":{"$ref":"#/components/schemas/Round"}},"version":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"access":{"type":"object","properties":{"role":{"type":"string","enum":["owner","editor","viewer","caterer"]},"permissions":{"type":"array","items":{"type":"string","enum":["event.read","constraints.read","event.update","event.delete","layout.write","guests.write","constraints.write","solve","invites.manage","collaborators.manage","exports.create","exports.caterer"]}}},"required":["role","permissions"],"additionalProperties":false},"entitlements":{"$ref":"#/components/schemas/Entitlements"}},"required":["event","items","guests","constraints","version","access","entitlements"],"additionalProperties":false},"Attendance":{"type":"object","properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"absentGuestIds":{"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"Students marked absent that day; everyone else counts as present"},"records":{"type":"array","items":{"type":"object","properties":{"guestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["present","absent"]},"updatedAt":{"type":"string"}},"required":["guestId","status","updatedAt"],"additionalProperties":false}}},"required":["date","absentGuestIds","records"],"additionalProperties":false},"SetAttendanceInput":{"type":"object","properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"changes":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"guestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["present","absent"]}},"required":["guestId","status"]}}},"required":["date","changes"]},"FinderSettingsInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"enabled":{"type":"boolean"},"pin":{"description":"null removes the PIN","anyOf":[{"type":"string","pattern":"^\\d{4}$"},{"type":"null"}]},"generatePin":{"description":"Set a new random PIN (returned in pin)","type":"boolean","const":true}},"required":["expectedVersion"]},"CreateVendorLinkInput":{"type":"object","properties":{"kind":{"type":"string","enum":["caterer","venue","florist","planner","other","door"],"description":"caterer, venue (venue coordinator and rentals), florist (florist and decor), planner, other, or door (door staff: check-in only)"},"name":{"type":"string","minLength":1,"maxLength":60,"description":"Who the link is for, e.g. \"Rosemary Catering\" or \"Front door\""},"pin":{"description":"Optional PIN the recipient types once on each phone","anyOf":[{"type":"string","pattern":"^\\d{4}$"},{"type":"null"}]},"generatePin":{"description":"Set a random PIN (returned in pin)","type":"boolean","const":true}},"required":["kind","name"]},"UpdateVendorLinkInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":60},"pin":{"description":"null removes the PIN","anyOf":[{"type":"string","pattern":"^\\d{4}$"},{"type":"null"}]},"generatePin":{"type":"boolean","const":true}}},"VendorFinalInput":{"type":"object","properties":{"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The chart version to call final: must be the current version"},"deadline":{"description":"The caterer's deadline for final numbers, if any","anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]}},"required":["version"]},"VendorAckInput":{"type":"object","properties":{"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["version"]},"CheckInInput":{"type":"object","properties":{"changes":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"object","properties":{"guestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["arrived","no_show","expected"],"description":"arrived, no_show, or expected (undo: not here yet)"},"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)))$","description":"When the tap happened on the device (ISO). Later taps win; an older one arriving late changes nothing."}},"required":["guestId","status"]},"description":"At most config day-of maxChangesPerRequest. Taps for guests no longer on the check-in list are refused one by one (refused), the rest are saved"},"roundId":{"description":"Charts that check in per round: the round (default: the round day-of mode is on)","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["changes"]},"DayOfSettingsInput":{"type":"object","properties":{"selfCheckIn":{"description":"Guests can tap \"I'm here\" on the seat finder","type":"boolean"},"perRound":{"description":"Charts with rounds: check in once per round instead of once for the event","type":"boolean"},"roundId":{"description":"The round being checked in (per-round charts)","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}}},"WalkInInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"name":{"description":"The walk-in's name (default \"Walk-in guest\")","type":"string","maxLength":80},"withGuestId":{"description":"Seat them near this guest (joins their household for seating)","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"meal":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}]},"seat":{"description":"Put them here instead of the suggested seat","anyOf":[{"type":"object","properties":{"itemId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seatIndex":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["itemId","seatIndex"]},{"type":"null"}]},"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)))$","description":"When the tap happened on the device (ISO). Later taps win; an older one arriving late changes nothing."}},"required":["expectedVersion"]},"DayOfMoveInput":{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"guestId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The guest to move"},"seat":{"description":"Move them here (a free seat or a no-show's); default the suggested seat","anyOf":[{"type":"object","properties":{"itemId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seatIndex":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["itemId","seatIndex"]},{"type":"null"}]}},"required":["expectedVersion","guestId"]},"SuggestSeatInput":{"type":"object","properties":{"withGuestId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"guestId":{"description":"Suggest a new seat for this guest (for example a no-show who turned up after their seat was given away)","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}}},"LayoutFeatures":{"type":"object","properties":{"danceFloor":{"description":"A dance floor sized to the guests (3 sq ft per dancer, two thirds dancing); \"centre\" puts it in the middle of the room","anyOf":[{"type":"boolean"},{"type":"object","properties":{"at":{"type":"string","enum":["front","centre"]}},"required":["at"],"additionalProperties":false}]},"stage":{"anyOf":[{"type":"boolean"},{"type":"object","properties":{"width":{"type":"number","exclusiveMinimum":0,"maximum":80},"depth":{"type":"number","exclusiveMinimum":0,"maximum":40}},"additionalProperties":false}]},"head":{"type":"object","properties":{"type":{"type":"string","enum":["sweetheart","head","double","kings","court"],"description":"sweetheart (the couple), head (one side, facing the room), double (both sides), kings (one long table down the middle), court (quinceañera court)"},"seats":{"type":"integer","minimum":1,"maximum":40},"riser":{"type":"boolean"}},"required":["type"],"additionalProperties":false},"bar":{"description":"true = one per 100 guests","anyOf":[{"type":"boolean"},{"type":"integer","minimum":0,"maximum":6}]},"buffet":{"description":"true = one line per 100 guests","anyOf":[{"type":"boolean"},{"type":"integer","minimum":0,"maximum":6}]},"dj":{"type":"boolean"},"cake":{"type":"boolean"},"gift":{"type":"boolean"},"signIn":{"type":"boolean"},"photoBooth":{"type":"boolean"},"lectern":{"type":"boolean"},"screen":{"type":"boolean"},"whiteboard":{"type":"boolean"},"teacherDesk":{"type":"boolean"},"lounge":{"description":"Lounge sets added around the edge","type":"integer","minimum":0,"maximum":12},"rug":{"type":"integer","minimum":0,"maximum":4},"kitchenDoor":{"type":"boolean"},"arch":{"description":"Ceremony arch or altar at the front","type":"boolean"},"hostStand":{"type":"boolean"}},"additionalProperties":false},"LayoutEvent":{"type":"object","properties":{"guests":{"type":"integer","minimum":1,"maximum":1500},"style":{"type":"string","enum":["rounds","squares","banquet","family","mixed","cabaret","u","hollow","boardroom","theater","ceremony","classroom","desks","pairs","pods","picnic","cocktail","lounge","restaurant","benches","bleachers","circle"],"description":"rounds, squares, banquet, family, mixed, cabaret, u, hollow, boardroom, theater, ceremony, classroom (tables facing the front), desks, pairs, pods, picnic, cocktail, lounge, restaurant, benches, bleachers, circle"},"mode":{"type":"string","enum":["wedding","event","classroom"]},"table":{"description":"Table size, e.g. round60 (60 in, 8 seats) or round72 (72 in, 10 seats)","type":"string","enum":["round48","round60","round66","round72","square60","square36","twoTop","rect6","rect8","farm8","crescent60","picnic6","picnic8","highboy","booth","boothU","lounge","desk","pairDesk","lab6","lab8","bench"]},"seatsPerTable":{"type":"integer","minimum":1,"maximum":40},"arrangement":{"description":"Put this arrangement first, e.g. staggered rounds, centre-aisle or curved rows","type":"string","enum":["grid","staggered","along","across","centre-aisle","two-aisles","no-aisle","curved","half-circle","in-the-round","chevron","facing","u","stations","spaced","perimeter"]},"longShare":{"type":"number","minimum":0,"maximum":1},"booths":{"type":"integer","minimum":0,"maximum":60},"counterSeats":{"type":"integer","minimum":0,"maximum":120},"twoTopShare":{"type":"number","minimum":0,"maximum":1},"reservedRows":{"type":"integer","minimum":0,"maximum":10},"angle":{"type":"number","minimum":0,"maximum":45},"breakout":{"type":"object","properties":{"guests":{"type":"integer","minimum":1,"maximum":1500},"table":{"type":"string","enum":["round48","round60","round66","round72","square60","square36","twoTop","rect6","rect8","farm8","crescent60","picnic6","picnic8","highboy","booth","boothU","lounge","desk","pairDesk","lab6","lab8","bench"]}},"required":["guests"],"additionalProperties":false}},"required":["guests","style"],"additionalProperties":false},"PlanRoomLayoutInput":{"type":"object","properties":{"room":{"type":"object","properties":{"width":{"type":"number","minimum":8,"maximum":400},"depth":{"type":"number","minimum":8,"maximum":400},"unit":{"default":"ft","type":"string","enum":["ft","m"]},"front":{"type":"string","enum":["top","bottom","left","right"]},"openSides":{"type":"boolean"},"features":{"default":[],"maxItems":80,"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["table_round","table_square","table_rect","table_banquet","table_sweetheart","table_u","table_serpentine","table_half_moon","table_crescent","table_hollow","table_highboy","picnic_table","booth","booth_u","bar_counter","lounge_set","chair","bench","chair_rows","bleachers","desk","pod","lab_table","stage","dance_floor","bar","dj","buffet","cake_table","gift_table","sign_in_table","photo_booth","coat_check","lectern","screen","arch","aisle_runner","rug","entrance","exit","door","service_door","window","wall","pillar","tent_pole","fireplace","stairs","restrooms","plant","power_point","whiteboard","teacher_desk"]},"label":{"type":"string","maxLength":200},"x":{"type":"number"},"y":{"type":"number"},"width":{"type":"number","exclusiveMinimum":0,"maximum":400},"height":{"type":"number","exclusiveMinimum":0,"maximum":400},"rotation":{"type":"number"},"meta":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["kind","x","y","width","height"]}}},"required":["width","depth"]},"event":{"$ref":"#/components/schemas/LayoutEvent"},"features":{"default":{},"$ref":"#/components/schemas/LayoutFeatures"},"prefs":{"default":{},"type":"object","properties":{"spread":{"type":"boolean"},"roomy":{"type":"boolean"},"sightlines":{"type":"boolean"}},"additionalProperties":false},"seed":{"default":1,"type":"integer","minimum":0,"maximum":2147483647}},"required":["room","event"]},"PlanChartLayoutInput":{"type":"object","properties":{"event":{"$ref":"#/components/schemas/LayoutEvent"},"features":{"default":{},"$ref":"#/components/schemas/LayoutFeatures"},"prefs":{"default":{},"type":"object","properties":{"spread":{"type":"boolean"},"roomy":{"type":"boolean"},"sightlines":{"type":"boolean"}},"additionalProperties":false},"seed":{"default":1,"type":"integer","minimum":0,"maximum":2147483647},"room":{"description":"A new room size; leave out to keep the chart room","type":"object","properties":{"width":{"type":"number","minimum":8,"maximum":400},"depth":{"type":"number","minimum":8,"maximum":400}},"required":["width","depth"]}},"required":["event"]},"ApplyChartLayoutInput":{"anyOf":[{"type":"object","properties":{"event":{"$ref":"#/components/schemas/LayoutEvent"},"features":{"default":{},"$ref":"#/components/schemas/LayoutFeatures"},"prefs":{"default":{},"type":"object","properties":{"spread":{"type":"boolean"},"roomy":{"type":"boolean"},"sightlines":{"type":"boolean"}},"additionalProperties":false},"seed":{"default":1,"type":"integer","minimum":0,"maximum":2147483647},"room":{"description":"A new room size; leave out to keep the chart room","type":"object","properties":{"width":{"type":"number","minimum":8,"maximum":400},"depth":{"type":"number","minimum":8,"maximum":400}},"required":["width","depth"]},"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"option":{"default":"option-1","description":"Which candidate from the plan, e.g. \"option-2\"","type":"string","pattern":"^option-\\d+$"}},"required":["event","expectedVersion"]},{"type":"object","properties":{"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"gallery":{"type":"string","minLength":1,"maxLength":160,"description":"A gallery layout slug from /templates"}},"required":["expectedVersion","gallery"]}]},"VenueDetailsInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120,"description":"What people call the room, e.g. \"The Grand Ballroom\""},"address":{"description":"Optional street address","anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"notes":{"description":"Optional notes for next time: load-in door, power, house tables and chairs","anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]}},"required":["name"]},"SaveVenueInput":{"type":"object","properties":{"venueId":{"description":"Add to (or replace a setup of) this venue of yours. Leave out to make a new venue","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"venue":{"description":"A new venue, when venueId is left out","$ref":"#/components/schemas/VenueDetailsInput"},"setupId":{"description":"Replace this setup of venueId instead of adding a new one","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"setupName":{"type":"string","minLength":1,"maxLength":120,"description":"e.g. \"200 at rounds\", \"Ceremony rows\", \"Cocktail\""},"keepLabels":{"default":false,"description":"Keep the table names; otherwise they become \"Table 1\", \"Table 2\"","type":"boolean"},"expectedVersion":{"description":"The chart version you last saw (the chart records which venue it was saved to)","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["setupName"]},"UpdateVenueInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120},"address":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}]},"notes":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}]}}},"UpdateVenueSetupInput":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":120}},"required":["name"]},"DuplicateVenueSetupInput":{"type":"object","properties":{"name":{"description":"Defaults to the setup name with \" (copy)\"","type":"string","minLength":1,"maxLength":120}}},"ApplyVenueSetupInput":{"type":"object","properties":{"venueId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"setupId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"The chart version you last saw"}},"required":["venueId","setupId","expectedVersion"]},"CreateChartFromSetupInput":{"type":"object","properties":{"title":{"description":"Defaults to the venue name","type":"string","minLength":1,"maxLength":120},"mode":{"description":"Defaults to the kind of chart the setup was saved from","type":"string","enum":["wedding","event","classroom"]},"eventDate":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]}}},"UpdateVenueFromChartInput":{"type":"object","properties":{"keepLabels":{"default":false,"description":"Keep the table names; otherwise they become \"Table 1\", \"Table 2\"","type":"boolean"}}},"VenueLinkInput":{"type":"object","properties":{"keepLabels":{"default":false,"description":"Show the table names; otherwise \"Table 1\", \"Table 2\"","type":"boolean"}}},"RemixLinkInput":{"type":"object","properties":{"setupId":{"description":"Venue links: the setup to start from (from GET /layouts/{token})","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["bad_request","unauthorized","invalid_token","forbidden","insufficient_scope","upgrade_required","not_found","version_conflict","conflict","validation_failed","limit_reached","internal_error"]},"message":{"type":"string"},"liveVersion":{"type":"integer","description":"version_conflict: the event version now"},"upgradeUrl":{"type":"string","description":"upgrade_required: where the human can upgrade"},"issues":{"type":"array","items":{"type":"object","properties":{"path":{"type":"array"},"message":{"type":"string"}}}}},"additionalProperties":true}}}}},"paths":{"/events":{"get":{"tags":["Events"],"summary":"List events you own or collaborate on (or your playground drafts)","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"events":{"type":"array","items":{"type":"object"}}}}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Events"],"summary":"Create an event, blank or from a preset. Without auth this starts an anonymous playground draft (sets the claim cookie).","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEventInput"}}}},"security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSnapshot"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}":{"get":{"tags":["Events"],"summary":"Full snapshot: event, items, guests, constraints, version, your access and entitlements","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSnapshot"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"tags":["Events"],"summary":"Update title, date, room size, settings, QR finder","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEventInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Events"],"summary":"Delete the event (owner only)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionedInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/changes":{"get":{"tags":["Events"],"summary":"Change history, newest first","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/stream":{"get":{"tags":["Events"],"summary":"Server-Sent Events: a \"version\" message on connect and after every committed change","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/layout":{"put":{"tags":["Layout"],"summary":"Replace all room items (pass ids to keep items and their guests)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetLayoutInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"tags":["Layout"],"summary":"Add, update and remove room items","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatchLayoutInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/guests":{"get":{"tags":["Guests"],"summary":"List guests","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"guests":{"type":"array","items":{"$ref":"#/components/schemas/Guest"}},"version":{"type":"integer"}}}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Guests"],"summary":"Add guests","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddGuestsInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"tags":["Guests"],"summary":"Bulk update guests","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUpdateGuestsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Guests"],"summary":"Delete guests (also removes them from rules)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteGuestsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/guests/{guestId}":{"patch":{"tags":["Guests"],"summary":"Update one guest","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"guestId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGuestInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Guests"],"summary":"Delete one guest","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"guestId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionedInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/guests/import":{"post":{"tags":["Guests"],"summary":"Import from CSV/pasted text, sheet rows or structured guests, with mapping overrides and a duplicate report","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportGuestsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/guests/move":{"post":{"tags":["Guests"],"summary":"Move guests to seats; moving onto an occupied seat swaps","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveGuestsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/guests/swap":{"post":{"tags":["Guests"],"summary":"Swap two guests","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwapGuestsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/guests/lock":{"post":{"tags":["Guests"],"summary":"Lock or unlock seats","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LockSeatsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/constraints":{"get":{"tags":["Rules"],"summary":"List seating rules","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"constraints":{"type":"array","items":{"$ref":"#/components/schemas/Constraint"}},"version":{"type":"integer"}}}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Rules"],"summary":"Create or replace seating rules","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertConstraintsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Rules"],"summary":"Delete seating rules","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteConstraintsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/solve":{"post":{"tags":["Seating"],"summary":"Run the deterministic auto-seat solver (dryRun previews without saving)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolveInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/validate":{"get":{"tags":["Seating"],"summary":"Check the current seating: unseated guests, over-capacity tables, broken rules. ?roundId= checks one round of a chart with rounds (default the first)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/table-summary":{"get":{"tags":["Seating"],"summary":"Per table: seats used, guests, meal counts, dietary flags. ?roundId= for one round of a chart with rounds (default the first)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/invites":{"get":{"tags":["Sharing"],"summary":"List live invite links","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Sharing"],"summary":"Create an invite link for a role (viewer links are free and unlimited)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInviteInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/invites/{inviteId}":{"delete":{"tags":["Sharing"],"summary":"Revoke an invite link","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"inviteId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/collaborators":{"get":{"tags":["Sharing"],"summary":"Owner and collaborators","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/collaborators/{userId}":{"delete":{"tags":["Sharing"],"summary":"Remove a collaborator (or leave the event)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"userId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/invites/{token}/accept":{"post":{"tags":["Sharing"],"summary":"Accept an invite as the signed-in user","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/shared/{token}":{"get":{"tags":["Sharing"],"summary":"Read-only snapshot through a view-only link; no account needed","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSnapshot"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/layout-link":{"get":{"tags":["Sharing"],"summary":"The live \"Share this layout\" link of the chart, or null (needs layout.write)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Sharing"],"summary":"Make a public link to a copy of the room only: size, tables, desks, fixtures and zones; never guests, rules or notes. Body: { keepLabels?: boolean }. Replaces the previous link","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Sharing"],"summary":"Turn off the chart's layout links","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/layouts/{token}":{"get":{"tags":["Sharing"],"summary":"What a layout link holds (no account needed): a room link gives { layout, summary }; a venue link gives { venue } with its name, address, notes and every setup. Never guests","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/layouts/{token}/remix":{"post":{"tags":["Sharing"],"summary":"Start your own chart from a layout link (venue links: the setupId in the body). Without auth this makes a playground draft (sets the claim cookie)","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemixLinkInput"}}}},"security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSnapshot"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/layouts/{token}/save":{"post":{"tags":["Sharing"],"summary":"Signed in: copy the venue behind a venue link, with every setup, into your venues","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/layouts/{token}/setups/{setupId}/thumbnail":{"get":{"tags":["Sharing"],"summary":"One setup of a venue link drawn as SVG (no names)","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}},{"name":"setupId","in":"path","required":true,"schema":{"type":"string"}}],"security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/venues":{"get":{"tags":["Venues"],"summary":"Your venues, last used first, each with its setups (room size, capacity, last used). Saving venues is free on every plan","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/venues/{venueId}":{"get":{"tags":["Venues"],"summary":"One venue with every setup and its room items","parameters":[{"name":"venueId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"tags":["Venues"],"summary":"Rename the venue or change its address and notes","parameters":[{"name":"venueId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVenueInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Venues"],"summary":"Delete the venue and its setups. Charts made from it keep their rooms","parameters":[{"name":"venueId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/venues/{venueId}/setups/{setupId}":{"patch":{"tags":["Venues"],"summary":"Rename a setup","parameters":[{"name":"venueId","in":"path","required":true,"schema":{"type":"string"}},{"name":"setupId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVenueSetupInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Venues"],"summary":"Delete a setup (a venue keeps at least one)","parameters":[{"name":"venueId","in":"path","required":true,"schema":{"type":"string"}},{"name":"setupId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/venues/{venueId}/setups/{setupId}/duplicate":{"post":{"tags":["Venues"],"summary":"Copy a setup within its venue","parameters":[{"name":"venueId","in":"path","required":true,"schema":{"type":"string"}},{"name":"setupId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DuplicateVenueSetupInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/venues/{venueId}/setups/{setupId}/charts":{"post":{"tags":["Venues"],"summary":"Start a new chart in your account with a copy of this setup (editing the venue later never changes the chart)","parameters":[{"name":"venueId","in":"path","required":true,"schema":{"type":"string"}},{"name":"setupId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChartFromSetupInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventSnapshot"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/venues/{venueId}/setups/{setupId}/thumbnail":{"get":{"tags":["Venues"],"summary":"The setup drawn as SVG (no names)","parameters":[{"name":"venueId","in":"path","required":true,"schema":{"type":"string"}},{"name":"setupId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/venues/{venueId}/link":{"get":{"tags":["Venues"],"summary":"The live venue link, or null (owner only)","parameters":[{"name":"venueId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Venues"],"summary":"Make a public link to the venue and every setup as it is now, for couples who book the room. Replaces the previous link","parameters":[{"name":"venueId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VenueLinkInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Venues"],"summary":"Turn off the venue link","parameters":[{"name":"venueId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/venue":{"get":{"tags":["Venues"],"summary":"The venue setup this chart came from, if it is one of yours, or null (needs layout.write)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Venues"],"summary":"Save the chart room as a venue setup: a new venue, a new setup of one of yours, or in place of a setup. Copies the room only (never guests, rules or notes)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveVenueInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/venue/apply":{"post":{"tags":["Venues"],"summary":"Load a venue setup into the chart: replaces the room in one change. Guests at tables the setup keeps stay seated; the rest are unseated and listed","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyVenueSetupInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/venue/update":{"post":{"tags":["Venues"],"summary":"Update the venue setup this chart came from with the room as it is now","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVenueFromChartInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/questions":{"get":{"tags":["Questions"],"summary":"The questions for the people in the seats, every person's answers (not on view-only links), who has not answered, and the guests' link with a ready-to-paste message","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Questions"],"summary":"Add a question: meal (writes each person's meal), dietary (writes dietary tags, severe allergy flag), child, or your own: single_choice, multi_choice, short_text, yes_no, number. Owners and editors","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/questions/{questionId}":{"patch":{"tags":["Questions"],"summary":"Change a question. Renaming a meal choice renames it for everyone who picked it; removing a choice removes its answers","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"questionId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionPatch"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Questions"],"summary":"Delete a question and its answers. Meals and dietary tags stay on the guests","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"questionId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/questions/order":{"put":{"tags":["Questions"],"summary":"Set the order guests see the questions in","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReorderQuestionsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/questions/link":{"put":{"tags":["Questions"],"summary":"Turn the guests' questions link on or off. Off takes effect on the next request","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuestionsLinkInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/guests/{guestId}/answers":{"put":{"tags":["Questions"],"summary":"Fill in or correct one person's answers (owners and editors; no deadline applies)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"guestId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostAnswersInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/meal-counts":{"get":{"tags":["Questions"],"summary":"Meal totals for the kitchen: adults by meal, kids' meals, vendor meals (events.settings.vendorMeals) and total plates. Owners, editors and caterers","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/rounds":{"get":{"tags":["Rounds"],"summary":"Seating over several rounds (courses, sessions, days, weeks): the rounds in order with every seat, the rules across rounds (events.settings.rounds) and how many new people everyone meets","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Rounds"],"summary":"Add rounds after the last one (copy a round's seating, give exact seats, or start empty). On a chart without rounds its seating becomes the first round. Returns firstId (when made) and addedIds","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRoundsInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/rounds/{roundId}":{"patch":{"tags":["Rounds"],"summary":"Rename a round","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"roundId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRoundInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Rounds"],"summary":"Delete a round and its seating. Deleting the first round moves the next round onto the guests; down to one round, the chart stops using rounds and keeps that seating. Rules only for deleted rounds are deleted","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"roundId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionedInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/rounds/order":{"put":{"tags":["Rounds"],"summary":"Put the rounds in a new order (every round once). When another round becomes first, its seats move onto the guests' own fields and the old first round keeps its seats as a round","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReorderRoundsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/rounds/{roundId}/seats":{"post":{"tags":["Rounds"],"summary":"Set exact seats (and locks) for guests in one round; guests not listed keep theirs","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"roundId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetRoundSeatsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/rounds/solve":{"post":{"tags":["Rounds"],"summary":"Auto-seat one, several or every round at once so people meet new tablemates (deterministic; dryRun previews). Rules apply in the rounds they list (Constraint.roundIds); locks are per round","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SolveRoundsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/rounds/history":{"get":{"tags":["Rounds"],"summary":"The seating memory: new connections per round, pairs who shared a table more than once, and with ?guestId= everyone that guest sat with, round by round","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/me":{"get":{"tags":["Account"],"summary":"Current actor, plan and sign-in providers","security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api-keys":{"get":{"tags":["Account"],"summary":"List API keys (browser session only)","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Account"],"summary":"Create an API key; the key is shown once (browser session only)","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiKeyInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api-keys/{keyId}":{"delete":{"tags":["Account"],"summary":"Revoke an API key","parameters":[{"name":"keyId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/presets":{"get":{"tags":["Presets"],"summary":"Room templates and item kinds","security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auto-layout":{"post":{"tags":["Layout"],"summary":"Lay out a room (no chart): up to 3 candidate layouts for the guest count and seating style, with features placed and the spacing checked. Nothing is saved","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanRoomLayoutInput"}}}},"security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/auto-layout/plan":{"post":{"tags":["Layout"],"summary":"Candidate layouts for this chart's room (its size and fixed features). Nothing is changed","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanChartLayoutInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/auto-layout":{"post":{"tags":["Layout"],"summary":"Apply a planned layout (option, re-run on the server) or a gallery layout (gallery slug) in one change. Fixed features stay; tables with the same kind and name keep their guests, the rest are unseated and listed","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApplyChartLayoutInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/gallery":{"get":{"tags":["Layout"],"summary":"The layout gallery (/templates) as data. Query: mode, guests (nearest first), q (words), limit","security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/exports/options":{"get":{"tags":["Print"],"summary":"What this event can print: kinds, themes, sizes, layouts, and which kinds are watermarked on its plan","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/exports":{"post":{"tags":["Print"],"summary":"Render a print PDF (poster, cards, caterer packet, room plan, A to Z list, sub folder, QR sign). Cached per event version; returns a signed download URL, the watermark flag and an upgradeUrl when watermarked","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportOptions"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportResult"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"get":{"tags":["Print"],"summary":"Recent exports of this event","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"exports":{"type":"array","items":{"$ref":"#/components/schemas/ExportRecord"}},"version":{"type":"integer"}}}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/exports/{exportId}":{"get":{"tags":["Print"],"summary":"One export with a fresh signed download URL (stale = made at an older event version)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"exportId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/exports/{exportId}/file":{"get":{"tags":["Print"],"summary":"Stream the PDF (browser session); ?inline=1 to view instead of download","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"exportId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/exports/caterer-csv":{"get":{"tags":["Print"],"summary":"Caterer report as CSV: one row per plate (table, seat, guest, plate: adult, child or vendor, meal, dietary, severe allergy, accessibility, notes), then meal totals (clean on every plan)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/exports/caterer-packet":{"get":{"tags":["Print"],"summary":"The caterer packet PDF as a download (made or reused at the current version). Owners, editors and caterers. Header: X-Watermarked","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/exports/preview":{"get":{"tags":["Print"],"summary":"PNG of one page exactly as it will print. Query: the ExportOptions fields plus page (1-based). Headers: X-Page-Count, X-Watermarked","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/attendance":{"get":{"tags":["Classroom"],"summary":"Attendance for one day (query: date=YYYY-MM-DD). Students without a mark count as present","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Attendance"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Classroom"],"summary":"Mark students present or absent for a day. Not versioned: attendance changes the day, not the chart","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetAttendanceInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Attendance"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/attendance/csv":{"get":{"tags":["Classroom"],"summary":"Attendance history as CSV (query: from, to as YYYY-MM-DD). Needs Classroom Pro or Planner Pro","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/photos/{guestId}":{"get":{"tags":["Classroom"],"summary":"A student's photo (the Guest photoUrl)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"guestId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Classroom"],"summary":"Set or replace a student's photo: JPEG or PNG, versioned like any guest change. Needs Classroom Pro or Planner Pro","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"guestId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file","expectedVersion"],"properties":{"file":{"type":"string","format":"binary"},"expectedVersion":{"type":"integer"}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Classroom"],"summary":"Remove a student's photo","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"guestId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionedInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/vendor-links":{"get":{"tags":["Vendors"],"summary":"Vendor and door staff links (owner): each with its URL, PIN, last viewed, the version the vendor confirmed with Got it, and statusText (\"Rosemary Catering has the latest (version 14)\"), plus the final-for-vendors marker and its late changes","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Vendors"],"summary":"Make a no-account link for one vendor (caterer, venue, florist, planner, other) or for door staff (door: check-in only). Optional PIN. Does not change the chart version","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVendorLinkInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/vendor-links/{linkId}":{"patch":{"tags":["Vendors"],"summary":"Rename a link or set, generate or remove its PIN (a new PIN signs out phones that used the old one)","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"linkId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVendorLinkInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Vendors"],"summary":"Revoke a link: it then answers the same 404 as a link that never existed","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"linkId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/vendor-final":{"put":{"tags":["Vendors"],"summary":"Mark the current version final for vendors, with the caterer's deadline if any. Later changes show as late changes to vendors and the owner","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorFinalInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Vendors"],"summary":"Clear the final-for-vendors marker","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/links/{token}":{"servers":[{"url":"https://nicelyseated.com/api"}],"get":{"tags":["Vendors"],"summary":"A vendor link, no account: the chart as it is now for that vendor (caterer: meals per table, every seat with allergies, kids and vendor meals; venue: plan, sizes, seat counts, rentals; florist: tables, sizes and shapes; never names for venue, florist or other), what changed since they last confirmed, the final marker and late changes. ?visit=1 records a page view","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/links/{token}/pin":{"servers":[{"url":"https://nicelyseated.com/api"}],"post":{"tags":["Vendors"],"summary":"Unlock a vendor or door staff link on this phone with its PIN (sets a cookie). Only wrong PINs count against the visitor's IP","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/links/{token}/ack":{"servers":[{"url":"https://nicelyseated.com/api"}],"post":{"tags":["Vendors"],"summary":"Got it: the vendor confirms the version on their screen (409 with liveVersion when the chart moved on)","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VendorAckInput"}}}},"security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/links/{token}/print":{"servers":[{"url":"https://nicelyseated.com/api"}],"get":{"tags":["Vendors"],"summary":"The vendor's PDF (caterer packet, or a floor plan without names) with version and time in the footer and a QR code to the live link. ?tz= for the time zone","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/links/{token}/stream":{"servers":[{"url":"https://nicelyseated.com/api"}],"get":{"tags":["Vendors"],"summary":"Server-Sent Events for a vendor or door staff link: a \"version\" message on connect and after every change (door staff also hear check-ins). Never who changed it","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/day-of":{"get":{"tags":["Day of"],"summary":"Day-of mode: everyone coming with their table, seat and check-in status, the arrived count (\"112 of 180 here\"), no-shows, walk-ins, free seats (no-shows count as free) and the room. ?roundId= on charts that check in per round","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"patch":{"tags":["Day of"],"summary":"Day-of switches: self check-in on the seat finder, check in per round. Not part of the chart version","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DayOfSettingsInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/day-of/check-ins":{"post":{"tags":["Day of"],"summary":"Check guests in, mark no-shows, or undo (status expected). The latest tap (at) wins; repeating a tap never duplicates. Not part of the chart version","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckInInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/day-of/suggest-seat":{"post":{"tags":["Day of"],"summary":"A free seat for a walk-in (or a guest who needs a new one) that keeps the chart's rules: everyone seated stays put and no-shows' seats count as free. Changes nothing","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestSeatInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/day-of/walk-ins":{"post":{"tags":["Day of"],"summary":"Add a walk-in, seat them (the suggested seat unless one is given) and check them in, in one chart change. A no-show in that seat leaves it; their original seat is remembered","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalkInInput"}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/day-of/moves":{"post":{"tags":["Day of"],"summary":"Move a guest on the night to the seat given or the suggested one, in one chart change. A no-show's seat can be used: the no-show leaves it and their original seat is remembered","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DayOfMoveInput"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/day-of/summary":{"get":{"tags":["Day of"],"summary":"After the event: expected, arrived, no-shows, walk-ins and not checked in","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/day-of/csv":{"get":{"tags":["Day of"],"summary":"The check-in list as CSV: guest, table, seat, status, walk-in, time and how (planner, door staff link, seat finder). ?tz= for times","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/links/{token}/door":{"servers":[{"url":"https://nicelyseated.com/api"}],"get":{"tags":["Day of"],"summary":"A door staff link, no account: names, tables, seats and who is here. No meals, notes or answers","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/links/{token}/check-ins":{"servers":[{"url":"https://nicelyseated.com/api"}],"post":{"tags":["Day of"],"summary":"Door staff check people in or undo it (status arrived or expected; never no_show). The latest tap wins","parameters":[{"name":"token","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckInInput"}}}},"security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/find/{slug}/check-in":{"servers":[{"url":"https://nicelyseated.com/api"}],"post":{"tags":["Day of"],"summary":"\"I'm here\" on the seat finder: body { ticket } from the guest's lookup. Needs the finder live, its PIN when set, and self check-in left on","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"security":[{},{"bearerAuth":[]},{"sessionCookie":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{eventId}/exports/specimens/{themeId}":{"get":{"tags":["Print"],"summary":"SVG sample of a print theme set with this event's title and guests","parameters":[{"name":"eventId","in":"path","required":true,"schema":{"type":"string"}},{"name":"themeId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Malformed request (bad_request)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Not signed in or bad token (unauthorized, invalid_token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Role, scope or plan does not allow this (forbidden, insufficient_scope, upgrade_required with upgradeUrl)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not found or no access (not_found)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"Stale expectedVersion (version_conflict, with liveVersion)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Input failed validation (validation_failed with issues, limit_reached)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}}}