Thanks to maintainers working on projects like ajv, you can use Tidelift to give your teams access to a continuously curated stream of validated data about vetted components they need to make intelligent decisions, faster.
You can feel confident bringing ajv into your application’s dependency tree because the maintainers of ajv are paid by Tidelift to ensure their open source projects follow standardized secure software development practices.
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.