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

Migrate to networknt json schema validator implementation #3212

Merged
merged 4 commits into from
Jun 22, 2024

Conversation

justin-tay
Copy link
Collaborator

Description

Migrates the json-schema-validator implementation from com.github.java-json-tools to the com.networknt implementation.

  • Schemas were migrated from the Draft 4 dialect to the Draft 2020-12 dialect.
  • The existing custom keywords and formats that can be implemented using the standard keywords and formats in the Draft 2020-12 dialect were removed. Only the custom elideRSQLFilter format was retained.

Motivation and Context

The current json-schema-validator implementation from com.github.java-json-tools does not currently seem to be maintained with the last release in 2020.

How Has This Been Tested?

Existing tests were modified as the validation messages generated for the different implementations are different.

License

I confirm that this contribution is made under an Apache 2.0 license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

aklish
aklish previously approved these changes Jun 22, 2024
@aklish aklish merged commit ae4c615 into yahoo:master Jun 22, 2024
1 check passed
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