This library is provides a JSON Schema validator, based on the current draft 07: https://json-schema.org/latest/json-schema-validation.html.
It uses the official JSON Schema Test Suite. Currently almost all normal
tests are passing, with the exception of one test of
additionalProperties as well as one ref test case. The optional
test cases have not been considered so far.
It is very much WIP!
The library provides a single exported procedure validate, which
takes both a schema: JsonNode, and some data: JsonNode to validate
against the schema. A bool is returned indicating whether data is
valid under schema. Currently no errors as to what parts of the
data are wrong are provided.