Public holidays for a jurisdiction and year
holidaysObserved public holidays with the nominal (legal) date and status: rule (statutory) or declared (officially declared for that year). Declared-only holidays are omitted for undeclared years, with a holiday_data_incomplete warning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| jurisdiction | Yes | US, GB, GB-SCT, GB-NIR, CA, AU, UG (alias UK) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| answer | Yes | The calculated answer (kind-discriminated) | |
| receipt | Yes | Auditable receipt: inputs, timezone, convention, workweek, holiday calendar, exclusions, versions, stable result ID |