# Arxo calendar dataset 0.1 Immutable deterministic calendar snapshot used by Arxo Core business-time functions. ## Versions Accepted `schemaVersion`: `law.calendar/0.1`. ## Top-level fields | name | type-or-$ref | required | description | |---|---|---|---| | `schemaVersion` | `"law.calendar/0.1"` | yes | — | | `id` | [`#/$defs/StableId`](#stableid) | yes | — | | `timezone` | `string` | yes | — | | `timezoneDbSnapshot` | `string` | yes | — | | `valid` | [`#/$defs/DateRange`](#daterange) | yes | — | | `weeklySchedule` | `array` | yes | — | | `overrides` | `array` | no | — | | `sourceArtifacts` | `array` | yes | — | | `metadata` | `object` | no | — | ## Enumerations | location | values | |---|---| | `properties/schemaVersion` | `"law.calendar/0.1"` | | `$defs/DaySchedule/properties/day` | `"monday"`, `"tuesday"`, `"wednesday"`, `"thursday"`, `"friday"`, `"saturday"`, `"sunday"` | | `$defs/DaySchedule/allOf/0/if/properties/working` | `true` | | `$defs/DaySchedule/allOf/1/if/properties/working` | `false` | | `$defs/DateOverride/allOf/0/if/properties/working` | `true` | | `$defs/DateOverride/allOf/1/if/properties/working` | `false` | ## Raw schema [`https://law.arxo.io/schema/calendar-dataset.schema.json`](https://law.arxo.io/schema/calendar-dataset.schema.json) ## `StableId` Type: `string`. ## `DateString` Type: `string`. ## `LocalTimeStart` Type: `string`. ## `LocalTimeEnd` Type: `string`. ## `DateRange` Type: `object`. Required: `start`, `endExclusive`. | name | type-or-$ref | description | |---|---|---| | `start` | [`#/$defs/DateString`](#datestring) | — | | `endExclusive` | [`#/$defs/DateString`](#datestring) | — | ## `WorkingInterval` Type: `object`. Required: `start`, `end`. | name | type-or-$ref | description | |---|---|---| | `start` | [`#/$defs/LocalTimeStart`](#localtimestart) | — | | `end` | [`#/$defs/LocalTimeEnd`](#localtimeend) | — | ## `DaySchedule` Type: `object`. Required: `day`, `working`, `intervals`. | name | type-or-$ref | description | |---|---|---| | `day` | enum (7) | — | | `working` | `boolean` | — | | `intervals` | `array` | — | ## `Label` Type: `object`. Required: `language`, `text`. | name | type-or-$ref | description | |---|---|---| | `language` | `string` | — | | `text` | `string` | — | ## `DateOverride` Type: `object`. Required: `date`, `working`, `intervals`. | name | type-or-$ref | description | |---|---|---| | `date` | [`#/$defs/DateString`](#datestring) | — | | `working` | `boolean` | — | | `intervals` | `array` | — | | `labels` | `array` | — | | `reason` | `string` | — | | `sourceFragments` | `array` | — |