Skip to content

Commit 9949508

Browse files
committed
add clarification around custom formats
1 parent 62b9c21 commit 9949508

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

jsonschema-validation.xml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -668,10 +668,9 @@
668668
<t>
669669
Implementations MAY support custom format attributes. Save for agreement between
670670
parties, schema authors SHALL NOT expect a peer implementation to support such
671-
custom format attributes. An implementation MUST NOT fail
672-
validation or cease processing due to an unknown format attribute.
673-
When treating "format" as an annotation, implementations SHOULD collect both
674-
known and unknown format attribute values.
671+
custom format attributes. An implementation MUST NOT fail to collect unknown formats
672+
as annotations. When the Format-Assertion vocabulary is specified, implementations
673+
MUST fail upon encountering unknown formats.
675674
</t>
676675
<t>
677676
Vocabularies do not support specifically declaring different value sets for keywords.

0 commit comments

Comments
 (0)