Skip to content

Date

a combination of year, month and day; This date can optionally skip the day and month fields, as needed.
Any of

Variant 1

a fully-specified date in the Gregorian calendar
Type: object
Properties

year *

Type: Year
Required: yes

month *

Type: Month
Required: yes

day *

Type: Day
Required: yes
Examples
{
"year": 1970,
"month": 1,
"day": 1
}

Variant 2

a date consisting only of a year
Type: array
Item

Item 1

Type: Year
Examples
[
1970
]

Variant 3

a date consisting of a year and a month
Type: array
Item

Item 1

Type: Year

Item 2

Type: Month
Examples
[
1970,
1
]

Variant 4

a date consisting of a year, a month and a day of the month
Type: array
Item

Item 1

Type: Year

Item 2

Type: Month

Item 3

Type: Day
Examples
[
1970,
1,
1
]