package corvus-json-schema

  1. Overview
  2. Docs
A fast JSON Schema evaluator (draft 4 to 2020-12) with no dependencies outside the OCaml distribution

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.1.tar.gz
sha256=d0a084719770883384e488d42ff1a2c0f84a53e2b2898016183533b8393f2cab
sha512=d5875f234b316cd50a888e1a3acc055133d705eb6622e3856c22f6719fa3eae196f1f08cd08cc073cc0924d27e330ae2ea5388142dd5e91b173bdfd91ad997f0

doc/index.html

corvus-json-schema

A JSON Schema evaluator for draft 4, 6, 7, 2019-09 and 2020-12, with no dependencies outside the OCaml distribution. A schema is compiled once into fail-fast plans, and any number of instances are then validated against it, as JSON text or as parsed documents.

The library

The package has one library for programs, corvus-json-schema, with one module:

Internal libraries

The package is built from two more libraries. They are installed with it, and they are not a supported interface: either can change in any release.

  • Corvus_json_schema_ecmaregex (corvus-json-schema.ecmaregex): the ECMA-262 regular expression engine behind pattern, patternProperties and the regex format.
  • Corvus_json_schema_ucd (corvus-json-schema.ucd): the Unicode data the engine and the formats read.