Skip to content

AgeRequirement

A participant age window for an activity. At least one of minimumAge / maximumAge is set when present. Age is evaluated in whole years as of asOfDate (a season cutoff) or, when that is null, the session's start, against the participant's date of birth whenever it is known.

Fields

minimumAgeInt
maximumAgeInt
asOfDateString

ISO YYYY-MM-DD cutoff the participant's age is evaluated against.

checkedAtDoorBoolean!

Whether staff also check minimumAge against photo ID at the door — an 18+, 19+ or 21+ night. Buyers see "18+ · Photo ID required at the door", every buyer confirms it at checkout (checkout(ageRuleAccepted:)) and check-in shows it. Always false when minimumAge is null.

Used in