Security and reliability for JavaScript applications. Ensure your data is valid as soon as it's received. Instead of having your data validation and sanitization logic written as lengthy code, you can declare the requirements to your data with concise, easy to read and cross-platform JSON Schema or JSON Type Definition specifications and validate the data as soon as it arrives to your application. TypeScript users can use validation functions as type guards, having type level guarantee that if your data is validated, it is correct. Ajv was designed at the time when there were no validators fully complying with JSON Schema specification, aiming to achieve the best possibly validation performance via just-in-time compilation of JSON schemas to code. Ajv achieved both speed and rigour, but initially security was an afterthought, many security flaws have been fixed thanks to the reports from its users.

Features

  • Compiles your schemas to optimized JavaScript code
  • Ajv generates code 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
  • Ajv version 7 was rebuilt to have secure code generation embedded in its design
  • Use JSON Type Definition or JSON Schema
  • JTD has tools for both validation and type code generation for multiple languages

Project Samples

Project Activity

See All Activity >

Categories

JSON

License

MIT License

Follow Ajv JSON schema validator

Ajv JSON schema validator Web Site

Other Useful Business Software
Passwordless Authentication and Passwordless Security Icon
Passwordless Authentication and Passwordless Security

Identity is everything. Protect it with Duo.

It’s no secret — passwords can be a real headache, both for the people who use them and the people who manage them. Over time, we’ve created hundreds of passwords, it’s easy to lose track of them and they’re easily compromised. Fortunately, passwordless authentication is becoming a feasible reality for many businesses. Duo can help you get there.
Get a Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ajv JSON schema validator!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript JSON Software

Registered

2021-06-23