get_long_weekends
Get Swiss long weekends and their required bridge days. Plan which working days to take off to create extended weekends.
Instructions
Return Swiss long weekends and the bridge days needed to create them.
Plan bridge days: which long weekends exist this year and which working days must be taken off to extend them. Computed from federal public holidays (Nager.Date); cantonal-only holidays are not considered.
Sourced from Nager.Date, which computes these from federal public holidays; cantonal-only holidays are not considered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Human-readable caveat, set when provenance is 'degraded'. | |
| year | Yes | ||
| source | Yes | Attribution string of the upstream source. | |
| provenance | Yes | live_api = freshly fetched, cached = in-memory cache, degraded = upstream unreachable, stale or empty payload. | |
| retrieved_at | Yes | ISO-8601 UTC timestamp of the underlying fetch. | |
| long_weekends | Yes |