compare_school_holidays
Compare school holiday overlap between cantons for a calendar year. Get pairwise day counts to coordinate events across cantonal borders.
Instructions
Compare school holiday overlap between cantons for a calendar year.
Quantify inter-cantonal school-holiday overlap (pairwise day counts) for coordinating events or campaigns across cantonal borders.
Returns a pairwise matrix of overlapping holiday days. Defaults to VS
(Volksschule) because that is the level most inter-cantonal coordination
concerns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| cantons | Yes | ||
| language | No | DE | |
| school_type | No | VS |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Human-readable caveat, set when provenance is 'degraded'. | |
| rows | Yes | ||
| 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. | |
| school_type_filter | Yes |