build(deps): bump com.networknt:json-schema-validator from 1.5.9 to 3.0.1#60
Merged
jcardozo-eth merged 3 commits intomainfrom Mar 12, 2026
Conversation
Bumps [com.networknt:json-schema-validator](https://github.com/networknt/json-schema-validator) from 1.5.9 to 3.0.1. - [Release notes](https://github.com/networknt/json-schema-validator/releases) - [Changelog](https://github.com/networknt/json-schema-validator/blob/master/CHANGELOG.md) - [Commits](networknt/json-schema-validator@1.5.9...3.0.1) --- updated-dependencies: - dependency-name: com.networknt:json-schema-validator dependency-version: 3.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
The library is only used in tests. Adding test scope prevents Jackson 3 (a transitive dependency of v3) from leaking into the published artifact.
…ator v3 API - Replace JsonSchemaFactory with SchemaRegistry - Replace JsonSchema with Schema, ValidationMessage with Error - Use string-based validation to avoid Jackson 2/3 type mismatch - Load bundled meta-schema via SchemaLocation instead of HTTP fetch - Remove Jackson 2 ObjectMapper dependency from test
There was a problem hiding this comment.
Pull request overview
Updates the project’s JSON Schema validation test to use json-schema-validator v3.x APIs while bumping the dependency version accordingly.
Changes:
- Bump
com.networknt:json-schema-validatorfrom1.5.9to3.0.1and restrict it to test scope. - Refactor
JsonSchemaValidationTestto use the new v3.xSchemaRegistry/SchemaAPI and avoid fetching the meta-schema over the network.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
pom.xml |
Updates the json-schema-validator dependency to 3.0.1 and sets it to test scope. |
src/test/java/ch/ethz/library/darc/model/JsonSchemaValidationTest.java |
Migrates schema validation test code to the v3.x validator API and switches to local/bundled meta-schema resolution. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps com.networknt:json-schema-validator from 1.5.9 to 3.0.1.
Release notes
Sourced from com.networknt:json-schema-validator's releases.
Changelog
Sourced from com.networknt:json-schema-validator's changelog.
... (truncated)
Commits
d352d6fupdate version to 3.0.1a313e60upgrade to 3.0.1 and update changelogff327ecUpgrade Jackson from 3.0.3 to 3.1.0 to fix CVE-2026-29062 (#1236)43cbcf7Fix minimum maximum validators with type array (#1227)98b842dAdd method to SpecificationVersion to determine from schema node (#1221)c98d19aupdate contributor list in README.md2621edcupgrade to 3.0.0 and update changelogc485230Upgrade to Jackson 3 and JDK 17 (#1219)ad0f41bMerge branch 'master' of github.com:networknt/json-schema-validator54d1b71upgrade to 2.0.1 and update changelogDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)