Skip to main content
Options for a cover call. Day/date scoping controls which days this coverage entry applies to. An entry without dayOfWeek or dates applies every day in the scheduling period. Scope answers where the floor applies; it does not change the meaning of coverage itself. priority controls how hard the coverage floor is. Use it to distinguish language like “must keep 5 staffed on Saturdays” from “ideally keep 5 staffed on Mondays too” without changing the underlying coverage shape. skillIds is a hard filter, not a preference. Use it only when the required minimum truly needs those skills throughout the window. If a role or skill mix is preferred rather than required, model that with rules such as preferAssignment instead of skill-filtered coverage.

Properties

dates
dates?: ${number}-${number}-${number}[]
Restrict to specific dates (YYYY-MM-DD).
dayOfWeek
dayOfWeek?: readonly [DayOfWeek, DayOfWeek]
Restrict to specific days of the week.
priority
priority?: "LOW" | "MEDIUM" | "HIGH" | "MANDATORY"
Defaults to "MANDATORY".
skillIds
skillIds?: [string, ...string[]]
Additional skill ID filter (AND logic with the target role).