Examples
Properties
Restricts which days of the week this shift pattern can be used.
- If omitted: shift can be used on any day
- If provided: shift can only be assigned on the specified days
When the shift ends (e.g.,
{ hours: 17, minutes: 30 } for 5:30 PM)Unique identifier for this shift pattern.
Used in assignments and rule configurations.
Physical location where this shift takes place.
Used for multi-location scheduling and location-based constraints.
Restricts who can be assigned to this shift based on their roles.
- If omitted: anyone can work this shift
- If provided: only team members whose roleIds overlap with this list can be assigned
When the shift starts (e.g.,
{ hours: 9, minutes: 0 } for 9:00 AM)