Ajv is the fastest JSON Schema validator for Node.js and browser. Ajv supports draft-04/06/07.
Ajv generates code using doT templates to turn JSON Schemas into super-fast validation functions that are efficient for v8 optimization. Currently Ajv is the fastest and the most standard compliant validator according to these benchmarks:
Ajv implements several extensions to JSON Schema specification (e.g., $data reference) and allows users to define their own custom keywords. ajv-keywords defines several useful keywords, some of which will be included in the next versions of JSON Schema specification -
propertyNames is included in draft-06 (soon to be published) and
if/then/else is considered for draft-07.
Because we work directly with the maintainer of Ajv, the Tidelift Subscription ensures any Ajv errors are fixed quickly.
Start building a paved path for your organization with our catalogs of known-good, proactively maintained components, like ajv.
Java users get SPDX-formatted licenses for 55,933 package releases
Python users get SPDX-formatted licenses for 11,191 package releases
Conda users get SPDX-formatted licenses for 201 package releases
Python users get vulnerability remediation advice for 10,840 package releases