SpeiCalendarResponse
Response from `GET /v1/public/spei-calendar/{year}`. A single resource with the SPEI non-business days of the year and its source, and in `meta.covered_years` the years that have a calendar. A year without a calendar responds `404`, not this body.
Properties
| Field | Type | Description |
|---|---|---|
data | object | Main response payload. Shape varies by endpoint (object, array, or JSON:API envelope with |
type* | string | JSON:API resource type. Always |
id* | string | Calendar year (four digits). |
attributes* | object | Data of the year's calendar. |
year* | integer | Calendar year (four digits). Same value as |
non_business_days* | array | Non-business days that fall from Monday to Friday ( |
source* | object | Official provision the calendar comes from. |
issuer* | string | Acronym of the authority that issues the provision, for example |
published_in* | string | Acronym of the official gazette that published the provision, for example |
published_on* | string (date) | Publication date of the provision ( |
title* | string | Official title of the provision, in Spanish. |
meta | object | Response metadata including API version, route prefix, unique request identifier, and the server timestamp in UTC. |
version | string | API version that processed the request. |
api_version | string | API route prefix version (e.g. |
request_id | string | Unique request identifier, 24 hexadecimal characters. Keep it and quote it when you contact support: it locates the request. |
datetime | object | Companion descriptor present in the |
timezone* | string | Always |
format* | string | Always |
field_names_notice | object | Field-name change notice. It only appears on |
code* | string | Notice type. |
message* | string | Notice text, in the response language ( |
sunset* | string (date) | Cut-off date, the same one the |
documentation_url* | string (uri) | Migration guide to the English names, in the response language. |
legacy_fields | array | Spanish names the request sent. Only with |
links | object | Pagination or related links, present only when the endpoint returns a paginated collection. |
Used in operations
GET /v1/public/spei-calendar/{year}