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

config-schema.json: fixes to the schema #5654

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

config-schema.json: fixes to the schema #5654

wants to merge 3 commits into from

Conversation

ilyagr
Copy link
Contributor

@ilyagr ilyagr commented Feb 11, 2025

Fixes #5607 in particular.

This can be thought of as a companion to @steadmon 's #5651.

@ilyagr ilyagr marked this pull request as ready for review February 11, 2025 01:07
This makes the schema a bit less smart, but there's a good chance
`taplo` could not use "propertyNames" anyway because that comes
from a newer version of the schema than `taplo` officially supports
(see the child of this commit).

Fixes #5607
"$comment" is not officially supported by draft-4, but it is in newer
drafts, and JSON schema readers are supposed to skip fields that
are not known to them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[jsonschema] <key> is valid under more than one of the schemas listed in the 'oneOf' keyword
1 participant