hjsonschema icon indicating copy to clipboard operation
hjsonschema copied to clipboard

JSON Schema Draft 4 library (DEPRECATED)

Results 8 hjsonschema issues
Sort by recently updated
recently updated
newest added

As required by the spec: https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-3.3

defect

Hi, I am really trying my best, but I can't get it to work and the errors are rather harebrained to me... A bit of context, I am trying to...

defect

The latest version of the language agnostic test suite gives a failure due to this issue: https://github.com/json-schema-org/JSON-Schema-Test-Suite/issues/175

defect

Is there a specific reason `format` validators are not currently supported? I think this is a very important feature to implement because it's leveraged to heavily in OpenAPI specs. -...

drawback

`hjsonschema` only supports JSON Schema Draft 4, but [json-schema-org](https://github.com/json-schema-org/json-schema-spec) started releasing new versions of the standard in 2017.

drawback

Schemas with circular references can cause infinite loops. The library tries to detect this in [JSONSchema.Fetch](https://github.com/seagreen/hjsonschema/blob/39c493424191986c959c46097a40c83f3dc9e12e/src/JSONSchema/Fetch.hs#L157), but the code may note be solid.

Make sure this is the correct thing to do, then get a test for it merged into the [test suite](https://github.com/json-schema/JSON-Schema-Test-Suite).