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

Schema Validator Enhancement to Support Draft-12 Version of Schema #90

Merged
merged 10 commits into from
Sep 2, 2024

Conversation

manjudr
Copy link
Member

@manjudr manjudr commented Aug 26, 2024

This pull request introduces an enhancement to the schema validator to support the Draft-12 version of JSON Schema. Currently, the validator is limited to Draft-07, which results in incompatibility with schemas generated using newer drafts.

The 'networknt/json-schema-validator' library is used for schema validation. The update ensures compatibility with the Draft-12 version by configuring the JsonSchemaFactory appropriately.

Testcase Result

Screenshot 2024-08-30 at 3 28 41 PM

@manjudr manjudr marked this pull request as ready for review August 27, 2024 09:03
Copy link

@anandp504 anandp504 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved 👍

@ravismula ravismula merged commit e18a1f1 into main Sep 2, 2024
1 check failed
@ravismula ravismula deleted the schema-validator branch September 2, 2024 09:38
@manjudr manjudr restored the schema-validator branch September 4, 2024 09:29
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.

4 participants