Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add period format #1383

Closed
wants to merge 1 commit into from
Closed
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
9 changes: 7 additions & 2 deletions jsonschema-validation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -643,14 +643,14 @@

<section title="Defined Formats">

<section title="Dates, Times, and Duration">
<section title="Dates, Times, Duration, and Period">
<t>
These attributes apply to string instances.
</t>
<t>
Date and time format names are derived from
<xref target="RFC3339">RFC 3339, section 5.6</xref>.
The duration format is from the ISO 8601 ABNF as given
The duration and period formats are from the ISO 8601 ABNF as given
in Appendix A of RFC 3339.
</t>
<t>
Expand All @@ -677,6 +677,11 @@
a valid representation according to the "duration" ABNF rule
(referenced above)
</t>
<t hangText="period:">
A string instance is valid against this attribute if it is
a valid representation according to the "period" ABNF rule
(referenced above)
</t>
</list>
</t>
<t>
Expand Down