json-schema-validator icon indicating copy to clipboard operation
json-schema-validator copied to clipboard

A fast Java JSON schema validator that supports draft V4, V6, V7, V2019-09 and V2020-12

Results 159 json-schema-validator issues
Sort by recently updated
recently updated
newest added

I have tests build around this validation library and noticed a type error since I migrated to V2020-12. Given a schema with the following property: ```json "numberArray": { "type": "array",...

when give in the schema : "name": { "type": "string", "format":"date" } and transfer to validate this : "2019-10-12 07:20:50.52Z" "2019-10-12T07:20:50.52Z" 2 Question regarding date validator : 1. what is...

See #594 For our company to use this project we would like Commons Lang to not be a dependency as none of our projects use it anymore. If there was...

Not sure what the stance of this project is in regards to newer Java versions. I've been using this library for a couple of years now and I would love...

I am trying to validate a JsonNode (which I built up from a JSON string) against a JSON Schema document (Located in my resources folder). I am using NetBeans 8.2...

I am using this library to validate a service's JSON outputs and one of the outputs are the JSON schema (against which everything is validated) themselves. When validating the schema,...

enhancement
help wanted

I'm currently seeing the following error: ``` java.lang.UnsupportedOperationException: No suitable validator for id at com.networknt.schema.ValidatorTypeCode.newValidator(ValidatorTypeCode.java:124) ~[json-schema-validator-1.0.42.jar:?] at com.networknt.schema.JsonMetaSchema.newValidator(JsonMetaSchema.java:342) ~[json-schema-validator-1.0.42.jar:?] at com.networknt.schema.ValidationContext.newValidator(ValidationContext.java:53) ~[json-schema-validator-1.0.42.jar:?] at com.networknt.schema.JsonSchema.read(JsonSchema.java:198) ~[json-schema-validator-1.0.42.jar:?] at com.networknt.schema.JsonSchema.initialize(JsonSchema.java:76) ~[json-schema-validator-1.0.42.jar:?] at com.networknt.schema.PropertiesValidator.(PropertiesValidator.java:36)...

I am looking to add discriminators to my new schemas. The old schemas will not continue to not include them. If I enable openAPI3StyleDiscriminators, my old schemas which contain anyOf...

Hi, I'm trying to figure out how I can validate a json against a JSON Schema, which is included in an OpenAPI definition. Let me explain with an example. I...

https://json-schema.org/specification-links.html#2020-12