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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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