Skip to content

PolicyViolationCode

Which policy rule a booking breaks. New codes may be added as policies gain rules, so treat an unknown code as a generic violation.

BLACKOUT

The booking overlaps a blackout range.

ADVANCE_NOTICE

The booking starts with less notice than advanceNoticeDays.

MIN_LENGTH

The booking is shorter than minLengthDays.

MAX_LENGTH

The booking is longer than maxLengthDays.

MIN_GAP

Fewer than minGapDays lie between the booking and the member’s nearest other event of this type.