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

Gregsdennis/explicit annotations #1387

Merged
merged 5 commits into from
May 17, 2023
Merged
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
15 changes: 15 additions & 0 deletions jsonschema-core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,21 @@
for registering and implementing such handlers is implementation-dependent.
</t>

<section title="Explicit annotation keywords" anchor="explicit-annotation">
<t>
The values of keywords which begin with "x-" MUST be collected as annotations.
</t>
<t>
Keywords which begin with "x-" symbol MUST NOT affect evaluation
of a schema in any way other than annotation collection.
</t>
<t>
Consequently, the "x-" prefix is reserved for this purpose, and
extension vocabularies MUST NOT define any keywords which begin
with this prefix.
</t>
</section>

<section title="Handling of unrecognized or unsupported keywords" anchor="unrecognized">
<t>
Implementations SHOULD treat keywords they do not recognize, or that
Expand Down