> ## Documentation Index
> Fetch the complete documentation index at: https://docs.erna.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# CoverageVariant

A day-specific count within a variant [cover](./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

```typescript theme={null}
// Default: 4 agents. Christmas Eve: 2.
cover("peak_hours", "agent",
  { count: 4 },
  { count: 2, dates: ["2025-12-24"] },
)
```

## Properties

<ResponseField name="count" type="number" required>
  Number of people needed.
</ResponseField>

<ResponseField name="dates" type="dates?: ${number}-${number}-${number}[]">
  Restrict this variant to specific dates (YYYY-MM-DD).
</ResponseField>

<ResponseField name="dayOfWeek" type="dayOfWeek?: readonly [DayOfWeek, DayOfWeek]">
  Restrict this variant to specific days of the week.
</ResponseField>

<ResponseField name="priority" type="priority?: Priority">
  Defaults to `"MANDATORY"`.
</ResponseField>
