Rest Types
Rest After Shift
Require minimum rest time after specific shift types. Triggered when a shift ends:After any shift tagged
NIGHT, the employee must have at least 15 hours before their next shift.Multiple Rest Tolerances
Define tiered rest requirements:Weekly Rest
Ensure minimum total rest hours within a defined period:Employees get at least 35 hours of rest during the week of January 1-7.
Exclude Non-Work Shifts
Exclude certain shift types from rest calculations:Weekend Rest Window
Define a specific weekend rest window (e.g., Saturday night to Monday morning):Maximum Rest Duration
Cap how long an employee can be idle between shifts (e.g. to avoid disengagement or maintain on-call cadence):If more than 48 hours pass after a shift tagged
NIGHT before the next shift, the schedule is penalized.Consecutive Rest
Require a minimum uninterrupted rest period:Total minimum rest required (can be split)
Maximum allowed rest duration between shifts — penalizes idle gaps longer than this value
Minimum uninterrupted rest block required
Number of rest-rule violations tolerated before the constraint penalizes. If the number of violations is at or below
frequency, none are penalized; once violations exceed frequency, every violation is penalized (not just the excess).Rest Properties
Shift tags that trigger this rest rule (e.g.,
["NIGHT"]). Omit this field (leave it unset) to apply the rule to all shifts — "ALL" is not a recognized wildcard value; it would only match shifts literally tagged "ALL".Shift tags to exclude from rest calculations
When to apply:
AFTER (default) or BEFOREFixed time period for weekly/periodic rest rules
Rolling period type when
period.from/period.to are not given: DAILY (1 day), WEEKLY (7 days), MONTHLY (30 days), or SCHEDULE (whole planning horizon)Common Rest Patterns
11-hour daily rest (EU Working Time Directive)
11-hour daily rest (EU Working Time Directive)
24-hour weekly rest
24-hour weekly rest
Extended rest after night shifts
Extended rest after night shifts