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.
and customize specifically for your organization
Verified updates for zero-day vulnerabilities, coordinated security responses, and immediate notifications of which of your applications are impacted, with the fix prepared for you. Like your phone, just "apply updates" to stay secure.
Verified-accurate open source licenses (including IP indemnification) and customizable policy enforcement. Your up-to-date software “bill of materials” is always one click away.
Tidelift continuously guides you on your upgrade path, steering you towards the best packages and versions for your particular application. It’s like a GPS for open source software.