awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
epoberezkin avatar

epoberezkin/ajv

0
View on GitHub↗
14,748 stars·988 forks·TypeScript·MIT·30 viewsajv.js.org↗

Ajv

Ajv is a JSON Schema validator and schema compilation engine used to verify that JavaScript objects conform to specific JSON Schema definitions. It functions as a data coercer and localization tool, allowing for the application of default values and the translation of validation error messages into different languages.

The project converts declarative JSON Schema definitions into optimized JavaScript functions to increase validation speed. It supports the extension of validation logic through custom keywords and the generation of standalone validation code that executes without external dependencies.

The library provides capabilities for data sanitization and casting, including the ability to coerce data types and remove properties not explicitly defined in a schema. It also manages schema references to handle recursive or remote definitions during the compilation process.

Features

  • Data Schema Validation - Verifies that JavaScript objects conform to JSON Schema definitions to ensure data integrity.
  • JSON Schema Validation - Implements a high-performance engine for verifying that JavaScript objects conform to JSON Schema definitions.
  • Schema Compilers - Transforms declarative JSON schema rules into imperative executable JavaScript code for high-performance validation.
  • Schema-Driven Data Sanitization - Provides data sanitization by removing extra properties and coercing types to match a required schema format.
  • Just-in-Time Compilers - Compiles JSON schemas into optimized JavaScript functions at runtime to minimize validation overhead.
  • Schema-Driven Type Coercers - Coerces JSON data types and applies default values based on the requirements of a provided schema.
  • Data Type Casting - Casts data values into required types based on schema definitions during the validation process.
  • JSON Schema Reference Resolvers - Loads and resolves external schema definitions via $ref pointers during the compilation process.
  • Property Type Casting - Automatically converts input data values to the target types specified in the schema during validation.
  • Compile-Time Inline Validator Generators - Generates standalone validation functions that can execute without external library dependencies.
  • Custom Validation Extensions - Supports the creation of custom validation keywords to handle domain-specific constraints.
  • External Schema Resolution - Resolves internal and external $ref pointers during the compilation phase to support recursive schemas.
  • Schema Default Values - Automatically populates missing properties with default values defined within the JSON schema.
  • Plugin-Based Extensibility - Allows users to extend validation logic by defining custom keywords and handlers.
  • JSON Schema Version Mapping - Provides support for multiple JSON Schema draft versions by mapping rules to specific internal validator implementations.
  • Additional Property Filtering - Removes properties from data objects that are not explicitly allowed by the schema.
  • Data Validation - High-performance JSON Schema validator.

Star history

Star history chart for epoberezkin/ajvStar history chart for epoberezkin/ajv

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does epoberezkin/ajv do?

Ajv is a JSON Schema validator and schema compilation engine used to verify that JavaScript objects conform to specific JSON Schema definitions. It functions as a data coercer and localization tool, allowing for the application of default values and the translation of validation error messages into different languages.

What are the main features of epoberezkin/ajv?

The main features of epoberezkin/ajv are: Data Schema Validation, JSON Schema Validation, Schema Compilers, Schema-Driven Data Sanitization, Just-in-Time Compilers, Schema-Driven Type Coercers, Data Type Casting, JSON Schema Reference Resolvers.

Which projects share features with epoberezkin/ajv?

Projects with overlapping indexed features include: hapijs/joi — Joi is a JavaScript data validation library used to define schemas that validate, cast, and sanitize data objects. It… jquense/yup — Yup is a JavaScript schema validation library used to define data shapes and validate runtime values. It functions as… python-jsonschema/jsonschema — This project is a JSON Schema validation library and framework used to verify that data instances conform to… julian/jsonschema — This project is a Python implementation of the JSON Schema specification, providing a library for verifying that data… aws-powertools/powertools-lambda-python — AWS Powertools for Python is a utility framework designed for building production-ready Python functions on AWS… everit-org/json-schema — This project is a Java library designed to validate JSON documents against defined schema specifications. It functions…

Projects sharing features with Ajv

These projects share indexed features with Ajv. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • hapijs/joihapijs avatar

    hapijs/joi

    21,192View on GitHub↗

    Joi is a JavaScript data validation library used to define schemas that validate, cast, and sanitize data objects. It functions as an object schema validator and parser, ensuring that input data matches specific types and formats before it is processed by an application. The library features a conditional validation engine capable of dynamic schema enforcement, where validation logic and dependencies change based on the values of other keys within an object. It also serves as a data casting and sanitization tool, transforming input values into target types and removing sensitive keys from the

    JavaScripthapijavascriptschema
    View on GitHub↗21,192
  • jquense/yupjquense avatar

    jquense/yup

    23,673View on GitHub↗

    Yup is a JavaScript schema validation library used to define data shapes and validate runtime values. It functions as an object schema validator and a data coercion engine, allowing developers to transform raw input values into desired types before performing validation checks. The library is distinguished by its support for dynamic schema validation, where rules can be adjusted at runtime based on sibling field values or external context. It also enables recursive data structuring for polymorphic fields and provides a system for extracting static TypeScript interfaces from runtime schema def

    TypeScript
    View on GitHub↗23,673
  • python-jsonschema/jsonschemapython-jsonschema avatar

    python-jsonschema/jsonschema

    4,951View on GitHub↗

    This project is a JSON Schema validation library and framework used to verify that data instances conform to declarative definitions. It functions as a validation engine that enforces structural constraints and data types, while also serving as a meta-validator to ensure schema definitions themselves are syntactically correct against official meta-schemas. The library is designed for extensibility, allowing users to define custom validation logic by mapping schema keywords to specialized callable functions. It includes a registry-based reference resolver for managing internal and external URI

    Pythonjsonjson-schemajsonschema
    View on GitHub↗4,951
  • julian/jsonschemaJulian avatar

    Julian/jsonschema

    4,951View on GitHub↗

    This project is a Python implementation of the JSON Schema specification, providing a library for verifying that data instances conform to defined schemas. It serves as a data validation framework capable of validating both the data itself and the schemas against official meta-schemas to ensure structural correctness. The library features a schema reference resolver that maps URIs to definitions, enabling the resolution of internal and remote references for modular schema management. It is designed for extensibility, allowing for the definition of custom keywords, custom type-checking logic,

    Python
    View on GitHub↗4,951
  • Compare all 30 related projects→