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

Look into showing deprecation warnings #360

Open
jspaaks opened this issue Sep 4, 2023 · 1 comment
Open

Look into showing deprecation warnings #360

jspaaks opened this issue Sep 4, 2023 · 1 comment

Comments

@jspaaks
Copy link
Member

jspaaks commented Sep 4, 2023

A recent draft of JSONSchema has a key deprecated, it would be useful to annotate some keys in the schema with it, and have its corresponding comment show up when validating.

https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.3

@jspaaks
Copy link
Member Author

jspaaks commented Sep 4, 2023

I experimented a bit with updating the schema to 2019-09, annotating the commit key as deprecated, and then creating a CITATION.cff that uses commit. However, nothing shows up in the terminal.

Also tried with https://pypi.org/project/check-jsonschema/, that also didn't show any deprecation warnings.

Maybe there is more stuff in the Python objects, haven't looked at that yet.

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

No branches or pull requests

1 participant