find_common_free_window
Locate overlapping holiday periods across Swiss cantons to schedule cross-cantonal events, maintenance, or campaigns.
Instructions
Find date ranges in which all listed cantons are simultaneously on holiday.
Find a common free window across several cantons — joint events, maintenance or campaigns when every listed canton is on holiday.
Useful for planning campaigns, joint events or maintenance windows across cantonal borders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| cantons | Yes | ||
| language | No | DE | |
| min_days | No | ||
| school_type | No | VS |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Human-readable caveat, set when provenance is 'degraded'. | |
| source | Yes | Attribution string of the upstream source. | |
| windows | Yes | ||
| 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. |