ajv-validator/ajv
The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927) observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 82
- Release rhythm 69
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 34.0
- age_days: 4124
- days_rel: 131
- days_push: 113
- n_releases_24m: 3
Adoption not part of the score
14813 stars · 1041 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Ajv is the fastest JSON Schema validator for JavaScript, compiling declarative schemas into optimized validation functions. It supports JSON Schema drafts 04 through 2020-12 and JSON Type Definition (RFC 8927), running in Node.js, browsers, and other JS environments.
Use cases
- validate JSON payloads against a schema in an API
- validate configuration files with JSON Schema
- validate user input in a browser form
- check JSON data structure in Node.js scripts
- validate data using JSON Type Definition RFC8927
- validate ESLint-style plugin configuration schemas
- generate fast reusable validators from schemas
When to choose
- you need high-performance, standards-compliant JSON Schema validation in JavaScript
- you want declarative data validation without writing manual checks
- you need support for multiple JSON Schema drafts or JTD
- you validate schemas in Node.js, browser, or Electron apps
When to avoid
- you need validation in a non-JavaScript language
- you only need simple ad-hoc checks that don't warrant a schema library
- you require draft-04 support without adding the separate ajv-draft-04 package
Facets
library · maturity stable
serialization developer-tools developer-tools web-development apis backend frontend browser cross-platform -schema -validation schema-validator -type-definition rfc8927 data-validation nodejs electron typescript
4 sources
- readme: https://github.com/ajv-validator/ajv · fetched 2026-08-28 · 78cf8ed0ec77
- homepage: https://ajv.js.org · fetched 2026-08-29 · 1c5873aaa63d
- site_page: https://ajv.js.org/guide/getting-started.html · fetched 2026-08-29 · 8cb30c7d6dcf
- site_page: https://ajv.js.org/faq.html · fetched 2026-08-29 · 23e6b923dcc9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ajv-validator/ajv | main | 81 |
For agents
markdown · JSON · MCP: product_card(name="ajv-validator/ajv")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem