> ## 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.

# maxDaysPerWeek

```ts theme={null}
function maxDaysPerWeek(days, opts?): RuleEntry<"max-days-week", object & RuleOptions>;
```

Caps each targeted member's assigned days per scheduling week.

## Parameters

<ResponseField name="days" type="number" required />

<ResponseField name="opts">
  [`RuleOptions`](./RuleOptions)
</ResponseField>

## Returns

`RuleEntry`\<`"max-days-week"`, `object` & [`RuleOptions`](./RuleOptions)>

Applies an upper bound to each member's assigned days in a scheduling week.
The bound can be scoped by role, skill, member, or supported time scope.
