> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gobl.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Period

Period represents a span of time bounded by a start and/or an end date.

## Schema ID

`https://gobl.org/draft-0/cal/period`

## Properties

| Title | Property | Type | Description |
| - | - | - | - |
| Label | `label` | string | Short description of the period. |
| Start | `start` | [cal.Date](https://docs.gobl.org/draft-0/cal/date.md) | When the period starts. Required if there is no end date. |
| End | `end` | [cal.Date](https://docs.gobl.org/draft-0/cal/date.md) | When the period ends. Required if there is no start date, and must be on or after the start date. |

## Validation Rules

| Field | Test | Validation Code / Message |
| - | - | - |
| Period | <ul><li>End not before start</li></ul> | `GOBL-CAL-PERIOD-10` End date must be on or after start date |
| Period | <ul><li>Has start or end</li></ul> | `GOBL-CAL-PERIOD-11` Either a start or end date is required |
| `start` | <ul><li>Not zero</li></ul> | `GOBL-CAL-PERIOD-01` Start date cannot be zero |
| `end` | <ul><li>Not zero</li></ul> | `GOBL-CAL-PERIOD-02` End date cannot be zero |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.