← Back to schema index

SpeiCalendarResource

SPEI non-business-day calendar of one year, in JSON:API shape. `id` and `attributes.year` are always equal: the year of the calendar.

ExtendsJsonApiResourceBase

Properties

FieldTypeDescription
type*stringJSON:API resource type. Always `spei_calendar`.
id*stringCalendar year (four digits).
attributes*objectData of the year's calendar.
year*integerCalendar year (four digits). Same value as `id`.
non_business_days*arrayNon-business days that fall from Monday to Friday (`YYYY-MM-DD`), from lowest to highest. Saturdays and Sundays are also non-business days and are not repeated here.
source*objectOfficial provision the calendar comes from.
issuer*stringAcronym of the authority that issues the provision, for example `CNBV`.
published_in*stringAcronym of the official gazette that published the provision, for example `DOF`.
published_on*string (date)Publication date of the provision (`YYYY-MM-DD`).
title*stringOfficial title of the provision, in Spanish.

Used in operations

  • GET /v1/public/spei-calendar/{year}

Referenced by schemas