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

[Feature Request] Draft 2020-12 support for schema definitions #3160

Open
2 tasks done
AE1NS opened this issue Jun 23, 2022 · 3 comments
Open
2 tasks done

[Feature Request] Draft 2020-12 support for schema definitions #3160

AE1NS opened this issue Jun 23, 2022 · 3 comments
Assignees
Labels
feature-request Request for new features or functionality

Comments

@AE1NS
Copy link

AE1NS commented Jun 23, 2022

Context

  • This issue is not a bug report. (please use a different template for reporting a bug)
  • This issue is not a duplicate of an existing issue. (please use the search to find existing issues)

Description

Are you going to support the the Draft 2020-12 version for schema definitions in the future? When I set $schema: 'https://json-schema.org/draft/2020-12/schema', inside my schema objects, I get this output in my monaco editor: Draft 2020-12 schemas are not yet fully supported.(768).

With the new draft https://json-schema.org/draft/2020-12/release-notes.html we could i.e. use the unevaluatedProperties feature.

In my case, I could solve the issue described here: https://stackoverflow.com/questions/64143406/allow-additional-properties-in-reference-schemas-but-none-else

@AE1NS AE1NS added the feature-request Request for new features or functionality label Jun 23, 2022
@AE1NS AE1NS changed the title [Feature Request] Draft 2020-12 support vor schema definitions [Feature Request] Draft 2020-12 support for schema definitions Jun 23, 2022
@mjperrone
Copy link

I would be interested in this support

@elitemike
Copy link

elitemike commented Oct 24, 2023

I could use this as well. My JSON that meets the 2020-12 spec starts with an array and the error shows on the open bracket. No other errors show further down. I do get auto complete suggestions from my schema in the hierarchy, but no errors about missing required keys.

@elitemike
Copy link

Has there been any movement on this? I'm trying to put in a work around for my users and it's not very clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

4 participants