@hackage jsonschema0.2.0.0

JSON Schema derivation and validation

Provides the ToJSONSchema type class and validation helpers for generating JSON Schema 2020-12 documents from Haskell types and validating JSON values at runtime. The library includes a generic deriving strategy that handles recursive data types, sum-tag encoding, and refined handling of arrays and enumerations. Validation implements the core and applicator vocabularies, including `$defs` and local `$ref` resolution, pragmatic support for `unevaluated*` keywords, and detailed error traces.