Skip to content

SessionAvailability

How a visitor reads a session's remaining room. The public API summarises capacity into these states rather than publishing the exact count: a count is an operator's number, and to a visitor it reads as either a private detail or a discouragement. See Session.availability.

Values

  • open

    Room to spare — including a session with no cap at all, which has nothing to run out of.

  • fewLeft

    Only a few places left: at most max(3, ceil(limit × 0.2)), so a small class says so at the last handful and a house of 150 while there is still a meaningful choice of seats.

  • lastSpot

    Exactly one place left.

  • soldOut

    No places left. Whether a waitlist is on offer is registration.waitlist.enabled.

Used in