Skip to main content
A day-specific count within a variant cover call. Each variant specifies a count and optional day/date scope. During resolution, the most specific matching variant wins for each day (dates > dayOfWeek > default), mirroring SemanticTimeVariant. At most one variant may be unscoped (the default).

Example

Properties

number
required
Number of people needed.
dates?: ${number}-${number}-${number}[]
Restrict this variant to specific dates (YYYY-MM-DD).
dayOfWeek?: readonly [DayOfWeek, DayOfWeek]
Restrict this variant to specific days of the week.
priority?: Priority
Defaults to "MANDATORY".