Skip to content

Commit f0f802f

Browse files
committed
Add a "duration" format.
1 parent f80d1fd commit f0f802f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: jsonschema-validation.xml

+7-1
Original file line numberDiff line numberDiff line change
@@ -543,13 +543,15 @@
543543

544544
<section title="Defined Formats">
545545

546-
<section title="Dates and Times">
546+
<section title="Dates, Times, and Duration">
547547
<t>
548548
These attributes apply to string instances.
549549
</t>
550550
<t>
551551
Date and time format names are derived from
552552
<xref target="RFC3339">RFC 3339, section 5.6</xref>.
553+
The duration format is from the ISO 8601 ABNF as given
554+
in Appendix A of RFC 3339.
553555
</t>
554556
<t>
555557
Implementations supporting formats SHOULD implement support for
@@ -567,6 +569,10 @@
567569
A string instance is valid against this attribute if it is
568570
a valid representation according to the "full-time" production.
569571
</t>
572+
<t hangText="duration:">
573+
A string instance is valid against this attribute if it is
574+
a valid representation according to the "duration" production.
575+
</t>
570576
</list>
571577
</t>
572578
<t>

0 commit comments

Comments
 (0)