Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion schemas/iso/datetime/2019/date/calendar-basic.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Calendar Date (Basic Format)",
"description": "A complete representation of a calendar date in basic format [YYYY][MM][DD] (§5.2.2.1 a)",
"$comment": "This schema provides syntactic validation only. Semantic validation (e.g., leap years for February 29) must be performed by the consumer",
"$comment": "This schema validates day/month combinations (i.e rejects April 31) but does not validate leap years. February 29 is accepted for any year, and leap year validation must be performed by the consumer",
"examples": [ "19850412", "20000101", "20231231", "00000101", "99991231" ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.iso.org/standard/70907.html" ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Calendar Date Expanded (Basic Format)",
"description": "An expanded representation of a calendar date in basic format [±][YYYYYY][MM][DD] with six digits for the year (§5.2.2.3 a)",
"$comment": "This schema provides syntactic validation only. Semantic validation (e.g., leap years for February 29) must be performed by the consumer",
"$comment": "This schema validates day/month combinations (i.e rejects April 31) but does not validate leap years. February 29 is accepted for any year, and leap year validation must be performed by the consumer",
"examples": [
"+0019850412",
"-0000010101",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Calendar Date Expanded (Extended Format)",
"description": "An expanded representation of a calendar date in extended format [±][YYYYYY][\"-\"][MM][\"-\"][DD] with six digits for the year (§5.2.2.3 a)",
"$comment": "This schema provides syntactic validation only. Semantic validation (e.g., leap years for February 29) must be performed by the consumer",
"$comment": "This schema validates day/month combinations (i.e rejects April 31) but does not validate leap years. February 29 is accepted for any year, and leap year validation must be performed by the consumer",
"examples": [
"+001985-04-12",
"-000001-01-01",
Expand Down
2 changes: 1 addition & 1 deletion schemas/iso/datetime/2019/date/calendar-extended.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Calendar Date (Extended Format)",
"description": "A complete representation of a calendar date in extended format [YYYY][\"-\"][MM][\"-\"][DD] (§5.2.2.1 b)",
"$comment": "This schema provides syntactic validation only. Semantic validation (e.g., leap years for February 29) must be performed by the consumer",
"$comment": "This schema validates day/month combinations (i.e rejects April 31) but does not validate leap years. February 29 is accepted for any year, and leap year validation must be performed by the consumer",
"examples": [
"1985-04-12",
"2000-01-01",
Expand Down
2 changes: 1 addition & 1 deletion schemas/iso/datetime/2019/date/week-basic.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Week Date (Basic Format)",
"description": "A complete representation of a week date in basic format [YYYY][\"W\"][WW][D] where WW is the calendar week of year (01-53) and D is the calendar day of week (1-7) (§5.2.4.1 a)",
"$comment": "This schema provides syntactic validation only. Semantic validation (e.g., whether a year has 53 weeks) must be performed by the consumer",
"$comment": "This schema provides syntactic validation only. Semantic validation (i.e whether a year has 53 weeks) must be performed by the consumer",
"examples": [ "1985W155", "2000W011", "2023W527", "0000W011", "9999W537" ],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.iso.org/standard/70907.html" ],
Expand Down
2 changes: 1 addition & 1 deletion schemas/iso/datetime/2019/date/week-expanded-basic.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Week Date Expanded (Basic Format)",
"description": "An expanded representation of a week date in basic format [±][YYYYYY][\"W\"][WW][D] with six digits for the year, WW as calendar week of year (01-53), and D as calendar day of week (1-7) (§5.2.4.3 a)",
"$comment": "This schema provides syntactic validation only. Semantic validation (e.g., whether a year has 53 weeks) must be performed by the consumer",
"$comment": "This schema provides syntactic validation only. Semantic validation (i.e whether a year has 53 weeks) must be performed by the consumer",
"examples": [
"+001985W155",
"-000001W011",
Expand Down
2 changes: 1 addition & 1 deletion schemas/iso/datetime/2019/date/week-expanded-extended.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Week Date Expanded (Extended Format)",
"description": "An expanded representation of a week date in extended format [±][YYYYYY][\"-\"][\"W\"][WW][\"-\"][D] with six digits for the year, WW as calendar week of year (01-53), and D as calendar day of week (1-7) (§5.2.4.3 a)",
"$comment": "This schema provides syntactic validation only. Semantic validation (e.g., whether a year has 53 weeks) must be performed by the consumer",
"$comment": "This schema provides syntactic validation only. Semantic validation (i.e whether a year has 53 weeks) must be performed by the consumer",
"examples": [
"+001985-W15-5",
"-000001-W01-1",
Expand Down
2 changes: 1 addition & 1 deletion schemas/iso/datetime/2019/date/week-extended.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Week Date (Extended Format)",
"description": "A complete representation of a week date in extended format [YYYY][\"-\"][\"W\"][WW][\"-\"][D] where WW is the calendar week of year (01-53) and D is the calendar day of week (1-7) (§5.2.4.1 b)",
"$comment": "This schema provides syntactic validation only. Semantic validation (e.g., whether a year has 53 weeks) must be performed by the consumer",
"$comment": "This schema provides syntactic validation only. Semantic validation (i.e whether a year has 53 weeks) must be performed by the consumer",
"examples": [
"1985-W15-5",
"2000-W01-1",
Expand Down
17 changes: 17 additions & 0 deletions schemas/iso/datetime/2019/datetime/calendar-basic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Calendar Date and Local Time of Day (Basic Format)",
"description": "A representation of calendar date combined with complete local time of day in basic format [YYYY][MM][DD][\"T\"][hh][mm][ss] where the time designator \"T\" separates date from time (§5.4.2.1 a)",
"$comment": "This schema validates day/month combinations (i.e rejects April 31) but does not validate leap years. February 29 is accepted for any year, and leap year validation must be performed by the consumer",
"examples": [
"19850412T232050",
"20000101T000000",
"20231215T235959",
"19000301T120000",
"21001231T180000"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.iso.org/standard/70907.html" ],
"type": "string",
"pattern": "^([0-9]{4}(0[13578]|1[02])(0[1-9]|[12][0-9]|3[01])|[0-9]{4}(0[469]|11)(0[1-9]|[12][0-9]|30)|[0-9]{4}02(0[1-9]|1[0-9]|2[0-9]))T([01][0-9]|2[0-3])[0-5][0-9]([0-5][0-9]|60)$"
}
17 changes: 17 additions & 0 deletions schemas/iso/datetime/2019/datetime/calendar-extended.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Calendar Date and Local Time of Day (Extended Format)",
"description": "A representation of calendar date combined with complete local time of day in extended format [YYYY][\"-\"][MM][\"-\"][DD][\"T\"][hh][\":\"[mm][\":\"[ss] where the time designator \"T\" separates date from time (§5.4.2.1 b)",
"$comment": "This schema validates day/month combinations (i.e rejects April 31) but does not validate leap years. February 29 is accepted for any year, and leap year validation must be performed by the consumer",
"examples": [
"1985-04-12T23:20:50",
"2000-01-01T00:00:00",
"2023-12-15T23:59:59",
"1900-03-01T12:00:00",
"2100-12-31T18:00:00"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.iso.org/standard/70907.html" ],
"type": "string",
"pattern": "^([0-9]{4}-(0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|[0-9]{4}-(0[469]|11)-(0[1-9]|[12][0-9]|30)|[0-9]{4}-02-(0[1-9]|1[0-9]|2[0-9]))T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)$"
}
17 changes: 17 additions & 0 deletions schemas/iso/datetime/2019/datetime/calendar-minute-basic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Calendar Date and Local Time of Day with Reduced Precision (Basic Format)",
"description": "A representation of calendar date combined with reduced precision local time of day (hour and minute only) in basic format [YYYY][MM][DD][\"T\"][hh][mm] where seconds are omitted (§5.4.3 a)",
"$comment": "This schema validates day/month combinations (i.e rejects April 31) but does not validate leap years. February 29 is accepted for any year, and leap year validation must be performed by the consumer",
"examples": [
"19850412T1015",
"20000101T0000",
"20231215T2359",
"19000301T1200",
"21001231T1800"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.iso.org/standard/70907.html" ],
"type": "string",
"pattern": "^([0-9]{4}(0[13578]|1[02])(0[1-9]|[12][0-9]|3[01])|[0-9]{4}(0[469]|11)(0[1-9]|[12][0-9]|30)|[0-9]{4}02(0[1-9]|1[0-9]|2[0-9]))T([01][0-9]|2[0-3])[0-5][0-9]$"
}
17 changes: 17 additions & 0 deletions schemas/iso/datetime/2019/datetime/calendar-minute-extended.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Calendar Date and Local Time of Day with Reduced Precision (Extended Format)",
"description": "A representation of calendar date combined with reduced precision local time of day (hour and minute only) in extended format [YYYY][\"-\"][MM][\"-\"][DD][\"T\"][hh][\":\"[mm] where seconds are omitted (§5.4.3 a)",
"$comment": "This schema validates day/month combinations (i.e rejects April 31) but does not validate leap years. February 29 is accepted for any year, and leap year validation must be performed by the consumer",
"examples": [
"1985-04-12T10:15",
"2000-01-01T00:00",
"2023-12-15T23:59",
"1900-03-01T12:00",
"2100-12-31T18:00"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.iso.org/standard/70907.html" ],
"type": "string",
"pattern": "^([0-9]{4}-(0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|[0-9]{4}-(0[469]|11)-(0[1-9]|[12][0-9]|30)|[0-9]{4}-02-(0[1-9]|1[0-9]|2[0-9]))T([01][0-9]|2[0-3]):[0-5][0-9]$"
}
20 changes: 20 additions & 0 deletions schemas/iso/datetime/2019/datetime/calendar-shift-basic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Calendar Date and Local Time of Day with Time Shift (Basic Format)",
"description": "A representation of calendar date combined with complete local time of day and time shift from UTC in basic format [YYYY][MM][DD][\"T\"][hh][mm][ss][±][hh][mm] where the time shift includes hours and minutes (§5.4.2.1 a)",
"$comment": "This schema validates day/month combinations (i.e rejects April 31) but does not validate leap years. February 29 is accepted for any year, and leap year validation must be performed by the consumer",
"examples": [
"19850412T232050+0400",
"20000101T000000-0500",
"20231215T235959+0000",
"19000301T120000+0530",
"21001231T180000-1200"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.iso.org/standard/70907.html" ],
"type": "string",
"not": {
"pattern": "-0000$"
},
"pattern": "^([0-9]{4}(0[13578]|1[02])(0[1-9]|[12][0-9]|3[01])|[0-9]{4}(0[469]|11)(0[1-9]|[12][0-9]|30)|[0-9]{4}02(0[1-9]|1[0-9]|2[0-9]))T([01][0-9]|2[0-3])[0-5][0-9]([0-5][0-9]|60)[+-]([01][0-9]|2[0-3])[0-5][0-9]$"
}
20 changes: 20 additions & 0 deletions schemas/iso/datetime/2019/datetime/calendar-shift-extended.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Calendar Date and Local Time of Day with Time Shift (Extended Format)",
"description": "A representation of calendar date combined with complete local time of day and time shift from UTC in extended format [YYYY][\"-\"][MM][\"-\"][DD][\"T\"][hh][\":\"[mm][\":\"[ss][±][hh][\":\"[mm] where the time shift includes hours and minutes (§5.4.2.1 b)",
"$comment": "This schema validates day/month combinations (i.e rejects April 31) but does not validate leap years. February 29 is accepted for any year, and leap year validation must be performed by the consumer",
"examples": [
"1985-04-12T23:20:50+04:00",
"2000-01-01T00:00:00-05:00",
"2023-12-15T23:59:59+00:00",
"1900-03-01T12:00:00+05:30",
"2100-12-31T18:00:00-12:00"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.iso.org/standard/70907.html" ],
"type": "string",
"not": {
"pattern": "-00:00$"
},
"pattern": "^([0-9]{4}-(0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|[0-9]{4}-(0[469]|11)-(0[1-9]|[12][0-9]|30)|[0-9]{4}-02-(0[1-9]|1[0-9]|2[0-9]))T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)[+-]([01][0-9]|2[0-3]):[0-5][0-9]$"
}
20 changes: 20 additions & 0 deletions schemas/iso/datetime/2019/datetime/calendar-shifthour-basic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Calendar Date and Local Time of Day with Hourly Time Shift (Basic Format)",
"description": "A representation of calendar date combined with complete local time of day and time shift from UTC in basic format [YYYY][MM][DD][\"T\"][hh][mm][ss][±][hh] where the time shift includes only hours (§5.4.2.1 a)",
"$comment": "This schema validates day/month combinations (i.e rejects April 31) but does not validate leap years. February 29 is accepted for any year, and leap year validation must be performed by the consumer",
"examples": [
"19850412T232050+04",
"20000101T000000-05",
"20231215T235959+00",
"19000301T120000+05",
"21001231T180000-12"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.iso.org/standard/70907.html" ],
"type": "string",
"not": {
"pattern": "-00$"
},
"pattern": "^([0-9]{4}(0[13578]|1[02])(0[1-9]|[12][0-9]|3[01])|[0-9]{4}(0[469]|11)(0[1-9]|[12][0-9]|30)|[0-9]{4}02(0[1-9]|1[0-9]|2[0-9]))T([01][0-9]|2[0-3])[0-5][0-9]([0-5][0-9]|60)[+-]([01][0-9]|2[0-3])$"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Calendar Date and Local Time of Day with Hourly Time Shift (Extended Format)",
"description": "A representation of calendar date combined with complete local time of day and time shift from UTC in extended format [YYYY][\"-\"][MM][\"-\"][DD][\"T\"][hh][\":\"[mm][\":\"[ss][±][hh] where the time shift includes only hours (§5.4.2.1 b)",
"$comment": "This schema validates day/month combinations (i.e rejects April 31) but does not validate leap years. February 29 is accepted for any year, and leap year validation must be performed by the consumer",
"examples": [
"1985-04-12T23:20:50+04",
"2000-01-01T00:00:00-05",
"2023-12-15T23:59:59+00",
"1900-03-01T12:00:00+05",
"2100-12-31T18:00:00-12"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.iso.org/standard/70907.html" ],
"type": "string",
"not": {
"pattern": "-00$"
},
"pattern": "^([0-9]{4}-(0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|[0-9]{4}-(0[469]|11)-(0[1-9]|[12][0-9]|30)|[0-9]{4}-02-(0[1-9]|1[0-9]|2[0-9]))T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)[+-]([01][0-9]|2[0-3])$"
}
17 changes: 17 additions & 0 deletions schemas/iso/datetime/2019/datetime/calendar-utc-basic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Calendar Date and UTC of Day (Basic Format)",
"description": "A representation of calendar date combined with complete UTC of day in basic format [YYYY][MM][DD][\"T\"][hh][mm][ss][\"Z\"] where \"Z\" is the UTC designator (§5.4.2.1 a)",
"$comment": "This schema validates day/month combinations (i.e rejects April 31) but does not validate leap years. February 29 is accepted for any year, and leap year validation must be performed by the consumer",
"examples": [
"19850412T232050Z",
"20000101T000000Z",
"20231215T235959Z",
"19000301T120000Z",
"21001231T235960Z"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.iso.org/standard/70907.html" ],
"type": "string",
"pattern": "^([0-9]{4}(0[13578]|1[02])(0[1-9]|[12][0-9]|3[01])|[0-9]{4}(0[469]|11)(0[1-9]|[12][0-9]|30)|[0-9]{4}02(0[1-9]|1[0-9]|2[0-9]))T([01][0-9]|2[0-3])[0-5][0-9]([0-5][0-9]|60)Z$"
}
17 changes: 17 additions & 0 deletions schemas/iso/datetime/2019/datetime/calendar-utc-extended.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Calendar Date and UTC of Day (Extended Format)",
"description": "A representation of calendar date combined with complete UTC of day in extended format [YYYY][\"-\"][MM][\"-\"][DD][\"T\"][hh][\":\"[mm][\":\"[ss][\"Z\"] where \"Z\" is the UTC designator (§5.4.2.1 b)",
"$comment": "This schema validates day/month combinations (i.e rejects April 31) but does not validate leap years. February 29 is accepted for any year, and leap year validation must be performed by the consumer",
"examples": [
"1985-04-12T23:20:50Z",
"2000-01-01T00:00:00Z",
"2023-12-15T23:59:59Z",
"1900-03-01T12:00:00Z",
"2100-12-31T23:59:60Z"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.iso.org/standard/70907.html" ],
"type": "string",
"pattern": "^([0-9]{4}-(0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|[0-9]{4}-(0[469]|11)-(0[1-9]|[12][0-9]|30)|[0-9]{4}-02-(0[1-9]|1[0-9]|2[0-9]))T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)Z$"
}
16 changes: 16 additions & 0 deletions schemas/iso/datetime/2019/datetime/ordinal-basic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Ordinal Date and Local Time of Day (Basic Format)",
"description": "A representation of ordinal date combined with complete local time of day in basic format [YYYY][DDD][\"T\"][hh][mm][ss] where the time designator \"T\" separates date from time (§5.4.2.2 a)",
"examples": [
"1985102T232050",
"2000001T000000",
"2023349T235959",
"1900060T120000",
"2100365T180000"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.iso.org/standard/70907.html" ],
"type": "string",
"pattern": "^[0-9]{4}(00[1-9]|0[1-9][0-9]|[12][0-9]{2}|3[0-5][0-9]|36[0-6])T([01][0-9]|2[0-3])[0-5][0-9]([0-5][0-9]|60)$"
}
16 changes: 16 additions & 0 deletions schemas/iso/datetime/2019/datetime/ordinal-extended.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Ordinal Date and Local Time of Day (Extended Format)",
"description": "A representation of ordinal date combined with complete local time of day in extended format [YYYY][\"-\"][DDD][\"T\"][hh][\":\"[mm][\":\"[ss] where the time designator \"T\" separates date from time (§5.4.2.2 b)",
"examples": [
"1985-102T23:20:50",
"2000-001T00:00:00",
"2023-349T23:59:59",
"1900-060T12:00:00",
"2100-365T18:00:00"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.iso.org/standard/70907.html" ],
"type": "string",
"pattern": "^[0-9]{4}-(00[1-9]|0[1-9][0-9]|[12][0-9]{2}|3[0-5][0-9]|36[0-6])T([01][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)$"
}
16 changes: 16 additions & 0 deletions schemas/iso/datetime/2019/datetime/ordinal-minute-utc-basic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "ISO 8601-1:2019 Ordinal Date and UTC of Day with Reduced Precision (Basic Format)",
"description": "A representation of ordinal date combined with reduced precision UTC of day (hour and minute only) in basic format [YYYY][DDD][\"T\"][hh][mm][\"Z\"] where seconds are omitted (§5.4.3 b)",
"examples": [
"1985102T1015Z",
"2000001T0000Z",
"2023349T2359Z",
"1900060T1200Z",
"2100365T1800Z"
],
"x-license": "https://github.com/sourcemeta/std/blob/main/LICENSE",
"x-links": [ "https://www.iso.org/standard/70907.html" ],
"type": "string",
"pattern": "^[0-9]{4}(00[1-9]|0[1-9][0-9]|[12][0-9]{2}|3[0-5][0-9]|36[0-6])T([01][0-9]|2[0-3])[0-5][0-9]Z$"
}
Loading