awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

Schema validation library

排名更新于 2026年7月11日

For a schema validation library for data parsing, the strongest matches are colinhacks/zod (Zod is a TypeScript-first schema validation library that provides), ajv-validator/ajv (Ajv is a high-performance JSON schema validation library that) and samuelcolvin/pydantic (Pydantic is a comprehensive data validation library that uses). epoberezkin/ajv and arktypeio/arktype round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

Find the best schema validation libraries for your project. Compare top-rated options by performance, features, and activity to pick the right one.

Schema validation library

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • colinhacks/zodcolinhacks 的头像

    colinhacks/zod

    43,036在 GitHub 上查看↗

    Zod is a TypeScript-first schema declaration and validation library designed to ensure end-to-end data integrity. It functions as a runtime type guard, allowing developers to define complex data structures through a declarative, chainable syntax. By using these schema definitions, the library automatically derives static TypeScript types, eliminating the need for manual type duplication and ensuring that runtime data matches expected application contracts. The library distinguishes itself through functional schema composition, which enables the creation of hierarchical structures by nesting a

    Zod is a TypeScript-first schema validation library that provides runtime type safety, declarative schema definition, and automatic type inference, making it a comprehensive tool for ensuring data integrity in application inputs and APIs.

    TypeScriptValidation Error FormattersValidation Error HandlersRuntime Type Guards
    在 GitHub 上查看↗43,036
  • ajv-validator/ajvajv-validator 的头像

    ajv-validator/ajv

    14,733在 GitHub 上查看↗

    Ajv is a high-performance data validation framework that compiles JSON schemas into optimized, standalone JavaScript functions. By transforming declarative schema definitions into executable code, it eliminates runtime interpretation overhead and provides a secure, efficient way to enforce data integrity across both browser and server environments. The library distinguishes itself through its focus on performance and type safety. It employs advanced compilation techniques, including abstract syntax tree optimization and function caching, to ensure rapid validation. Beyond standard checks, it

    Ajv is a high-performance JSON schema validation library that provides robust runtime validation, type safety, and detailed error reporting, making it a flagship tool for enforcing data integrity in JavaScript and TypeScript applications.

    TypeScriptType-Safe Data HandlingRuntime Type GuardsSchema Compilers
    在 GitHub 上查看↗14,733
  • samuelcolvin/pydanticsamuelcolvin 的头像

    samuelcolvin/pydantic

    28,043在 GitHub 上查看↗

    Pydantic is a data validation library and parsing framework for Python. It functions as a type-based schema validator that uses standard Python type annotations to ensure input data conforms to predefined structural schemas. The project provides capabilities for parsing raw data into typed objects through automatic type conversion and validation. This includes the serialization of data and the validation of data structures to enforce correctness. The framework covers several application areas, including the verification of API requests and the management of application configurations. It all

    Pydantic is a comprehensive data validation library that uses Python type annotations to enforce schema integrity, perform runtime validation, and handle complex data parsing for APIs and configurations.

    PythonRuntime Type Guards
    在 GitHub 上查看↗28,043
  • epoberezkin/ajvepoberezkin 的头像

    epoberezkin/ajv

    14,748在 GitHub 上查看↗

    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 depen

    Ajv is a high-performance JSON Schema validator that compiles schemas into optimized JavaScript functions, providing robust runtime validation, type coercion, and detailed error reporting for your data structures.

    TypeScriptSchema Compilers
    在 GitHub 上查看↗14,748
  • arktypeio/arktypearktypeio 的头像

    arktypeio/arktype

    7,780在 GitHub 上查看↗

    Arktype is a TypeScript runtime validation library and schema orchestrator. It synchronizes TypeScript types with runtime data validation, allowing users to define type-safe schemas that ensure unknown data adheres to specific structures during application execution. The project distinguishes itself by using set-theory type analysis to determine intersections and subtype compatibility, alongside JIT-compiled validation functions for optimized performance. It supports advanced type modeling through branded type constraints, recursive alias resolution, and the ability to generate runtime valida

    Arktype is a TypeScript-native schema validation library that provides runtime type safety and high-performance validation through JIT-compiled functions, making it a comprehensive solution for enforcing data integrity.

    TypeScriptJIT Schema Compilation
    在 GitHub 上查看↗7,780
  • julian/jsonschemaJulian 的头像

    Julian/jsonschema

    4,951在 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,

    This library is a comprehensive implementation of the JSON Schema specification for Python, providing robust runtime validation, error reporting, and support for complex schema structures to ensure data integrity.

    PythonValidation Error Utilities
    在 GitHub 上查看↗4,951
  • stoplightio/spectralstoplightio 的头像

    stoplightio/spectral

    3,012在 GitHub 上查看↗

    Spectral is a programmable linting engine and validation tool designed to enforce style guidelines and schema correctness within OpenAPI specifications and JSON configuration files. It functions as a rule-based validator that analyzes structured text files to ensure data consistency and adherence to predefined constraints. The engine utilizes a configuration-driven execution model, allowing users to manage pluggable rule sets and integrate JSON Schema definitions. It supports the creation of custom function-based rules to define complex validation logic beyond static declarations. The projec

    Spectral is a powerful linting and validation engine that enforces schema correctness and data integrity for JSON and OpenAPI files, making it a highly effective tool for validating structured data against defined constraints.

    TypeScriptJSON-Schema
    在 GitHub 上查看↗3,012
  • typestack/class-validatortypestack 的头像

    typestack/class-validator

    11,796在 GitHub 上查看↗

    class-validator is a TypeScript class validation library that uses decorators to define constraints and rules for object properties. It functions as a decorator-based schema validator that ensures data integrity and structural correctness through a combination of synchronous checks and promise-based asynchronous rules. The library provides a recursive validation system for checking complex data hierarchies, including nested classes and individual elements within collections. It includes an object property whitelist utility capable of stripping undocumented properties or blocking unknown field

    This library provides robust runtime validation and type-safe schema enforcement for TypeScript objects using decorators, making it a comprehensive tool for ensuring data integrity in application inputs and APIs.

    TypeScriptClass Property ValidationData ValidationAdditional Property Filtering
    在 GitHub 上查看↗11,796
  • go-ozzo/ozzo-validationgo-ozzo 的头像

    go-ozzo/ozzo-validation

    4,072在 GitHub 上查看↗

    ozzo-validation is a programmable data validation library for Go that verifies structs, maps, and primitive types using a declarative, rule-based approach. It functions as an interface-based validator, allowing for the recursive checking of nested data structures and custom types without the use of struct tags. The framework distinguishes itself as a context-aware validation engine, supporting the propagation of request-scoped data to rules that depend on external state. It provides extensive extensibility through custom rule definitions and the ability to override default failure text with l

    This library provides a robust, code-first approach to runtime data validation and struct integrity in Go, offering deep support for complex, nested data structures and custom validation rules.

    GoValidation Error FormattersValidation Error Handlers
    在 GitHub 上查看↗4,072
  • open-circle/valibotopen-circle 的头像

    open-circle/valibot

    8,769在 GitHub 上查看↗

    Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.

    Valibot is a modular, type-safe schema validation library that provides runtime verification and TypeScript type inference, making it a direct fit for enforcing data integrity in application inputs and APIs.

    TypeScriptJSON-SchemaRuntime Type GuardsSchema Validation Frameworks
    在 GitHub 上查看↗8,769
  • ianstormtaylor/superstructianstormtaylor 的头像

    ianstormtaylor/superstruct

    7,141在 GitHub 上查看↗

    Superstruct is a JavaScript and TypeScript data validation library used to verify that data structures match defined shapes and types. It functions as a composable schema builder and a TypeScript schema validator, ensuring that runtime data checks remain synchronized with static type definitions. The library features a data coercion engine that transforms input values or injects default values before the validation process is executed. It enables the creation of complex validation rules by nesting, merging, or omitting properties from existing structures. Its capabilities cover the validatio

    Superstruct is a TypeScript-based library that provides runtime validation and type-safe schema enforcement for complex data structures, making it a direct fit for your validation needs.

    TypeScriptRuntime Validation
    在 GitHub 上查看↗7,141
  • jquense/yupjquense 的头像

    jquense/yup

    23,673在 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

    Yup is a robust JavaScript schema validation library that provides runtime validation, type safety, and data transformation, making it a direct fit for enforcing data integrity in applications.

    TypeScriptValidation Error HandlersSchema Validation Frameworks
    在 GitHub 上查看↗23,673
  • pydantic/pydanticpydantic 的头像

    pydantic/pydantic

    26,932在 GitHub 上查看↗

    Pydantic is a data validation and serialization library that enforces schema constraints and performs type conversion on complex data structures. It utilizes standard Python type annotations to define data models, allowing developers to establish structured schemas that automatically enforce business rules and constraints without the need for custom domain-specific languages. The library distinguishes itself by transforming high-level model definitions into optimized code during initialization to minimize runtime overhead. It supports recursive validation for nested data structures and employ

    Pydantic is a comprehensive data validation library that uses Python type annotations to enforce schema integrity, perform runtime validation, and handle complex data serialization with high performance.

    PythonData Validation LibrariesType-Hint-Based Schema DefinitionsSchema-Driven Modeling Frameworks
    在 GitHub 上查看↗26,932
  • hapijs/joihapijs 的头像

    hapijs/joi

    21,192在 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

    Joi is a comprehensive schema validation library for JavaScript that provides robust runtime validation, type coercion, and detailed error reporting, making it a flagship tool for enforcing data integrity in applications and APIs.

    JavaScriptData Validation SchemasConditional EnforcementConditional Validation Rules
    在 GitHub 上查看↗21,192
  • sideway/joisideway 的头像

    sideway/joi

    21,192在 GitHub 上查看↗

    Joi is a JavaScript data validation library used to define schemas that ensure the structure and data types of objects remain consistent. It functions as a schema-based validator and object schema definition tool, preventing invalid information from entering an application by checking data against predefined constraints and rules. The library employs a chainable fluent interface and a constraint-based validation engine to build complex validation pipelines. It utilizes recursive tree traversal to validate nested data structures and a type-coercion pipeline to transform input values into the t

    Joi is a comprehensive schema-based validation library for JavaScript that provides robust runtime validation, type enforcement, and detailed error reporting for complex data structures.

    JavaScriptData Schema ValidationData Validation SchemasData Schema Definitions
    在 GitHub 上查看↗21,192
  • python-jsonschema/jsonschemapython-jsonschema 的头像

    python-jsonschema/jsonschema

    4,951在 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

    This library is a comprehensive implementation of the JSON Schema specification that provides robust runtime validation, type checking, and detailed error reporting for data structures.

    PythonJSON Schema ImplementationsJSON Schema ValidationData Type Validation
    在 GitHub 上查看↗4,951
  • java-json-tools/json-schema-validatorjava-json-tools 的头像

    java-json-tools/json-schema-validator

    1,642在 GitHub 上查看↗

    This library is a Java-based tool for enforcing data structure constraints and verifying technical formats against defined schema specifications. It functions as a processing utility that parses complex data structures while managing external schema references and circular dependencies. The engine distinguishes itself through an immutable processor design that enables thread-safe, concurrent validation without requiring external synchronization. It employs arbitrary-precision arithmetic to evaluate numeric constraints, preventing common floating-point rounding errors, and utilizes character-l

    This library is a comprehensive Java-based tool specifically designed for JSON schema validation, offering robust support for complex constraints, recursive references, and precise runtime error reporting.

    JavaJSON ProcessingJSON Schema ValidationJava Validation Libraries
    在 GitHub 上查看↗1,642
  • everit-org/json-schemaeverit-org 的头像

    everit-org/json-schema

    901在 GitHub 上查看↗

    This project is a Java library designed to validate JSON documents against defined schema specifications. It functions as a standards-compliant engine that ensures data integrity by checking structural compliance and enforcing business rules within Java applications. The library distinguishes itself through its flexible validation strategies, allowing developers to inject custom logic and pattern-matching engines to handle specialized data formats. It supports configurable execution modes, enabling users to either halt validation immediately upon the first error or collect all violations for

    This Java library provides a comprehensive, standards-compliant engine for validating JSON documents against schemas, directly addressing the need for runtime structural integrity and detailed error reporting.

    JavaJSON Schema ValidationStructural Data ValidatorsJava Validation Libraries
    在 GitHub 上查看↗901
  • express-validator/express-validatorexpress-validator 的头像

    express-validator/express-validator

    6,238在 GitHub 上查看↗

    express-validator is a server-side input validation library designed specifically for Express.js applications. It provides middleware that validates and sanitizes incoming HTTP request data against developer-defined rules, collecting all validation failures into a single array for simultaneous error reporting rather than failing on the first error. The library offers a chainable validation API where rules are built by chaining methods on a validation chain object, enabling declarative specification of multiple validators and sanitizers for a single request field. Each validation chain operate

    This library provides robust runtime validation and error reporting for HTTP request data within Express.js applications, serving as a specialized tool for enforcing data integrity at the API layer.

    TypeScriptValidation Schemas
    在 GitHub 上查看↗6,238
  • samchon/typiasamchon 的头像

    samchon/typia

    5,837在 GitHub 上查看↗

    Typia is a compile-time code generator that transforms TypeScript type annotations into runtime validation, serialization, and schema functions without requiring decorators or separate schema files. It generates optimized validation and serialization code during TypeScript compilation, producing dedicated functions for each type that eliminate runtime schema objects for faster execution. The project extends this core capability into several integrated areas. It generates fully typed client SDKs from NestJS controller source code, keeping server and client types synchronized automatically. It

    Typia is a high-performance validation library that leverages TypeScript compilation to generate optimized runtime validation code, directly addressing the need for type-safe data integrity and schema enforcement.

    GoRuntime Validation
    在 GitHub 上查看↗5,837
  • fasterxml/jacksonFasterXML 的头像

    FasterXML/jackson

    9,740在 GitHub 上查看↗

    Jackson is a Java data binding framework and multi-format data serializer used to translate data structures into native language objects. It functions as a JSON data binding library and a streaming parser that reads and writes data as discrete tokens to process large datasets with minimal memory. The project distinguishes itself through a bytecode serialization accelerator that replaces standard reflection with generated bytecode to increase data binding speed. It employs a module-based extensibility model to support a wide range of formats beyond JSON, including XML, YAML, CSV, TOML, and bin

    Jackson is a high-performance Java data binding and serialization library that provides robust runtime validation and schema-based mapping capabilities for various data formats.

    JSON-Schema
    在 GitHub 上查看↗9,740
  • protocolbuffers/protobufprotocolbuffers 的头像

    protocolbuffers/protobuf

    71,359在 GitHub 上查看↗

    Protocol Buffers is a language-neutral, platform-agnostic mechanism for serializing structured data. It provides a schema-driven toolchain that compiles declarative data definitions into type-safe source code, enabling consistent communication and strongly typed API contracts across services written in different programming languages. The project distinguishes itself through a highly efficient binary wire format that utilizes tag-based encoding and variable-width integer compression to minimize payload size and processing overhead. It supports robust evolutionary schema management, allowing d

    Protocol Buffers provides a robust, schema-driven framework for defining and enforcing structured data contracts, serving as a powerful tool for ensuring type safety and validation across services.

    C++API Contract DefinitionsData SerializationProtocol Buffers
    在 GitHub 上查看↗71,359
  • keats/validatorKeats 的头像

    Keats/validator

    2,488在 GitHub 上查看↗

    This library is a declarative validation framework for Rust that enforces data integrity and business rules on structured data models. It utilizes procedural macros to transform attribute-based annotations into executable validation logic, ensuring that data structures adhere to defined constraints before processing. The framework distinguishes itself by performing validation at compile time, which eliminates runtime overhead and provides strict type checking for all rules. It supports recursive traversal of nested data structures and collections, ensuring that every level of a hierarchy is v

    This library provides a declarative, macro-based approach to enforcing data integrity and validation rules on Rust structures, serving as a robust tool for ensuring schema compliance and type safety within your application.

    RustDeclarative Validation FrameworksCompile-Time Code GenerationField Validation
    在 GitHub 上查看↗2,488
  • marshmallow-code/marshmallowmarshmallow-code 的头像

    marshmallow-code/marshmallow

    7,239在 GitHub 上查看↗

    Marshmallow is a Python data serialization library and validation framework. It functions as a bridge that transforms complex application objects into primitive data types for storage or network transmission and vice versa. The library utilizes a schema-based approach to validate that incoming data conforms to specific types and constraints. It employs a two-way transformation pipeline consisting of separate load and dump phases to handle deserialization and serialization. The framework supports class-based schema definitions with declarative field validation and recursive schema nesting for

    Marshmallow is a robust Python framework that provides declarative schema definitions and runtime validation for complex data structures, making it a direct fit for enforcing data integrity in applications.

    PythonPython Serialization LibrariesComplex Data SerializationData Validation
    在 GitHub 上查看↗7,239
  • keleshev/schemakeleshev 的头像

    keleshev/schema

    2,943在 GitHub 上查看↗

    Schema validation just got Pythonic

    This library provides a Pythonic way to perform runtime data validation and schema enforcement, making it a direct fit for ensuring input integrity despite lacking explicit JSON schema export capabilities.

    PythonData ValidationData Validation
    在 GitHub 上查看↗2,943
  • ansman/validate.jsansman 的头像

    ansman/validate.js

    2,599在 GitHub 上查看↗

    Validate.js is a JavaScript library designed for declarative data validation and form processing. It provides a framework for verifying complex objects and individual data points against structured constraint schemas, ensuring that application state and user input meet defined requirements. The library distinguishes itself through its support for asynchronous validation, allowing for verification tasks that require external data sources or server-side checks. It includes a built-in utility for extracting and normalizing data from web forms, which cleans input by removing whitespace and empty

    This library provides a declarative approach to runtime data validation in JavaScript, making it a suitable tool for enforcing schema integrity on application inputs and configuration objects.

    JavaScriptForm Validation LibrariesData Validation SchemasDeclarative Schemas
    在 GitHub 上查看↗2,599
  • protobufjs/protobuf.jsprotobufjs 的头像

    protobufjs/protobuf.js

    10,558在 GitHub 上查看↗

    protobuf.js is a JavaScript and TypeScript library for encoding and decoding structured data using the Protocol Buffers binary format. It functions as a dynamic parser that can load and process schemas at runtime, a JSON transcoder for converting messages to human-readable formats, and a framework for building transport-agnostic remote procedure call clients. The project distinguishes itself by offering both dynamic message handling and a static code generator that produces TypeScript declarations and JavaScript modules to reduce runtime overhead. It also provides a reflection API for definin

    This library provides robust runtime validation and schema enforcement for structured data using the Protocol Buffers format, making it a strong choice for ensuring data integrity in JavaScript and TypeScript applications.

    JavaScriptBinary Serialization FormatsProtocol BuffersBinary Serialization
    在 GitHub 上查看↗10,558
  • go-validator/validatorgo-validator 的头像

    go-validator/validator

    1,335在 GitHub 上查看↗

    This project is a data validation framework for the Go programming language that enforces integrity by applying declarative constraints to struct fields. It utilizes reflection to inspect data structures at runtime, mapping field-level requirements defined in struct tags to specific validation logic. The library distinguishes itself through its ability to handle complex object graphs by recursively traversing nested structures and slices. It supports context-aware validation, allowing developers to switch between different rule sets for the same data structure based on application state or sp

    This library provides robust runtime validation for Go data structures using struct tags, making it a standard tool for enforcing schema integrity in application inputs and configurations.

    GoData Validation FrameworksGo Validation LibrariesContext-Aware Validation
    在 GitHub 上查看↗1,335
  • seriousme/openapi-schema-validatorS

    seriousme/openapi-schema-validator

    0在 GitHub 上查看↗

    A JSON schema validator for OpenAPI specifications, it currently supports:

    This library provides runtime validation for OpenAPI specifications against JSON schema standards, making it a specialized tool for ensuring data structure integrity in API-driven applications.

    API Specification Tools
    在 GitHub 上查看↗0
  • schema-inspector/schema-inspectorschema-inspector 的头像

    schema-inspector/schema-inspector

    503在 GitHub 上查看↗

    Schema-Inspector is a simple JavaScript object sanitization and validation module.

    Schema-Inspector is a JavaScript library designed for object sanitization and runtime validation, providing a direct way to enforce data integrity for application inputs and configuration objects.

    JavaScriptData Validation
    在 GitHub 上查看↗503
  • plumatic/schemaplumatic 的头像

    plumatic/schema

    2,462在 GitHub 上查看↗

    Clojure(Script) library for declarative data description and validation

    This is a Clojure-specific library that provides declarative data description and runtime validation, making it a direct fit for enforcing schema integrity within that ecosystem.

    ClojureData Validation
    在 GitHub 上查看↗2,462
  • atinux/schema-inspectorAtinux 的头像

    Atinux/schema-inspector

    503在 GitHub 上查看↗

    Schema-Inspector is a powerful tool to sanitize and validate JS objects. It's designed to work both client-side and server-side and to be scalable with allowing asynchronous and synchronous calls.

    Schema-Inspector is a JavaScript library that provides runtime validation and sanitization for objects, making it a direct fit for enforcing data integrity in your applications.

    JavaScriptData Validation
    在 GitHub 上查看↗503
  • voxpupuli/json-schemavoxpupuli 的头像

    voxpupuli/json-schema

    1,645在 GitHub 上查看↗

    This library is a Ruby-based validation engine designed to verify JSON data structures against official schema specifications. It ensures data integrity by confirming that objects, strings, and files conform to defined structural constraints, while also validating the integrity of the schema definitions themselves against official metaschema standards. The project distinguishes itself through a highly modular architecture that allows for deep customization. Users can register custom validation rules and format handlers to enforce project-specific business logic that extends beyond standard sp

    This Ruby library provides a robust engine for validating JSON data against official schema specifications, offering the runtime validation and error reporting required for ensuring data integrity.

    RubyJSON Schema ValidationData Validation LibrariesCustom Format Validators
    在 GitHub 上查看↗1,645
  • dry-rb/dry-validationdry-rb 的头像

    dry-rb/dry-validation

    1,422在 GitHub 上查看↗

    Dry-validation is a Ruby library designed for defining type-safe schemas and complex validation rules to verify and sanitize input data structures. It provides a formal framework for constructing modular validation logic, ensuring that incoming information meets specific business requirements and data formats before it is processed by an application. The library utilizes a domain-specific language to declare validation rules, which are then parsed into executable objects. It distinguishes itself through a macro-driven system that bundles common validation logic into reusable shortcuts, alongs

    This library provides a robust DSL for defining schemas and enforcing runtime data integrity, making it a direct fit for validating complex input structures in Ruby applications.

    RubyData Validation LibrariesData Schema ValidationSchema Definition Frameworks
    在 GitHub 上查看↗1,422
  • tnkemdilim/adonis-class-validatortnkemdilim 的头像

    tnkemdilim/adonis-class-validator

    10在 GitHub 上查看↗

    Adonis Class Validator provides a means to validate a request data using a class schema.

    This library provides class-based runtime validation for request data in the AdonisJS ecosystem, offering a structured way to enforce schema integrity for application inputs.

    TypeScriptAuthentication and Security
    在 GitHub 上查看↗10
  • jsonrainbow/json-schemajsonrainbow 的头像

    jsonrainbow/json-schema

    3,630在 GitHub 上查看↗

    JSON Schema for PHP

    This library provides JSON schema validation for PHP, offering the core runtime validation and schema-based integrity checking required for application inputs and configuration files.

    PHPValidation and Sanitization
    在 GitHub 上查看↗3,630
  • yiminghe/async-validatoryiminghe 的头像

    yiminghe/async-validator

    9,099在 GitHub 上查看↗

    async-validator is a JavaScript schema validation library and asynchronous data validation engine. It verifies complex object structures and nested arrays by applying recursive rules and non-blocking, promise-based execution to ensure data integrity. The library functions as both an object constraint validator and a data transformation pipeline. It allows for the sanitization, coercion, and formatting of input values through a sequence of functions that run before and after the primary validation process. The engine covers a range of capabilities including recursive nested validation, the en

    This library provides a robust engine for runtime object schema validation and data integrity, making it a direct fit for enforcing structure and validation rules in JavaScript applications.

    TypeScriptAsynchronous ValidationAsynchronous ValidatorsAsynchronous Validation Engines
    在 GitHub 上查看↗9,099
  • podio/valideerpodio 的头像

    podio/valideer

    261在 GitHub 上查看↗

    Lightweight data validation and adaptation Python library.

    Valideer is a Python library that provides runtime data validation and adaptation, serving as a direct tool for enforcing schema integrity on application inputs.

    PythonData Validation
    在 GitHub 上查看↗261
  • axot017/validateAxot017 的头像

    Axot017/validate

    18在 GitHub 上查看↗

    OCaml library designed to streamline the process of validating records, variants, lists, or values. It primarily operates through a PPX deriver that automatically generates validators.

    This OCaml library provides runtime validation for data structures using PPX derivers to enforce integrity, fitting the category of a schema validation tool despite its language-specific focus.

    OCamlGeneral Utilities
    在 GitHub 上查看↗18
  • respect/validationRespect 的头像

    Respect/Validation

    6,027在 GitHub 上查看↗

    Respect/Validation is a PHP validation library that operates on single input values through a fluent, chainable rule system. Each validator instance builds a linear constraint pipeline by appending rules to an internal stack, executing them sequentially and short-circuiting on the first failure. The library captures validation failures as structured exceptions, enabling callers to inspect detailed error metadata programmatically and respond with meaningful messages. The library distinguishes itself through its exception-based error handling model, which provides programmatic access to validat

    This library provides a fluent, chainable system for enforcing data integrity and runtime validation in PHP, making it a direct fit for the requested category despite its focus on single-value validation rather than full JSON schema documents.

    PHPPHP Validation LibrariesException-Based Error HandlingFluent Validation Rules
    在 GitHub 上查看↗6,027
一览前 10 名对比
仓库Star 数语言许可证最后推送
colinhacks/zod43KTypeScriptMIT2026年6月13日
ajv-validator/ajv14.7KTypeScriptMIT2026年5月12日
samuelcolvin/pydantic28KPythonMIT2026年6月16日
epoberezkin/ajv14.7KTypeScriptMIT2026年5月12日
arktypeio/arktype7.8KTypeScriptMIT2026年6月17日
julian/jsonschema5KPythonMIT2026年6月15日
stoplightio/spectral3KTypeScriptapache-2.02026年2月20日
typestack/class-validator11.8KTypeScriptMIT2026年3月25日
go-ozzo/ozzo-validation4.1KGomit2024年3月23日
open-circle/valibot8.8KTypeScriptMIT2026年6月21日

Related searches

  • TypeScript 模式验证库
  • a data validation library for application development
  • Data schema definition
  • 数据质量检查工具
  • a library for validating data schemas
  • a data validation library for Go
  • a data validation library for Rust
  • a java library for data validation