Skip to content

re-unite meta-schema #1610

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

re-unite meta-schema #1610

wants to merge 4 commits into from

Conversation

gregsdennis
Copy link
Member

@gregsdennis gregsdennis commented Jun 22, 2025

What kind of change does this PR introduce?

Refactor

Issue & Discussion References

Summary

Re-unites the meta-schema into a single file since vocabularies are a proposal now. We will likely split it back up again when we figure out vocabs, but for now it doesn't make sense to have them separated.

Also:

  • removes any deprecated keywords
  • reserves the names of existing proposals
  • reserves x-* keywords
  • reserves $* keywords

Does this PR introduce a breaking change?

@gregsdennis gregsdennis marked this pull request as ready for review June 22, 2025 04:49
},
"patternProperties": {
"^x-": true,
"^(?!(?:\\$id|\\$schema|\\$ref|\\$anchor|\\$dynamicRef|\\$dynamicAnchor|\\$comment|\\$defs)$)\\$.*": false
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this superfluous?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Karen suggested an improvement.

It's needed. The updated spec restricts the definition of custom $* keywords. The only way to do that is to explicitly allow the ones you have.

Copy link
Member

@Relequestual Relequestual left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for doing this work.
Left one comment, but not essential.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

Reunite the meta-schemas Unsupported deprecated keywords are listed in the metaschema
3 participants