json-schema-validator
json-schema-validator copied to clipboard
A fast Java JSON schema validator that supports draft V4, V6, V7, V2019-09 and V2020-12
Hi, I've seen an internal customer project being on an ancient version (0.1.3) and wanted to upgrade things. After the update to 1.0.69 (latest at the point of writing) things...
Hi, I am trying this code: "$ref": "https://github.com/adewg/ICAR/blob/3340b2041f73afe47079426588bcef1eaf2b004e/enums/icarDepartureKindType.json", but always getting this error: com.networknt.schema.JsonSchemaException: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('
Hi, I am trying this code: "$ref": "https://github.com/adewg/ICAR/blob/3340b2041f73afe47079426588bcef1eaf2b004e/enums/icarDepartureKindType.json", but always getting this error: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('
In this branch, the remote server were started with an HTTPS listener and all JSON schema files were updated with https://localhost:1234 instead of http://localhost:1234. To ensure that HTTPS works, we...
The [`getPath` method in `ValidationMessage`](https://github.com/networknt/json-schema-validator/blob/7e9375fb1e1ee68cfc3664865bd3d36759a0ab5a/src/main/java/com/networknt/schema/ValidationMessage.java#L48) currently returns the path in JSON Path format, and I'm wondering if there's a way of making it a JSON Pointer. I found [this example](https://github.com/networknt/json-schema-validator/blob/c41df270a71f8423c63cfaa379d2e9b3f570b73e/doc/yaml-line-numbers.md#scenario-2---validationmessage-line-locations)...
Continuation of discussion from https://github.com/networknt/json-schema-validator/pull/440#issuecomment-1050048438 The[ custom message feature ](https://github.com/networknt/json-schema-validator/blob/master/doc/cust-msg.md) allows a user to specify a custom validation message based on the type of validation. However, this is limited in...
We have a PR for upgrading to Java 11 at https://github.com/networknt/json-schema-validator/pull/403 I am opening this issue to discuss the solutions. I am thinking to move the current codebase to 1.0.x...
Hi, You seem to have vendored some commons-lang3 code under https://github.com/networknt/json-schema-validator/tree/master/src/main/java/com/networknt/schema/format, presumably for a good reason. The code is licensed under Apache-2.0 license, so to distribute it, or its derivative...
Hi, following example is not working as expected: (very bottom of the page) http://json-schema.org/understanding-json-schema/reference/conditionals.html#id7 `{ "type": "object", "properties": { "restaurantType": { "enum": ["fast-food", "sit-down"] }, "total": { "type": "number" },...
When I recently tested the combination keywords oneOf、anyOf and allOf, I found that they didn't report errors as well as I understood them. I looked at the source code and...