# Seating tools

[All tool areas](/docs/tools.md). Each tool acts within your access.

## Seating

### assign_tables

Put a session's guests at its tables automatically: `fill` (the default) seats everyone not at a table in the free seats and leaves everyone seated where they are; `reset` seats everyone not placed by staff again from scratch, around the guests staff placed. Parties are kept together, largest first, each at the smallest table with room for it, and a party too big for any table is split across the fewest. Guests are also seated automatically as they book, so this is for after the tables change or to start over. Runs at once, with no preview; needs an Idempotency-Key, and a retry with the same key answers with the first call's result. undo_assign_tables takes it back. Returns what changed, how many are still without a seat, and the session's seating.

Acts right away · Members of an organization · Needs checkins:write

#### Input

- `sessionId` — string; required. The session's id, from list_sessions
- `mode` — string; optional. fill: seat every unassigned guest in free seats, leaving everyone seated where they are. reset: seat everyone not placed by staff again from scratch, around the guests staff placed Allowed: "fill", "reset"; default: "fill"

#### Output

- `assignmentId` — string or null; required. The assignment, for undo_assign_tables (evt_…); null when nothing changed
- `mode` — string; required.  Allowed: "fill", "reset"
- `changed` — array; required. 
  - `changed[]` — object; optional. 
    - `changed[].orderId` — string; required. 
    - `changed[].code` — string; required. 
    - `changed[].position` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `changed[].from` — object or null; required. Where they were; null: unassigned
      - `changed[].from.table` — string; required. 
      - `changed[].from.seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `changed[].from.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
    - `changed[].to` — object or null; required. Where they are now; null: unassigned
      - `changed[].to.table` — string; required. 
      - `changed[].to.seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `changed[].to.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
- `unassigned` — integer; required. Guests still without a seat (no room) minimum: -9007199254740991; maximum: 9007199254740991
- `seating` — object; required. 
  - `seating.session` — object; required. 
    - `seating.session.sessionId` — string; required. 
    - `seating.session.productId` — string; required. 
    - `seating.session.productName` — string; required. 
    - `seating.session.locationId` — string; required. 
    - `seating.session.locationName` — string; required. 
    - `seating.session.startsAt` — string; required.  format: "date-time"
    - `seating.session.localStart` — string; required. At the location, YYYY-MM-DDTHH:MM
    - `seating.session.timeZone` — string; optional. The location's time zone (IANA), for any other time shown with the sheet, such as when it was printed. Always sent
    - `seating.session.status` — string; required. 
  - `seating.tables` — array; required. The session's tables in the layout's order; empty when it has none (the tableLayout setting)
    - `seating.tables[]` — object; optional. 
      - `seating.tables[].name` — string; required. 
      - `seating.tables[].seats` — integer; required. Seats at the table, as the layout has it minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.tables[].free` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.tables[].places` — array; required. Every seat at the table, 1 to `seats`, in order
        - `seating.tables[].places[]` — object; optional. 
          - `seating.tables[].places[].seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `seating.tables[].places[].guest` — object or null; required. Who's in this seat; null: free
            - `seating.tables[].places[].guest.orderId` — string; required. For move_guests and check_in
            - `seating.tables[].places[].guest.bookingId` — string; required. 
            - `seating.tables[].places[].guest.code` — string; required. The booking code
            - `seating.tables[].places[].guest.position` — integer; required. The guest number in their party, as check-in and booking answers number them (never renumbered) minimum: -9007199254740991; maximum: 9007199254740991
            - `seating.tables[].places[].guest.partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
            - `seating.tables[].places[].guest.name` — string or null; required. The guest's own name, if one was given (the party page, check-in): the first name only without customers:contact; null when nobody gave one, or without bookings:read
            - `seating.tables[].places[].guest.bookingName` — string or null; required. The booking's name as the run sheet shows it: the full name with customers:contact, the first name with bookings:read, else null
            - `seating.tables[].places[].guest.menu` — array or null; required. This guest's dish for each course of the menu, in its order. Null without kitchen:read
              - `seating.tables[].places[].guest.menu[]` — object; optional. 
                - `seating.tables[].places[].guest.menu[].courseId` — string; required. 
                - `seating.tables[].places[].guest.menu[].course` — string; required. 
                - `seating.tables[].places[].guest.menu[].choiceId` — string or null; required. 
                - `seating.tables[].places[].guest.menu[].choice` — string or null; required. The dish; null when nothing is chosen for this guest yet (the course has no default)
                - `seating.tables[].places[].guest.menu[].chosenBy` — string or null; required. guest: their own pick on the party page. organizer: from the booking's menu counts, which say how many of each dish but not who has which, so they're given to the party's guests in guest-number order (exact for the table when the party sits together). default: the course's default filled it. Null: nothing chosen Allowed: "guest", "organizer", "default"
            - `seating.tables[].places[].guest.answers` — array; required. This guest's own answers: kitchen questions with kitchen:read, run sheet questions with bookings:read
              - `seating.tables[].places[].guest.answers[]` — object; optional. 
                - `seating.tables[].places[].guest.answers[].questionId` — string; required. 
                - `seating.tables[].places[].guest.answers[].question` — string; required. 
                - `seating.tables[].places[].guest.answers[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
                - `seating.tables[].places[].guest.answers[].value` — one of: string, number, boolean, array; required. 
                  - `seating.tables[].places[].guest.answers[].value — array option 4` — array; optional. 
                    - `seating.tables[].places[].guest.answers[].value — array option 4[]` — string; optional. 
                - `seating.tables[].places[].guest.answers[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
                - `seating.tables[].places[].guest.answers[].runSheet` — boolean; required. A run sheet question
                - `seating.tables[].places[].guest.answers[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
                - `seating.tables[].places[].guest.answers[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
            - `seating.tables[].places[].guest.checkedIn` — boolean; required. 
            - `seating.tables[].places[].guest.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
      - `seating.tables[].notes` — array; required. Answers of the bookings here that are no one guest's here: the booking's own, and those past the party (pastParty, with a warning), never hidden. Masked as `answers`
        - `seating.tables[].notes[]` — object; optional. 
          - `seating.tables[].notes[].questionId` — string; required. 
          - `seating.tables[].notes[].question` — string; required. 
          - `seating.tables[].notes[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
          - `seating.tables[].notes[].value` — one of: string, number, boolean, array; required. 
            - `seating.tables[].notes[].value — array option 4` — array; optional. 
              - `seating.tables[].notes[].value — array option 4[]` — string; optional. 
          - `seating.tables[].notes[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
          - `seating.tables[].notes[].runSheet` — boolean; required. A run sheet question
          - `seating.tables[].notes[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
          - `seating.tables[].notes[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
          - `seating.tables[].notes[].orderId` — string; required. 
          - `seating.tables[].notes[].code` — string; required. The booking code
  - `seating.unassigned` — array; required. Everyone coming who isn't at a table, in the order they booked, then by guest number; everyone when the session has no tables
    - `seating.unassigned[]` — object; optional. 
      - `seating.unassigned[].orderId` — string; required. For move_guests and check_in
      - `seating.unassigned[].bookingId` — string; required. 
      - `seating.unassigned[].code` — string; required. The booking code
      - `seating.unassigned[].position` — integer; required. The guest number in their party, as check-in and booking answers number them (never renumbered) minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.unassigned[].partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.unassigned[].name` — string or null; required. The guest's own name, if one was given (the party page, check-in): the first name only without customers:contact; null when nobody gave one, or without bookings:read
      - `seating.unassigned[].bookingName` — string or null; required. The booking's name as the run sheet shows it: the full name with customers:contact, the first name with bookings:read, else null
      - `seating.unassigned[].menu` — array or null; required. This guest's dish for each course of the menu, in its order. Null without kitchen:read
        - `seating.unassigned[].menu[]` — object; optional. 
          - `seating.unassigned[].menu[].courseId` — string; required. 
          - `seating.unassigned[].menu[].course` — string; required. 
          - `seating.unassigned[].menu[].choiceId` — string or null; required. 
          - `seating.unassigned[].menu[].choice` — string or null; required. The dish; null when nothing is chosen for this guest yet (the course has no default)
          - `seating.unassigned[].menu[].chosenBy` — string or null; required. guest: their own pick on the party page. organizer: from the booking's menu counts, which say how many of each dish but not who has which, so they're given to the party's guests in guest-number order (exact for the table when the party sits together). default: the course's default filled it. Null: nothing chosen Allowed: "guest", "organizer", "default"
      - `seating.unassigned[].answers` — array; required. This guest's own answers: kitchen questions with kitchen:read, run sheet questions with bookings:read
        - `seating.unassigned[].answers[]` — object; optional. 
          - `seating.unassigned[].answers[].questionId` — string; required. 
          - `seating.unassigned[].answers[].question` — string; required. 
          - `seating.unassigned[].answers[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
          - `seating.unassigned[].answers[].value` — one of: string, number, boolean, array; required. 
            - `seating.unassigned[].answers[].value — array option 4` — array; optional. 
              - `seating.unassigned[].answers[].value — array option 4[]` — string; optional. 
          - `seating.unassigned[].answers[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
          - `seating.unassigned[].answers[].runSheet` — boolean; required. A run sheet question
          - `seating.unassigned[].answers[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
          - `seating.unassigned[].answers[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
      - `seating.unassigned[].checkedIn` — boolean; required. 
      - `seating.unassigned[].reason` — string; required. not_placed: never seated at this session (no room when they were placed, or the next placement hasn't run). table_removed: their table isn't in the session's tables any more. seat_removed: their table has fewer seats now. not_ready: a booking made before guests had their own records, which can't be seated until its guests are added Allowed: "not\_placed", "table\_removed", "seat\_removed", "not\_ready"
      - `seating.unassigned[].was` — object or null; required. Where they sat before the table was removed or shrank; null otherwise
        - `seating.unassigned[].was.table` — string; required. 
        - `seating.unassigned[].was.seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
        - `seating.unassigned[].was.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
  - `seating.unassignedNotes` — array; required. Answers of the bookings here that are no one guest's here: the booking's own, and those past the party (pastParty, with a warning), never hidden. Masked as `answers`
    - `seating.unassignedNotes[]` — object; optional. 
      - `seating.unassignedNotes[].questionId` — string; required. 
      - `seating.unassignedNotes[].question` — string; required. 
      - `seating.unassignedNotes[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.unassignedNotes[].value` — one of: string, number, boolean, array; required. 
        - `seating.unassignedNotes[].value — array option 4` — array; optional. 
          - `seating.unassignedNotes[].value — array option 4[]` — string; optional. 
      - `seating.unassignedNotes[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
      - `seating.unassignedNotes[].runSheet` — boolean; required. A run sheet question
      - `seating.unassignedNotes[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
      - `seating.unassignedNotes[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
      - `seating.unassignedNotes[].orderId` — string; required. 
      - `seating.unassignedNotes[].code` — string; required. The booking code
  - `seating.totals` — object; required. 
    - `seating.totals.guests` — integer; required. Guests coming (confirmed bookings) minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.seated` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.unassigned` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.seats` — integer; required. Seats at all the tables minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.free` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991

### get_kitchen_sheet

Get one session's kitchen sheet laid out by table, as the kitchen sheet email has it: the grand totals per dish (as get_kitchen_counts), then each table in order with each seat's guest by booking code and guest number, their dish for every course (or none yet), their allergies and dietary answers, and the table's plates per dish; then the guests not at a table. Without tables, everyone is under `unassigned`. The kitchen's view: no names, contacts, staff notes, or money. Needs kitchen:read where the session is. For several sessions' counts use get_kitchen_counts; for names and who's arrived, get_seating or get_run_sheet.

Reads · Members of an organization · Needs kitchen:read

#### Input

- `sessionId` — string; required. The session's id, from list_sessions

#### Output

- `session` — object; required. 
  - `session.sessionId` — string; required. 
  - `session.productId` — string; required. 
  - `session.productName` — string; required. 
  - `session.locationId` — string; required. 
  - `session.locationName` — string; required. 
  - `session.startsAt` — string; required.  format: "date-time"
  - `session.localStart` — string; required. At the location, YYYY-MM-DDTHH:MM
  - `session.timeZone` — string; optional. The location's time zone (IANA), for any other time shown with the sheet, such as when it was printed. Always sent
  - `session.menuCutoffAt` — string; required.  format: "date-time"
- `columns` — array; required. 
  - `columns[]` — object; optional. 
    - `columns[].courseId` — string; required. 
    - `columns[].course` — string; required. 
    - `columns[].choices` — array; required. The course's dishes in the menu's order (and any no longer offered that a booking still has), then null when some guest has nothing chosen
      - `columns[].choices[]` — object; optional. 
        - `columns[].choices[].choiceId` — string or null; required. Null: nothing chosen yet
        - `columns[].choices[].name` — string or null; required. 
- `totals` — object; required. 
  - `totals.guests` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
  - `totals.courses` — array; required. The grand totals: get_kitchen_counts' counts for this session (tables' and unassigned totals add up to them)
    - `totals.courses[]` — object; optional. 
      - `totals.courses[].courseId` — string; required. 
      - `totals.courses[].name` — string; required. 
      - `totals.courses[].choices` — array; required. 
        - `totals.courses[].choices[]` — object; optional. 
          - `totals.courses[].choices[].choiceId` — string or null; required. Null: seats nobody chose for (no default)
          - `totals.courses[].choices[].name` — string or null; required. 
          - `totals.courses[].choices[].quantity` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `totals.courses[].choices[].defaulted` — integer; required. Of these, the seats the course's default filled minimum: -9007199254740991; maximum: 9007199254740991
          - `totals.courses[].choices[].allergens` — array; required. 
            - `totals.courses[].choices[].allergens[]` — string; optional. 
          - `totals.courses[].choices[].dietary` — array; required. 
            - `totals.courses[].choices[].dietary[]` — string; optional. 
  - `totals.allergens` — array; required. 
    - `totals.allergens[]` — object; optional. 
      - `totals.allergens[].allergen` — string; required. 
      - `totals.allergens[].plates` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
  - `totals.dietary` — array; required. 
    - `totals.dietary[]` — object; optional. 
      - `totals.dietary[].tag` — string; required. 
      - `totals.dietary[].plates` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
- `tables` — array; required. By table in the layout's order, each guest by seat; empty when the session has no tables
  - `tables[]` — object; optional. 
    - `tables[].guests` — array; required. 
      - `tables[].guests[]` — object; optional. 
        - `tables[].guests[].seat` — integer or null; required. Null when unassigned minimum: -9007199254740991; maximum: 9007199254740991
        - `tables[].guests[].code` — string; required. The booking code
        - `tables[].guests[].position` — integer; required. The guest number in their party minimum: -9007199254740991; maximum: 9007199254740991
        - `tables[].guests[].partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
        - `tables[].guests[].choices` — array; required. 
          - `tables[].guests[].choices[]` — object; optional. 
            - `tables[].guests[].choices[].courseId` — string; required. 
            - `tables[].guests[].choices[].choiceId` — string or null; required. 
            - `tables[].guests[].choices[].choice` — string or null; required. 
            - `tables[].guests[].choices[].chosenBy` — string or null; required. guest: their own pick on the party page. organizer: from the booking's menu counts, which say how many of each dish but not who has which, so they're given to the party's guests in guest-number order (exact for the table when the party sits together). default: the course's default filled it. Null: nothing chosen Allowed: "guest", "organizer", "default"
        - `tables[].guests[].answers` — array; required. This guest's answers to kitchen questions (allergies, dietary needs), shown as typed
          - `tables[].guests[].answers[]` — object; optional. 
            - `tables[].guests[].answers[].questionId` — string; required. 
            - `tables[].guests[].answers[].question` — string; required. 
            - `tables[].guests[].answers[].answer` — one of: string, number, boolean, array; required. 
              - `tables[].guests[].answers[].answer — array option 4` — array; optional. 
                - `tables[].guests[].answers[].answer — array option 4[]` — string; optional. 
    - `tables[].notes` — array; required. Kitchen answers of the bookings here that belong to no guest listed here: the booking's own, and those past the party (pastParty, with a warning), never hidden
      - `tables[].notes[]` — object; optional. 
        - `tables[].notes[].code` — string; required. 
        - `tables[].notes[].questionId` — string; required. 
        - `tables[].notes[].question` — string; required. 
        - `tables[].notes[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
        - `tables[].notes[].answer` — one of: string, number, boolean, array; required. 
          - `tables[].notes[].answer — array option 4` — array; optional. 
            - `tables[].notes[].answer — array option 4[]` — string; optional. 
        - `tables[].notes[].pastParty` — boolean; required. 
        - `tables[].notes[].warning` — string or null; required. 
    - `tables[].totals` — array; required. Plates of each dish, in `columns`' order, every column listed
      - `tables[].totals[]` — object; optional. 
        - `tables[].totals[].courseId` — string; required. 
        - `tables[].totals[].choices` — array; required. 
          - `tables[].totals[].choices[]` — object; optional. 
            - `tables[].totals[].choices[].choiceId` — string or null; required. 
            - `tables[].totals[].choices[].quantity` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `tables[].name` — string; required. 
    - `tables[].seats` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
- `unassigned` — object; required. Guests not at a table, last (everyone when the session has no tables)
  - `unassigned.guests` — array; required. 
    - `unassigned.guests[]` — object; optional. 
      - `unassigned.guests[].seat` — integer or null; required. Null when unassigned minimum: -9007199254740991; maximum: 9007199254740991
      - `unassigned.guests[].code` — string; required. The booking code
      - `unassigned.guests[].position` — integer; required. The guest number in their party minimum: -9007199254740991; maximum: 9007199254740991
      - `unassigned.guests[].partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `unassigned.guests[].choices` — array; required. 
        - `unassigned.guests[].choices[]` — object; optional. 
          - `unassigned.guests[].choices[].courseId` — string; required. 
          - `unassigned.guests[].choices[].choiceId` — string or null; required. 
          - `unassigned.guests[].choices[].choice` — string or null; required. 
          - `unassigned.guests[].choices[].chosenBy` — string or null; required. guest: their own pick on the party page. organizer: from the booking's menu counts, which say how many of each dish but not who has which, so they're given to the party's guests in guest-number order (exact for the table when the party sits together). default: the course's default filled it. Null: nothing chosen Allowed: "guest", "organizer", "default"
      - `unassigned.guests[].answers` — array; required. This guest's answers to kitchen questions (allergies, dietary needs), shown as typed
        - `unassigned.guests[].answers[]` — object; optional. 
          - `unassigned.guests[].answers[].questionId` — string; required. 
          - `unassigned.guests[].answers[].question` — string; required. 
          - `unassigned.guests[].answers[].answer` — one of: string, number, boolean, array; required. 
            - `unassigned.guests[].answers[].answer — array option 4` — array; optional. 
              - `unassigned.guests[].answers[].answer — array option 4[]` — string; optional. 
  - `unassigned.notes` — array; required. Kitchen answers of the bookings here that belong to no guest listed here: the booking's own, and those past the party (pastParty, with a warning), never hidden
    - `unassigned.notes[]` — object; optional. 
      - `unassigned.notes[].code` — string; required. 
      - `unassigned.notes[].questionId` — string; required. 
      - `unassigned.notes[].question` — string; required. 
      - `unassigned.notes[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
      - `unassigned.notes[].answer` — one of: string, number, boolean, array; required. 
        - `unassigned.notes[].answer — array option 4` — array; optional. 
          - `unassigned.notes[].answer — array option 4[]` — string; optional. 
      - `unassigned.notes[].pastParty` — boolean; required. 
      - `unassigned.notes[].warning` — string or null; required. 
  - `unassigned.totals` — array; required. Plates of each dish, in `columns`' order, every column listed
    - `unassigned.totals[]` — object; optional. 
      - `unassigned.totals[].courseId` — string; required. 
      - `unassigned.totals[].choices` — array; required. 
        - `unassigned.totals[].choices[]` — object; optional. 
          - `unassigned.totals[].choices[].choiceId` — string or null; required. 
          - `unassigned.totals[].choices[].quantity` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991

### get_seating

Get who sits where at a session's tables: each table in order with every seat and who's in it (guest number, name as the run sheet shows it, booking code, party size, menu choices, allergies and other answers, checked in, placed automatically or by staff), the guests not at a table and why, and seats free. Tables come from the session's tableLayout setting (update_settings). Guests are seated automatically as they book; move_guests moves them, assign_tables seats everyone again. Needs checkins:write where the session is; names need bookings:read (full names customers:contact), dishes and allergies kitchen:read. For the kitchen's sheet by table (no names), use get_kitchen_sheet.

Reads · Members of an organization · Needs checkins:write

#### Input

- `sessionId` — string; required. The session's id, from list_sessions

#### Output

- `session` — object; required. 
  - `session.sessionId` — string; required. 
  - `session.productId` — string; required. 
  - `session.productName` — string; required. 
  - `session.locationId` — string; required. 
  - `session.locationName` — string; required. 
  - `session.startsAt` — string; required.  format: "date-time"
  - `session.localStart` — string; required. At the location, YYYY-MM-DDTHH:MM
  - `session.timeZone` — string; optional. The location's time zone (IANA), for any other time shown with the sheet, such as when it was printed. Always sent
  - `session.status` — string; required. 
- `tables` — array; required. The session's tables in the layout's order; empty when it has none (the tableLayout setting)
  - `tables[]` — object; optional. 
    - `tables[].name` — string; required. 
    - `tables[].seats` — integer; required. Seats at the table, as the layout has it minimum: -9007199254740991; maximum: 9007199254740991
    - `tables[].free` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `tables[].places` — array; required. Every seat at the table, 1 to `seats`, in order
      - `tables[].places[]` — object; optional. 
        - `tables[].places[].seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
        - `tables[].places[].guest` — object or null; required. Who's in this seat; null: free
          - `tables[].places[].guest.orderId` — string; required. For move_guests and check_in
          - `tables[].places[].guest.bookingId` — string; required. 
          - `tables[].places[].guest.code` — string; required. The booking code
          - `tables[].places[].guest.position` — integer; required. The guest number in their party, as check-in and booking answers number them (never renumbered) minimum: -9007199254740991; maximum: 9007199254740991
          - `tables[].places[].guest.partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `tables[].places[].guest.name` — string or null; required. The guest's own name, if one was given (the party page, check-in): the first name only without customers:contact; null when nobody gave one, or without bookings:read
          - `tables[].places[].guest.bookingName` — string or null; required. The booking's name as the run sheet shows it: the full name with customers:contact, the first name with bookings:read, else null
          - `tables[].places[].guest.menu` — array or null; required. This guest's dish for each course of the menu, in its order. Null without kitchen:read
            - `tables[].places[].guest.menu[]` — object; optional. 
              - `tables[].places[].guest.menu[].courseId` — string; required. 
              - `tables[].places[].guest.menu[].course` — string; required. 
              - `tables[].places[].guest.menu[].choiceId` — string or null; required. 
              - `tables[].places[].guest.menu[].choice` — string or null; required. The dish; null when nothing is chosen for this guest yet (the course has no default)
              - `tables[].places[].guest.menu[].chosenBy` — string or null; required. guest: their own pick on the party page. organizer: from the booking's menu counts, which say how many of each dish but not who has which, so they're given to the party's guests in guest-number order (exact for the table when the party sits together). default: the course's default filled it. Null: nothing chosen Allowed: "guest", "organizer", "default"
          - `tables[].places[].guest.answers` — array; required. This guest's own answers: kitchen questions with kitchen:read, run sheet questions with bookings:read
            - `tables[].places[].guest.answers[]` — object; optional. 
              - `tables[].places[].guest.answers[].questionId` — string; required. 
              - `tables[].places[].guest.answers[].question` — string; required. 
              - `tables[].places[].guest.answers[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
              - `tables[].places[].guest.answers[].value` — one of: string, number, boolean, array; required. 
                - `tables[].places[].guest.answers[].value — array option 4` — array; optional. 
                  - `tables[].places[].guest.answers[].value — array option 4[]` — string; optional. 
              - `tables[].places[].guest.answers[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
              - `tables[].places[].guest.answers[].runSheet` — boolean; required. A run sheet question
              - `tables[].places[].guest.answers[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
              - `tables[].places[].guest.answers[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
          - `tables[].places[].guest.checkedIn` — boolean; required. 
          - `tables[].places[].guest.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
    - `tables[].notes` — array; required. Answers of the bookings here that are no one guest's here: the booking's own, and those past the party (pastParty, with a warning), never hidden. Masked as `answers`
      - `tables[].notes[]` — object; optional. 
        - `tables[].notes[].questionId` — string; required. 
        - `tables[].notes[].question` — string; required. 
        - `tables[].notes[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
        - `tables[].notes[].value` — one of: string, number, boolean, array; required. 
          - `tables[].notes[].value — array option 4` — array; optional. 
            - `tables[].notes[].value — array option 4[]` — string; optional. 
        - `tables[].notes[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
        - `tables[].notes[].runSheet` — boolean; required. A run sheet question
        - `tables[].notes[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
        - `tables[].notes[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
        - `tables[].notes[].orderId` — string; required. 
        - `tables[].notes[].code` — string; required. The booking code
- `unassigned` — array; required. Everyone coming who isn't at a table, in the order they booked, then by guest number; everyone when the session has no tables
  - `unassigned[]` — object; optional. 
    - `unassigned[].orderId` — string; required. For move_guests and check_in
    - `unassigned[].bookingId` — string; required. 
    - `unassigned[].code` — string; required. The booking code
    - `unassigned[].position` — integer; required. The guest number in their party, as check-in and booking answers number them (never renumbered) minimum: -9007199254740991; maximum: 9007199254740991
    - `unassigned[].partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `unassigned[].name` — string or null; required. The guest's own name, if one was given (the party page, check-in): the first name only without customers:contact; null when nobody gave one, or without bookings:read
    - `unassigned[].bookingName` — string or null; required. The booking's name as the run sheet shows it: the full name with customers:contact, the first name with bookings:read, else null
    - `unassigned[].menu` — array or null; required. This guest's dish for each course of the menu, in its order. Null without kitchen:read
      - `unassigned[].menu[]` — object; optional. 
        - `unassigned[].menu[].courseId` — string; required. 
        - `unassigned[].menu[].course` — string; required. 
        - `unassigned[].menu[].choiceId` — string or null; required. 
        - `unassigned[].menu[].choice` — string or null; required. The dish; null when nothing is chosen for this guest yet (the course has no default)
        - `unassigned[].menu[].chosenBy` — string or null; required. guest: their own pick on the party page. organizer: from the booking's menu counts, which say how many of each dish but not who has which, so they're given to the party's guests in guest-number order (exact for the table when the party sits together). default: the course's default filled it. Null: nothing chosen Allowed: "guest", "organizer", "default"
    - `unassigned[].answers` — array; required. This guest's own answers: kitchen questions with kitchen:read, run sheet questions with bookings:read
      - `unassigned[].answers[]` — object; optional. 
        - `unassigned[].answers[].questionId` — string; required. 
        - `unassigned[].answers[].question` — string; required. 
        - `unassigned[].answers[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
        - `unassigned[].answers[].value` — one of: string, number, boolean, array; required. 
          - `unassigned[].answers[].value — array option 4` — array; optional. 
            - `unassigned[].answers[].value — array option 4[]` — string; optional. 
        - `unassigned[].answers[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
        - `unassigned[].answers[].runSheet` — boolean; required. A run sheet question
        - `unassigned[].answers[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
        - `unassigned[].answers[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
    - `unassigned[].checkedIn` — boolean; required. 
    - `unassigned[].reason` — string; required. not_placed: never seated at this session (no room when they were placed, or the next placement hasn't run). table_removed: their table isn't in the session's tables any more. seat_removed: their table has fewer seats now. not_ready: a booking made before guests had their own records, which can't be seated until its guests are added Allowed: "not\_placed", "table\_removed", "seat\_removed", "not\_ready"
    - `unassigned[].was` — object or null; required. Where they sat before the table was removed or shrank; null otherwise
      - `unassigned[].was.table` — string; required. 
      - `unassigned[].was.seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `unassigned[].was.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
- `unassignedNotes` — array; required. Answers of the bookings here that are no one guest's here: the booking's own, and those past the party (pastParty, with a warning), never hidden. Masked as `answers`
  - `unassignedNotes[]` — object; optional. 
    - `unassignedNotes[].questionId` — string; required. 
    - `unassignedNotes[].question` — string; required. 
    - `unassignedNotes[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
    - `unassignedNotes[].value` — one of: string, number, boolean, array; required. 
      - `unassignedNotes[].value — array option 4` — array; optional. 
        - `unassignedNotes[].value — array option 4[]` — string; optional. 
    - `unassignedNotes[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
    - `unassignedNotes[].runSheet` — boolean; required. A run sheet question
    - `unassignedNotes[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
    - `unassignedNotes[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
    - `unassignedNotes[].orderId` — string; required. 
    - `unassignedNotes[].code` — string; required. The booking code
- `totals` — object; required. 
  - `totals.guests` — integer; required. Guests coming (confirmed bookings) minimum: -9007199254740991; maximum: 9007199254740991
  - `totals.seated` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
  - `totals.unassigned` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
  - `totals.seats` — integer; required. Seats at all the tables minimum: -9007199254740991; maximum: 9007199254740991
  - `totals.free` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
- `menuOrder` — object or null; required. The experience's menu in course and choice order, or null when it has no menu; available without kitchen access
  - `menuOrder.courses` — array; required. 
    - `menuOrder.courses[]` — object; optional. 
      - `menuOrder.courses[].id` — string; required. 
      - `menuOrder.courses[].name` — string; required. 
      - `menuOrder.courses[].choices` — array; required. 
        - `menuOrder.courses[].choices[]` — object; optional. 
          - `menuOrder.courses[].choices[].id` — string; required. 
          - `menuOrder.courses[].choices[].name` — string; required. 

### move_guests

Move guests to another table at a session: one guest, some of a party (`positions`), or a whole booking's party, each move to a table by its name and optionally to given seats (else the lowest free; a guest already at that table keeps their seat). Several moves apply together and are checked on the result, so two parties can swap tables in a full room. Refused (`conflict`, with `issues`) when a table hasn't room, a seat is someone else's, or the tables changed. Guests moved are marked placed by staff, and automatic placement never moves them. Runs at once, with no preview; needs an Idempotency-Key, and a retry with the same key answers with the first call's result. undo_move_guests takes it back. Returns what moved and the session's seating as get_seating shows it.

Acts right away · Members of an organization · Needs checkins:write

#### Input

- `sessionId` — string; required. The session's id, from list_sessions
- `moves` — array; required. Applied together and checked on the result, so two parties can swap tables in one call minItems: 1; maxItems: 100
  - `moves[]` — object; optional. 
    - `moves[].orderId` — string; required. The order's id, from list_bookings or list_orders
    - `moves[].positions` — array; optional. These guests, by guest number (get_seating's `position`); leave it out for the whole party minItems: 1; maxItems: 1000
      - `moves[].positions[]` — integer; optional.  minimum: 1; maximum: 10000
    - `moves[].table` — string; required. The table's name, as the session's tables have it minLength: 1; maxLength: 30
    - `moves[].seats` — array; optional. Seats at that table, one per guest moved, in guest-number order; leave it out for the lowest free seats minItems: 1; maxItems: 20
      - `moves[].seats[]` — integer; optional.  minimum: 1; maximum: 20

#### Output

- `moveId` — string or null; required. The move, for undo_move_guests (evt_…); null when nothing changed (everyone was already there)
- `changed` — array; required. The guests this call moved; a retry with the same Idempotency-Key answers with the first call's
  - `changed[]` — object; optional. 
    - `changed[].orderId` — string; required. 
    - `changed[].code` — string; required. 
    - `changed[].position` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `changed[].from` — object or null; required. Where they were; null: unassigned
      - `changed[].from.table` — string; required. 
      - `changed[].from.seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `changed[].from.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
    - `changed[].to` — object or null; required. Where they are now; null: unassigned
      - `changed[].to.table` — string; required. 
      - `changed[].to.seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `changed[].to.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
- `seating` — object; required. The session's seating now, as get_seating shows it
  - `seating.session` — object; required. 
    - `seating.session.sessionId` — string; required. 
    - `seating.session.productId` — string; required. 
    - `seating.session.productName` — string; required. 
    - `seating.session.locationId` — string; required. 
    - `seating.session.locationName` — string; required. 
    - `seating.session.startsAt` — string; required.  format: "date-time"
    - `seating.session.localStart` — string; required. At the location, YYYY-MM-DDTHH:MM
    - `seating.session.timeZone` — string; optional. The location's time zone (IANA), for any other time shown with the sheet, such as when it was printed. Always sent
    - `seating.session.status` — string; required. 
  - `seating.tables` — array; required. The session's tables in the layout's order; empty when it has none (the tableLayout setting)
    - `seating.tables[]` — object; optional. 
      - `seating.tables[].name` — string; required. 
      - `seating.tables[].seats` — integer; required. Seats at the table, as the layout has it minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.tables[].free` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.tables[].places` — array; required. Every seat at the table, 1 to `seats`, in order
        - `seating.tables[].places[]` — object; optional. 
          - `seating.tables[].places[].seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `seating.tables[].places[].guest` — object or null; required. Who's in this seat; null: free
            - `seating.tables[].places[].guest.orderId` — string; required. For move_guests and check_in
            - `seating.tables[].places[].guest.bookingId` — string; required. 
            - `seating.tables[].places[].guest.code` — string; required. The booking code
            - `seating.tables[].places[].guest.position` — integer; required. The guest number in their party, as check-in and booking answers number them (never renumbered) minimum: -9007199254740991; maximum: 9007199254740991
            - `seating.tables[].places[].guest.partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
            - `seating.tables[].places[].guest.name` — string or null; required. The guest's own name, if one was given (the party page, check-in): the first name only without customers:contact; null when nobody gave one, or without bookings:read
            - `seating.tables[].places[].guest.bookingName` — string or null; required. The booking's name as the run sheet shows it: the full name with customers:contact, the first name with bookings:read, else null
            - `seating.tables[].places[].guest.menu` — array or null; required. This guest's dish for each course of the menu, in its order. Null without kitchen:read
              - `seating.tables[].places[].guest.menu[]` — object; optional. 
                - `seating.tables[].places[].guest.menu[].courseId` — string; required. 
                - `seating.tables[].places[].guest.menu[].course` — string; required. 
                - `seating.tables[].places[].guest.menu[].choiceId` — string or null; required. 
                - `seating.tables[].places[].guest.menu[].choice` — string or null; required. The dish; null when nothing is chosen for this guest yet (the course has no default)
                - `seating.tables[].places[].guest.menu[].chosenBy` — string or null; required. guest: their own pick on the party page. organizer: from the booking's menu counts, which say how many of each dish but not who has which, so they're given to the party's guests in guest-number order (exact for the table when the party sits together). default: the course's default filled it. Null: nothing chosen Allowed: "guest", "organizer", "default"
            - `seating.tables[].places[].guest.answers` — array; required. This guest's own answers: kitchen questions with kitchen:read, run sheet questions with bookings:read
              - `seating.tables[].places[].guest.answers[]` — object; optional. 
                - `seating.tables[].places[].guest.answers[].questionId` — string; required. 
                - `seating.tables[].places[].guest.answers[].question` — string; required. 
                - `seating.tables[].places[].guest.answers[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
                - `seating.tables[].places[].guest.answers[].value` — one of: string, number, boolean, array; required. 
                  - `seating.tables[].places[].guest.answers[].value — array option 4` — array; optional. 
                    - `seating.tables[].places[].guest.answers[].value — array option 4[]` — string; optional. 
                - `seating.tables[].places[].guest.answers[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
                - `seating.tables[].places[].guest.answers[].runSheet` — boolean; required. A run sheet question
                - `seating.tables[].places[].guest.answers[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
                - `seating.tables[].places[].guest.answers[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
            - `seating.tables[].places[].guest.checkedIn` — boolean; required. 
            - `seating.tables[].places[].guest.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
      - `seating.tables[].notes` — array; required. Answers of the bookings here that are no one guest's here: the booking's own, and those past the party (pastParty, with a warning), never hidden. Masked as `answers`
        - `seating.tables[].notes[]` — object; optional. 
          - `seating.tables[].notes[].questionId` — string; required. 
          - `seating.tables[].notes[].question` — string; required. 
          - `seating.tables[].notes[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
          - `seating.tables[].notes[].value` — one of: string, number, boolean, array; required. 
            - `seating.tables[].notes[].value — array option 4` — array; optional. 
              - `seating.tables[].notes[].value — array option 4[]` — string; optional. 
          - `seating.tables[].notes[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
          - `seating.tables[].notes[].runSheet` — boolean; required. A run sheet question
          - `seating.tables[].notes[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
          - `seating.tables[].notes[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
          - `seating.tables[].notes[].orderId` — string; required. 
          - `seating.tables[].notes[].code` — string; required. The booking code
  - `seating.unassigned` — array; required. Everyone coming who isn't at a table, in the order they booked, then by guest number; everyone when the session has no tables
    - `seating.unassigned[]` — object; optional. 
      - `seating.unassigned[].orderId` — string; required. For move_guests and check_in
      - `seating.unassigned[].bookingId` — string; required. 
      - `seating.unassigned[].code` — string; required. The booking code
      - `seating.unassigned[].position` — integer; required. The guest number in their party, as check-in and booking answers number them (never renumbered) minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.unassigned[].partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.unassigned[].name` — string or null; required. The guest's own name, if one was given (the party page, check-in): the first name only without customers:contact; null when nobody gave one, or without bookings:read
      - `seating.unassigned[].bookingName` — string or null; required. The booking's name as the run sheet shows it: the full name with customers:contact, the first name with bookings:read, else null
      - `seating.unassigned[].menu` — array or null; required. This guest's dish for each course of the menu, in its order. Null without kitchen:read
        - `seating.unassigned[].menu[]` — object; optional. 
          - `seating.unassigned[].menu[].courseId` — string; required. 
          - `seating.unassigned[].menu[].course` — string; required. 
          - `seating.unassigned[].menu[].choiceId` — string or null; required. 
          - `seating.unassigned[].menu[].choice` — string or null; required. The dish; null when nothing is chosen for this guest yet (the course has no default)
          - `seating.unassigned[].menu[].chosenBy` — string or null; required. guest: their own pick on the party page. organizer: from the booking's menu counts, which say how many of each dish but not who has which, so they're given to the party's guests in guest-number order (exact for the table when the party sits together). default: the course's default filled it. Null: nothing chosen Allowed: "guest", "organizer", "default"
      - `seating.unassigned[].answers` — array; required. This guest's own answers: kitchen questions with kitchen:read, run sheet questions with bookings:read
        - `seating.unassigned[].answers[]` — object; optional. 
          - `seating.unassigned[].answers[].questionId` — string; required. 
          - `seating.unassigned[].answers[].question` — string; required. 
          - `seating.unassigned[].answers[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
          - `seating.unassigned[].answers[].value` — one of: string, number, boolean, array; required. 
            - `seating.unassigned[].answers[].value — array option 4` — array; optional. 
              - `seating.unassigned[].answers[].value — array option 4[]` — string; optional. 
          - `seating.unassigned[].answers[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
          - `seating.unassigned[].answers[].runSheet` — boolean; required. A run sheet question
          - `seating.unassigned[].answers[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
          - `seating.unassigned[].answers[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
      - `seating.unassigned[].checkedIn` — boolean; required. 
      - `seating.unassigned[].reason` — string; required. not_placed: never seated at this session (no room when they were placed, or the next placement hasn't run). table_removed: their table isn't in the session's tables any more. seat_removed: their table has fewer seats now. not_ready: a booking made before guests had their own records, which can't be seated until its guests are added Allowed: "not\_placed", "table\_removed", "seat\_removed", "not\_ready"
      - `seating.unassigned[].was` — object or null; required. Where they sat before the table was removed or shrank; null otherwise
        - `seating.unassigned[].was.table` — string; required. 
        - `seating.unassigned[].was.seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
        - `seating.unassigned[].was.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
  - `seating.unassignedNotes` — array; required. Answers of the bookings here that are no one guest's here: the booking's own, and those past the party (pastParty, with a warning), never hidden. Masked as `answers`
    - `seating.unassignedNotes[]` — object; optional. 
      - `seating.unassignedNotes[].questionId` — string; required. 
      - `seating.unassignedNotes[].question` — string; required. 
      - `seating.unassignedNotes[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.unassignedNotes[].value` — one of: string, number, boolean, array; required. 
        - `seating.unassignedNotes[].value — array option 4` — array; optional. 
          - `seating.unassignedNotes[].value — array option 4[]` — string; optional. 
      - `seating.unassignedNotes[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
      - `seating.unassignedNotes[].runSheet` — boolean; required. A run sheet question
      - `seating.unassignedNotes[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
      - `seating.unassignedNotes[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
      - `seating.unassignedNotes[].orderId` — string; required. 
      - `seating.unassignedNotes[].code` — string; required. The booking code
  - `seating.totals` — object; required. 
    - `seating.totals.guests` — integer; required. Guests coming (confirmed bookings) minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.seated` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.unassigned` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.seats` — integer; required. Seats at all the tables minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.free` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991

### undo_assign_tables

Undo an assign_tables call by its assignmentId: everyone it seated or moved goes back where they were. Refused (`conflict`) once any of them has moved, left, or been seated again since, or a seat they'd go back to is taken. Runs at once (an Idempotency-Key, no preview); a retry with the same key answers with the first call's result. Returns what moved back and the session's seating.

Acts right away · Members of an organization · Needs checkins:write

#### Input

- `sessionId` — string; required. The session's id, from list_sessions
- `assignmentId` — string; required. assign_tables' assignmentId

#### Output

- `changed` — array; required. 
  - `changed[]` — object; optional. 
    - `changed[].orderId` — string; required. 
    - `changed[].code` — string; required. 
    - `changed[].position` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `changed[].from` — object or null; required. Where they were; null: unassigned
      - `changed[].from.table` — string; required. 
      - `changed[].from.seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `changed[].from.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
    - `changed[].to` — object or null; required. Where they are now; null: unassigned
      - `changed[].to.table` — string; required. 
      - `changed[].to.seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `changed[].to.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
- `seating` — object; required. 
  - `seating.session` — object; required. 
    - `seating.session.sessionId` — string; required. 
    - `seating.session.productId` — string; required. 
    - `seating.session.productName` — string; required. 
    - `seating.session.locationId` — string; required. 
    - `seating.session.locationName` — string; required. 
    - `seating.session.startsAt` — string; required.  format: "date-time"
    - `seating.session.localStart` — string; required. At the location, YYYY-MM-DDTHH:MM
    - `seating.session.timeZone` — string; optional. The location's time zone (IANA), for any other time shown with the sheet, such as when it was printed. Always sent
    - `seating.session.status` — string; required. 
  - `seating.tables` — array; required. The session's tables in the layout's order; empty when it has none (the tableLayout setting)
    - `seating.tables[]` — object; optional. 
      - `seating.tables[].name` — string; required. 
      - `seating.tables[].seats` — integer; required. Seats at the table, as the layout has it minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.tables[].free` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.tables[].places` — array; required. Every seat at the table, 1 to `seats`, in order
        - `seating.tables[].places[]` — object; optional. 
          - `seating.tables[].places[].seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `seating.tables[].places[].guest` — object or null; required. Who's in this seat; null: free
            - `seating.tables[].places[].guest.orderId` — string; required. For move_guests and check_in
            - `seating.tables[].places[].guest.bookingId` — string; required. 
            - `seating.tables[].places[].guest.code` — string; required. The booking code
            - `seating.tables[].places[].guest.position` — integer; required. The guest number in their party, as check-in and booking answers number them (never renumbered) minimum: -9007199254740991; maximum: 9007199254740991
            - `seating.tables[].places[].guest.partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
            - `seating.tables[].places[].guest.name` — string or null; required. The guest's own name, if one was given (the party page, check-in): the first name only without customers:contact; null when nobody gave one, or without bookings:read
            - `seating.tables[].places[].guest.bookingName` — string or null; required. The booking's name as the run sheet shows it: the full name with customers:contact, the first name with bookings:read, else null
            - `seating.tables[].places[].guest.menu` — array or null; required. This guest's dish for each course of the menu, in its order. Null without kitchen:read
              - `seating.tables[].places[].guest.menu[]` — object; optional. 
                - `seating.tables[].places[].guest.menu[].courseId` — string; required. 
                - `seating.tables[].places[].guest.menu[].course` — string; required. 
                - `seating.tables[].places[].guest.menu[].choiceId` — string or null; required. 
                - `seating.tables[].places[].guest.menu[].choice` — string or null; required. The dish; null when nothing is chosen for this guest yet (the course has no default)
                - `seating.tables[].places[].guest.menu[].chosenBy` — string or null; required. guest: their own pick on the party page. organizer: from the booking's menu counts, which say how many of each dish but not who has which, so they're given to the party's guests in guest-number order (exact for the table when the party sits together). default: the course's default filled it. Null: nothing chosen Allowed: "guest", "organizer", "default"
            - `seating.tables[].places[].guest.answers` — array; required. This guest's own answers: kitchen questions with kitchen:read, run sheet questions with bookings:read
              - `seating.tables[].places[].guest.answers[]` — object; optional. 
                - `seating.tables[].places[].guest.answers[].questionId` — string; required. 
                - `seating.tables[].places[].guest.answers[].question` — string; required. 
                - `seating.tables[].places[].guest.answers[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
                - `seating.tables[].places[].guest.answers[].value` — one of: string, number, boolean, array; required. 
                  - `seating.tables[].places[].guest.answers[].value — array option 4` — array; optional. 
                    - `seating.tables[].places[].guest.answers[].value — array option 4[]` — string; optional. 
                - `seating.tables[].places[].guest.answers[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
                - `seating.tables[].places[].guest.answers[].runSheet` — boolean; required. A run sheet question
                - `seating.tables[].places[].guest.answers[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
                - `seating.tables[].places[].guest.answers[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
            - `seating.tables[].places[].guest.checkedIn` — boolean; required. 
            - `seating.tables[].places[].guest.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
      - `seating.tables[].notes` — array; required. Answers of the bookings here that are no one guest's here: the booking's own, and those past the party (pastParty, with a warning), never hidden. Masked as `answers`
        - `seating.tables[].notes[]` — object; optional. 
          - `seating.tables[].notes[].questionId` — string; required. 
          - `seating.tables[].notes[].question` — string; required. 
          - `seating.tables[].notes[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
          - `seating.tables[].notes[].value` — one of: string, number, boolean, array; required. 
            - `seating.tables[].notes[].value — array option 4` — array; optional. 
              - `seating.tables[].notes[].value — array option 4[]` — string; optional. 
          - `seating.tables[].notes[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
          - `seating.tables[].notes[].runSheet` — boolean; required. A run sheet question
          - `seating.tables[].notes[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
          - `seating.tables[].notes[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
          - `seating.tables[].notes[].orderId` — string; required. 
          - `seating.tables[].notes[].code` — string; required. The booking code
  - `seating.unassigned` — array; required. Everyone coming who isn't at a table, in the order they booked, then by guest number; everyone when the session has no tables
    - `seating.unassigned[]` — object; optional. 
      - `seating.unassigned[].orderId` — string; required. For move_guests and check_in
      - `seating.unassigned[].bookingId` — string; required. 
      - `seating.unassigned[].code` — string; required. The booking code
      - `seating.unassigned[].position` — integer; required. The guest number in their party, as check-in and booking answers number them (never renumbered) minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.unassigned[].partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.unassigned[].name` — string or null; required. The guest's own name, if one was given (the party page, check-in): the first name only without customers:contact; null when nobody gave one, or without bookings:read
      - `seating.unassigned[].bookingName` — string or null; required. The booking's name as the run sheet shows it: the full name with customers:contact, the first name with bookings:read, else null
      - `seating.unassigned[].menu` — array or null; required. This guest's dish for each course of the menu, in its order. Null without kitchen:read
        - `seating.unassigned[].menu[]` — object; optional. 
          - `seating.unassigned[].menu[].courseId` — string; required. 
          - `seating.unassigned[].menu[].course` — string; required. 
          - `seating.unassigned[].menu[].choiceId` — string or null; required. 
          - `seating.unassigned[].menu[].choice` — string or null; required. The dish; null when nothing is chosen for this guest yet (the course has no default)
          - `seating.unassigned[].menu[].chosenBy` — string or null; required. guest: their own pick on the party page. organizer: from the booking's menu counts, which say how many of each dish but not who has which, so they're given to the party's guests in guest-number order (exact for the table when the party sits together). default: the course's default filled it. Null: nothing chosen Allowed: "guest", "organizer", "default"
      - `seating.unassigned[].answers` — array; required. This guest's own answers: kitchen questions with kitchen:read, run sheet questions with bookings:read
        - `seating.unassigned[].answers[]` — object; optional. 
          - `seating.unassigned[].answers[].questionId` — string; required. 
          - `seating.unassigned[].answers[].question` — string; required. 
          - `seating.unassigned[].answers[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
          - `seating.unassigned[].answers[].value` — one of: string, number, boolean, array; required. 
            - `seating.unassigned[].answers[].value — array option 4` — array; optional. 
              - `seating.unassigned[].answers[].value — array option 4[]` — string; optional. 
          - `seating.unassigned[].answers[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
          - `seating.unassigned[].answers[].runSheet` — boolean; required. A run sheet question
          - `seating.unassigned[].answers[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
          - `seating.unassigned[].answers[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
      - `seating.unassigned[].checkedIn` — boolean; required. 
      - `seating.unassigned[].reason` — string; required. not_placed: never seated at this session (no room when they were placed, or the next placement hasn't run). table_removed: their table isn't in the session's tables any more. seat_removed: their table has fewer seats now. not_ready: a booking made before guests had their own records, which can't be seated until its guests are added Allowed: "not\_placed", "table\_removed", "seat\_removed", "not\_ready"
      - `seating.unassigned[].was` — object or null; required. Where they sat before the table was removed or shrank; null otherwise
        - `seating.unassigned[].was.table` — string; required. 
        - `seating.unassigned[].was.seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
        - `seating.unassigned[].was.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
  - `seating.unassignedNotes` — array; required. Answers of the bookings here that are no one guest's here: the booking's own, and those past the party (pastParty, with a warning), never hidden. Masked as `answers`
    - `seating.unassignedNotes[]` — object; optional. 
      - `seating.unassignedNotes[].questionId` — string; required. 
      - `seating.unassignedNotes[].question` — string; required. 
      - `seating.unassignedNotes[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.unassignedNotes[].value` — one of: string, number, boolean, array; required. 
        - `seating.unassignedNotes[].value — array option 4` — array; optional. 
          - `seating.unassignedNotes[].value — array option 4[]` — string; optional. 
      - `seating.unassignedNotes[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
      - `seating.unassignedNotes[].runSheet` — boolean; required. A run sheet question
      - `seating.unassignedNotes[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
      - `seating.unassignedNotes[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
      - `seating.unassignedNotes[].orderId` — string; required. 
      - `seating.unassignedNotes[].code` — string; required. The booking code
  - `seating.totals` — object; required. 
    - `seating.totals.guests` — integer; required. Guests coming (confirmed bookings) minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.seated` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.unassigned` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.seats` — integer; required. Seats at all the tables minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.free` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991

### undo_move_guests

Undo a move_guests call by its moveId: everyone it moved goes back where they were (unassigned again if they were). Refused (`conflict`) once any of them has moved, left, or been seated again since, or a seat they'd go back to is taken. Runs at once (an Idempotency-Key, no preview); a retry with the same key answers with the first call's result. Returns what moved back and the session's seating.

Acts right away · Members of an organization · Needs checkins:write

#### Input

- `sessionId` — string; required. The session's id, from list_sessions
- `moveId` — string; required. move_guests' moveId

#### Output

- `changed` — array; required. 
  - `changed[]` — object; optional. 
    - `changed[].orderId` — string; required. 
    - `changed[].code` — string; required. 
    - `changed[].position` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `changed[].from` — object or null; required. Where they were; null: unassigned
      - `changed[].from.table` — string; required. 
      - `changed[].from.seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `changed[].from.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
    - `changed[].to` — object or null; required. Where they are now; null: unassigned
      - `changed[].to.table` — string; required. 
      - `changed[].to.seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `changed[].to.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
- `seating` — object; required. 
  - `seating.session` — object; required. 
    - `seating.session.sessionId` — string; required. 
    - `seating.session.productId` — string; required. 
    - `seating.session.productName` — string; required. 
    - `seating.session.locationId` — string; required. 
    - `seating.session.locationName` — string; required. 
    - `seating.session.startsAt` — string; required.  format: "date-time"
    - `seating.session.localStart` — string; required. At the location, YYYY-MM-DDTHH:MM
    - `seating.session.timeZone` — string; optional. The location's time zone (IANA), for any other time shown with the sheet, such as when it was printed. Always sent
    - `seating.session.status` — string; required. 
  - `seating.tables` — array; required. The session's tables in the layout's order; empty when it has none (the tableLayout setting)
    - `seating.tables[]` — object; optional. 
      - `seating.tables[].name` — string; required. 
      - `seating.tables[].seats` — integer; required. Seats at the table, as the layout has it minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.tables[].free` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.tables[].places` — array; required. Every seat at the table, 1 to `seats`, in order
        - `seating.tables[].places[]` — object; optional. 
          - `seating.tables[].places[].seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
          - `seating.tables[].places[].guest` — object or null; required. Who's in this seat; null: free
            - `seating.tables[].places[].guest.orderId` — string; required. For move_guests and check_in
            - `seating.tables[].places[].guest.bookingId` — string; required. 
            - `seating.tables[].places[].guest.code` — string; required. The booking code
            - `seating.tables[].places[].guest.position` — integer; required. The guest number in their party, as check-in and booking answers number them (never renumbered) minimum: -9007199254740991; maximum: 9007199254740991
            - `seating.tables[].places[].guest.partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
            - `seating.tables[].places[].guest.name` — string or null; required. The guest's own name, if one was given (the party page, check-in): the first name only without customers:contact; null when nobody gave one, or without bookings:read
            - `seating.tables[].places[].guest.bookingName` — string or null; required. The booking's name as the run sheet shows it: the full name with customers:contact, the first name with bookings:read, else null
            - `seating.tables[].places[].guest.menu` — array or null; required. This guest's dish for each course of the menu, in its order. Null without kitchen:read
              - `seating.tables[].places[].guest.menu[]` — object; optional. 
                - `seating.tables[].places[].guest.menu[].courseId` — string; required. 
                - `seating.tables[].places[].guest.menu[].course` — string; required. 
                - `seating.tables[].places[].guest.menu[].choiceId` — string or null; required. 
                - `seating.tables[].places[].guest.menu[].choice` — string or null; required. The dish; null when nothing is chosen for this guest yet (the course has no default)
                - `seating.tables[].places[].guest.menu[].chosenBy` — string or null; required. guest: their own pick on the party page. organizer: from the booking's menu counts, which say how many of each dish but not who has which, so they're given to the party's guests in guest-number order (exact for the table when the party sits together). default: the course's default filled it. Null: nothing chosen Allowed: "guest", "organizer", "default"
            - `seating.tables[].places[].guest.answers` — array; required. This guest's own answers: kitchen questions with kitchen:read, run sheet questions with bookings:read
              - `seating.tables[].places[].guest.answers[]` — object; optional. 
                - `seating.tables[].places[].guest.answers[].questionId` — string; required. 
                - `seating.tables[].places[].guest.answers[].question` — string; required. 
                - `seating.tables[].places[].guest.answers[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
                - `seating.tables[].places[].guest.answers[].value` — one of: string, number, boolean, array; required. 
                  - `seating.tables[].places[].guest.answers[].value — array option 4` — array; optional. 
                    - `seating.tables[].places[].guest.answers[].value — array option 4[]` — string; optional. 
                - `seating.tables[].places[].guest.answers[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
                - `seating.tables[].places[].guest.answers[].runSheet` — boolean; required. A run sheet question
                - `seating.tables[].places[].guest.answers[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
                - `seating.tables[].places[].guest.answers[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
            - `seating.tables[].places[].guest.checkedIn` — boolean; required. 
            - `seating.tables[].places[].guest.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
      - `seating.tables[].notes` — array; required. Answers of the bookings here that are no one guest's here: the booking's own, and those past the party (pastParty, with a warning), never hidden. Masked as `answers`
        - `seating.tables[].notes[]` — object; optional. 
          - `seating.tables[].notes[].questionId` — string; required. 
          - `seating.tables[].notes[].question` — string; required. 
          - `seating.tables[].notes[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
          - `seating.tables[].notes[].value` — one of: string, number, boolean, array; required. 
            - `seating.tables[].notes[].value — array option 4` — array; optional. 
              - `seating.tables[].notes[].value — array option 4[]` — string; optional. 
          - `seating.tables[].notes[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
          - `seating.tables[].notes[].runSheet` — boolean; required. A run sheet question
          - `seating.tables[].notes[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
          - `seating.tables[].notes[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
          - `seating.tables[].notes[].orderId` — string; required. 
          - `seating.tables[].notes[].code` — string; required. The booking code
  - `seating.unassigned` — array; required. Everyone coming who isn't at a table, in the order they booked, then by guest number; everyone when the session has no tables
    - `seating.unassigned[]` — object; optional. 
      - `seating.unassigned[].orderId` — string; required. For move_guests and check_in
      - `seating.unassigned[].bookingId` — string; required. 
      - `seating.unassigned[].code` — string; required. The booking code
      - `seating.unassigned[].position` — integer; required. The guest number in their party, as check-in and booking answers number them (never renumbered) minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.unassigned[].partySize` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.unassigned[].name` — string or null; required. The guest's own name, if one was given (the party page, check-in): the first name only without customers:contact; null when nobody gave one, or without bookings:read
      - `seating.unassigned[].bookingName` — string or null; required. The booking's name as the run sheet shows it: the full name with customers:contact, the first name with bookings:read, else null
      - `seating.unassigned[].menu` — array or null; required. This guest's dish for each course of the menu, in its order. Null without kitchen:read
        - `seating.unassigned[].menu[]` — object; optional. 
          - `seating.unassigned[].menu[].courseId` — string; required. 
          - `seating.unassigned[].menu[].course` — string; required. 
          - `seating.unassigned[].menu[].choiceId` — string or null; required. 
          - `seating.unassigned[].menu[].choice` — string or null; required. The dish; null when nothing is chosen for this guest yet (the course has no default)
          - `seating.unassigned[].menu[].chosenBy` — string or null; required. guest: their own pick on the party page. organizer: from the booking's menu counts, which say how many of each dish but not who has which, so they're given to the party's guests in guest-number order (exact for the table when the party sits together). default: the course's default filled it. Null: nothing chosen Allowed: "guest", "organizer", "default"
      - `seating.unassigned[].answers` — array; required. This guest's own answers: kitchen questions with kitchen:read, run sheet questions with bookings:read
        - `seating.unassigned[].answers[]` — object; optional. 
          - `seating.unassigned[].answers[].questionId` — string; required. 
          - `seating.unassigned[].answers[].question` — string; required. 
          - `seating.unassigned[].answers[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
          - `seating.unassigned[].answers[].value` — one of: string, number, boolean, array; required. 
            - `seating.unassigned[].answers[].value — array option 4` — array; optional. 
              - `seating.unassigned[].answers[].value — array option 4[]` — string; optional. 
          - `seating.unassigned[].answers[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
          - `seating.unassigned[].answers[].runSheet` — boolean; required. A run sheet question
          - `seating.unassigned[].answers[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
          - `seating.unassigned[].answers[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
      - `seating.unassigned[].checkedIn` — boolean; required. 
      - `seating.unassigned[].reason` — string; required. not_placed: never seated at this session (no room when they were placed, or the next placement hasn't run). table_removed: their table isn't in the session's tables any more. seat_removed: their table has fewer seats now. not_ready: a booking made before guests had their own records, which can't be seated until its guests are added Allowed: "not\_placed", "table\_removed", "seat\_removed", "not\_ready"
      - `seating.unassigned[].was` — object or null; required. Where they sat before the table was removed or shrank; null otherwise
        - `seating.unassigned[].was.table` — string; required. 
        - `seating.unassigned[].was.seat` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
        - `seating.unassigned[].was.placedBy` — string; required. auto: placed automatically (on booking, or assign_tables); staff: moved there by staff (move_guests), and never moved automatically Allowed: "auto", "staff"
  - `seating.unassignedNotes` — array; required. Answers of the bookings here that are no one guest's here: the booking's own, and those past the party (pastParty, with a warning), never hidden. Masked as `answers`
    - `seating.unassignedNotes[]` — object; optional. 
      - `seating.unassignedNotes[].questionId` — string; required. 
      - `seating.unassignedNotes[].question` — string; required. 
      - `seating.unassignedNotes[].participant` — integer or null; required. Which guest; null for the booking minimum: -9007199254740991; maximum: 9007199254740991
      - `seating.unassignedNotes[].value` — one of: string, number, boolean, array; required. 
        - `seating.unassignedNotes[].value — array option 4` — array; optional. 
          - `seating.unassignedNotes[].value — array option 4[]` — string; optional. 
      - `seating.unassignedNotes[].kitchen` — boolean; required. A kitchen question (allergies, dietary needs)
      - `seating.unassignedNotes[].runSheet` — boolean; required. A run sheet question
      - `seating.unassignedNotes[].pastParty` — boolean; required. This guest number is past the party as it is now: the seat count dropped after it was answered, so they may still be coming
      - `seating.unassignedNotes[].warning` — string or null; required. What to tell the room about a pastParty answer; else null
      - `seating.unassignedNotes[].orderId` — string; required. 
      - `seating.unassignedNotes[].code` — string; required. The booking code
  - `seating.totals` — object; required. 
    - `seating.totals.guests` — integer; required. Guests coming (confirmed bookings) minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.seated` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.unassigned` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.seats` — integer; required. Seats at all the tables minimum: -9007199254740991; maximum: 9007199254740991
    - `seating.totals.free` — integer; required.  minimum: -9007199254740991; maximum: 9007199254740991
