Skip to content

Commit efbb965

Browse files
authored
Merge pull request #1387 from json-schema-org/gregsdennis/explicit-annotations
Gregsdennis/explicit annotations
2 parents 70af7dc + 01c8327 commit efbb965

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

jsonschema-core.xml

+15
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,21 @@
624624
for registering and implementing such handlers is implementation-dependent.
625625
</t>
626626

627+
<section title="Explicit annotation keywords" anchor="explicit-annotation">
628+
<t>
629+
The values of keywords which begin with "x-" MUST be collected as annotations.
630+
</t>
631+
<t>
632+
Keywords which begin with "x-" symbol MUST NOT affect evaluation
633+
of a schema in any way other than annotation collection.
634+
</t>
635+
<t>
636+
Consequently, the "x-" prefix is reserved for this purpose, and
637+
extension vocabularies MUST NOT define any keywords which begin
638+
with this prefix.
639+
</t>
640+
</section>
641+
627642
<section title="Handling of unrecognized or unsupported keywords" anchor="unrecognized">
628643
<t>
629644
Implementations SHOULD treat keywords they do not recognize, or that

0 commit comments

Comments
 (0)