Add JSON schema validation example bundle - #66
Merged
Conversation
Adds com.vogella.json.validation demonstrating JSON schema validation with the networknt json-schema-validator, plus a test fragment covering the valid and invalid document cases. The validator is added to the target platform as a Maven location dependency.
The 2026-06 simultaneous release ships the jakarta.annotation package at 3.0.0 and no longer provides a 2.1.x version, so the upper bound of [2.1.0,3.0.0) made the target platform unresolvable and broke the build. Widen the range to [2.1.0,4.0.0) in the four bundles importing the package.
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.
Adds a new
com.vogella.json.validationbundle that shows how to validate a JSON document against a JSON schema using the networknt json-schema-validator, together with a test fragment that covers both the valid and the invalid document case.The validator is pulled in through the target platform as a Maven location dependency, so it resolves the same way in the IDE and in the Tycho build. Both bundles are wired into the reactor, which means the example is compiled and its tests are executed on every build instead of only living as documentation.