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

Add dependentRequired and dependentSchemas validators #479

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

kmalski
Copy link
Contributor

@kmalski kmalski commented Nov 8, 2021

Hi, I have added validation for new keywords dependentRequired and dependentSchemas added in 2019-09 json schema draft. The logic has been simply splitted from already existing DependenciesValidator (as well as the logic of the new keywords).

There is one thing I'm not sure about, which is chinese translation. I have just used translator for this purpose, please check correctness if possible.

The test cases were taken from the official json schema repository.

This pull request refers to issue #321

@stevehu
Copy link
Contributor

stevehu commented Nov 9, 2021

@kmalski Thanks a lot for your help. Nice implementation with detailed test cases!!!

@stevehu
Copy link
Contributor

stevehu commented Nov 10, 2021

A new release 1.0.64 is published. Thanks for your help.

https://github.com/networknt/json-schema-validator/releases/tag/1.0.64

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.

2 participants