Skip to content

Commit 9c121dc

Browse files
committed
revert unrecognized keywords change
1 parent f409793 commit 9c121dc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

jsonschema-core.xml

+4-3
Original file line numberDiff line numberDiff line change
@@ -638,9 +638,10 @@
638638

639639
<section title="Handling of unrecognized or unsupported keywords" anchor="unrecognized">
640640
<t>
641-
Implementations MUST refuse to process schemas which contain
642-
keywords which they do not recognize or which they recognize
643-
but do not support.
641+
Implementations SHOULD treat keywords they do not recognize, or that
642+
they recognize but do not support, as annotations, where the value of
643+
the keyword is the value of the annotation. Whether an implementation
644+
collects these annotations or not, they MUST otherwise ignore the keywords.
644645
</t>
645646
</section>
646647
</section>

0 commit comments

Comments
 (0)