JsonSchemaFactory.byDefault().getJsonSchema(uri);
In the readFrom() method of the reader, I am reading off a JsonNode from the entity stream and passing it to the aforementioned schema for validation
final ProcessingReport report = schema.validateUnchecked(node, true);
The ProcessingReport returned only contains a single error even when I have unit tested with multiple errors in the JSON. I didn't see any specific settings either on the construction of the schema or the usage of it alter its error reporting. The wiki is pretty thin, and, if it is there, I missed it.
Thanks,
Karl
Unrecognized field "level" (class com.github.fge.jsonschema.core.report.ListProcessingReport), not marked as ignorable (2 known properties: "logLevel", "exceptionThreshold"])
It appears that the reports are serialized in a way that makes it impossible to deserialize them short of creating custom deserializers. Is this correct? If so, it makes decomposition of nested errors a bit messy since we would then need to know the internal implementation of the framework (i.e. how the reports/messages are constructed in JSON) and rely on that for parsing this state. It also introduces possible versioning issues if this internal state every changes.
Regard,
Karl