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

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

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

34 个仓库

Awesome GitHub RepositoriesSchema Validation Libraries

Tools and integrations for enforcing data structure integrity and validation rules.

Distinguishing note: Focuses on runtime data validation and schema enforcement, distinct from database migration or management.

Explore 34 awesome GitHub repositories matching data & databases · Schema Validation Libraries. Refine with filters or upvote what's useful.

Awesome Schema Validation Libraries GitHub Repositories

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

    google/protobuf

    71,412在 GitHub 上查看↗

    Protocol Buffers is a binary serialization framework used to encode structured information into compact payloads to reduce network bandwidth and storage. It functions as a cross-language data interchange standard that enables different platforms and languages to exchange structured data using a shared schema. The project includes an interface definition language compiler that transforms schema definitions into type-safe source code for multiple target programming languages. This mechanism decouples data structures from specific language memory layouts and ensures consistent data handling acro

    Translates interface definition language files into native code and type-safe data models.

    C++
    在 GitHub 上查看↗71,412
  • drizzle-team/drizzle-ormdrizzle-team 的头像

    drizzle-team/drizzle-orm

    34,835在 GitHub 上查看↗

    Drizzle ORM is a TypeScript-native database toolkit providing type-safe SQL query building, schema management, and automated migrations across PostgreSQL, MySQL, SQLite, and SingleStore.

    Install the dependencies npm yarn pnpm bun ### Select schema Defines the shape of data queried from the database - can be used to valida

    TypeScriptormtypescriptsql
    在 GitHub 上查看↗34,835
  • 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

    Provides a runtime data validation library for enforcing data structure integrity and validation rules.

    TypeScript
    在 GitHub 上查看↗23,673
  • pubkey/rxdbpubkey 的头像

    pubkey/rxdb

    23,048在 GitHub 上查看↗

    This project is a reactive, offline-first NoSQL database engine designed for JavaScript applications. It provides a robust framework for managing application state by synchronizing data across browsers, mobile devices, and server-side runtimes. By treating local storage as the primary source of truth, it enables applications to remain functional without network connectivity, automatically reconciling changes with remote backends once a connection is restored. The database distinguishes itself through a modular architecture that supports cross-environment synchronization and high-performance d

    Enforces data integrity using standardized schema definitions and provides automated strategies to transition existing data when application models evolve.

    TypeScriptangularbrowser-databasecouchdb
    在 GitHub 上查看↗23,048
  • elysiajs/elysiaelysiajs 的头像

    elysiajs/elysia

    18,531在 GitHub 上查看↗

    Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a modular, plugin-based architecture that allows developers to compose server logic, middleware, and validation schemas into scalable application instances. By leveraging native web standards, the framework ensures portability across diverse JavaScript runtimes, including Node.js, Deno, and various edge computing environments. The framework distinguishes itself through its focus on end-to-end type safety, automatically synchronizing request and response definitions between the s

    Integrates industry-standard schema definitions from third-party libraries for request handling.

    TypeScriptbunframeworkhttp
    在 GitHub 上查看↗18,531
  • tencent/rapidjsonTencent 的头像

    Tencent/rapidjson

    15,000在 GitHub 上查看↗

    RapidJSON is a header-only C++ library designed for high-performance parsing, generation, and manipulation of JSON data. It functions as a dual-mode engine, providing both an in-memory document object model for tree-based manipulation and a stream-based interface for event-driven processing. The library is built to minimize memory footprint and maximize execution speed, making it suitable for resource-constrained environments. The library distinguishes itself through advanced memory management and optimization techniques, including in-situ parsing that modifies input buffers directly to elimi

    Performs incremental schema validation during stream parsing to identify and terminate on invalid content.

    C++
    在 GitHub 上查看↗15,000
  • 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

    Transforms declarative JSON schema rules into imperative executable JavaScript code for high-performance validation.

    TypeScript
    在 GitHub 上查看↗14,748
  • 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

    Compiles JSON schemas into optimized JavaScript functions for high-performance data validation.

    TypeScriptajvjson-schemavalidator
    在 GitHub 上查看↗14,733
  • quicktype/quicktypequicktype 的头像

    quicktype/quicktype

    13,761在 GitHub 上查看↗

    Quicktype is a multi-language model generation engine that converts JSON and GraphQL schemas into type-safe models and serialization code. It functions as a JSON to type generator and a GraphQL type generator, producing strongly typed classes and interfaces across a wide array of target programming languages. The system derives formal schemas from sample data and transforms these definitions into native language objects. This enables the synchronization of shared data models across diverse tech stacks and the development of type-safe interfaces for consuming external APIs. The engine utilize

    Compiles derived schemas into executable serialization code for various languages.

    TypeScript
    在 GitHub 上查看↗13,761
  • cloudflare/quichecloudflare 的头像

    cloudflare/quiche

    11,563在 GitHub 上查看↗

    This project is a memory-safe implementation of the QUIC transport protocol and HTTP/3, designed for high-throughput and efficient network communication. It provides a comprehensive toolkit for building secure, low-latency network applications by managing the full lifecycle of transport connections, including protocol negotiation, stream data exchange, and connection state management. The library distinguishes itself through a focus on performance and protocol integrity. It utilizes a formal state machine to enforce strict adherence to transport rules and employs zero-copy buffer management t

    Surfaces errors when peers violate transport or flow control limits.

    Rusthttp3network-programmingprotocol
    在 GitHub 上查看↗11,563
  • logaretm/vee-validatelogaretm 的头像

    logaretm/vee-validate

    11,263在 GitHub 上查看↗

    Vee-validate is a form validation library and state management tool for Vue applications. It enables the validation of user inputs through declarative rules and tracks form metadata, including submission status and dirty states. The library functions as a wrapper for integrating external schema validation libraries to enforce consistent data shapes. It also serves as an internationalized framework for displaying translated error messages and localized feedback. The project covers broad capability areas including form state management, the handling of complex nested data structures, and the s

    Enforces strict data constraints by integrating predefined schemas from external validation libraries.

    TypeScriptformform-validationforms
    在 GitHub 上查看↗11,263
  • bytedance/sonicbytedance 的头像

    bytedance/sonic

    9,492在 GitHub 上查看↗

    Sonic is a high-performance Go JSON serialization library that provides tools for encoding and decoding native data structures. It functions as a JIT-accelerated encoder, a JSON AST parser, a stream processor, and a lazy decoder. The project utilizes just-in-time machine code generation to optimize the encoding of large data schemas and employs a JIT assembler to maximize serialization and deserialization speeds. It features a precompiled schema warmup process to prevent latency spikes during initial execution and leverages SIMD hardware instructions for accelerated parsing. The library cove

    Warms up the JIT assembler for large schemas to prevent request timeouts and memory spikes.

    Gohigh-performancejitjson
    在 GitHub 上查看↗9,492
  • yiminghe/async-validatoryiminghe 的头像

    yiminghe/async-validator

    9,099在 GitHub 上查看↗

    async-validator 是一个 JavaScript 模式验证库和异步数据验证引擎。它通过应用递归规则和非阻塞的、基于 Promise 的执行来验证复杂的对象结构和嵌套数组,以确保数据完整性。 该库既充当对象约束验证器,也充当数据转换流水线。它允许通过在主要验证过程之前和之后运行的一系列函数来对输入值进行清洗、强制转换和格式化。 该引擎涵盖了一系列功能,包括递归嵌套验证、标准模式约束的强制执行,以及通过定制验证器函数集成自定义业务逻辑。它还提供了通过静态字符串或动态函数进行错误消息自定义和本地化的工具。

    Functions as a library for validating data objects against defined schemas using asynchronous logic.

    TypeScript
    在 GitHub 上查看↗9,099
  • 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.

    Implements a vendor-neutral interface for data validation and type inference to ensure interoperability between different libraries.

    TypeScriptbundle-sizemodularparsing
    在 GitHub 上查看↗8,769
  • chaijs/chaichaijs 的头像

    chaijs/chai

    8,264在 GitHub 上查看↗

    Chai is an assertion library for Node.js and browser-based JavaScript applications. It functions as both a behavior-driven development and test-driven development framework, providing a system to verify code outputs, application state, and general logic. The project is an extensible validation engine that uses a plugin-based system to allow the registration of custom assertions and specialized data checks. It supports multiple modular assertion styles to accommodate different validation philosophies. The library covers a broad range of data validation capabilities, including the inspection o

    Verifies the existence and value of deep properties using dot-notation strings to navigate complex hierarchies.

    JavaScript
    在 GitHub 上查看↗8,264
  • 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

    Optimizes performance by compiling schema definitions into specialized executable functions for faster data processing.

    TypeScriptjavascriptparsingruntime-typechecking
    在 GitHub 上查看↗7,780
  • sinclairzx81/typeboxsinclairzx81 的头像

    sinclairzx81/typebox

    6,759在 GitHub 上查看↗

    TypeBox is a JSON schema generator and TypeScript data validator. It functions as a type builder that creates compliant JSON schema definitions while providing a mechanism for synchronizing runtime validation logic with compile-time types. The project allows for the automatic derivation of static TypeScript interfaces from schema definitions to eliminate redundant type declarations. It converts complex type constructs into schema fragments and resolves static types to maintain consistency between data shapes and code. The system covers runtime type checking and data validation through the us

    Compiles JSON schema definitions into high-performance validator instances for rapid data integrity verification.

    TypeScriptjsonschematypescript
    在 GitHub 上查看↗6,759
  • tanstack/formTanStack 的头像

    TanStack/form

    6,584在 GitHub 上查看↗

    TanStack Form is a cross-framework form state management library that provides typed fields, validation, and submission across React, Vue, Angular, Solid, Lit, Svelte, and Preact. It uses a shared form model that adapts to different UI frameworks while preserving the same validation and submission logic, and offers headless form controls that impose no UI markup, letting developers bring their own inputs and design system. The library distinguishes itself through granular state subscription, where components subscribe to narrow slices of form or field state using reactive primitives, so only

    Enforces runtime validation and type transformations on collection entries using Standard Schema-compatible libraries like Zod or Valibot, ensuring data integrity at the boundary.

    TypeScriptangularformforms
    在 GitHub 上查看↗6,584
  • larastan/larastanlarastan 的头像

    larastan/larastan

    6,430在 GitHub 上查看↗

    Larastan is a static analysis extension and type inference engine for PHP designed to detect bugs and type errors in Laravel applications. It extends PHPStan to resolve framework-specific patterns and magic methods, providing a rule-based scanning engine to audit code quality without executing the application. The tool specializes in Eloquent analysis, verifying that model properties, casts, and relationships align with database schemas and migrations. It tracks types across Eloquent collections, custom builders, and model factories to ensure type safety during database operations and iterati

    Checks that strings used in model or builder methods correspond to actual database columns or properties.

    PHP
    在 GitHub 上查看↗6,430
  • joelittlejohn/jsonschema2pojojoelittlejohn 的头像

    joelittlejohn/jsonschema2pojo

    6,379在 GitHub 上查看↗

    Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc

    Compiles JSON Schema definitions into Java source files at build time, generating JavaBeans without runtime reflection.

    Java
    在 GitHub 上查看↗6,379
上一个12下一个
  1. Home
  2. Data & Databases
  3. Schema Validation Libraries

探索子标签

  • Deep Property Validation3 个子标签Checks for the existence or validity of nested data structures using pointers to reach deep object paths. **Distinct from Schema Validation Libraries:** Focuses on deep path validation within schemas, distinct from general property validation.
  • Multi-Standard SupportValidates data against multiple schema standards to accommodate varying complexity and type-system requirements. **Distinct from Schema Validation Libraries:** Focuses on supporting multiple schema standards within a single validation framework.
  • Remote ResolversInterfaces for fetching external schema definitions via URI during validation. **Distinct from Schema Validation Libraries:** Distinct from Schema Validation Libraries: focuses specifically on the mechanism of fetching external schema definitions, rather than the validation logic itself.
  • Schema Compilers4 个子标签Verifies schema integrity and generates standalone code modules containing optimized validation functions. **Distinct from Schema Validation Libraries:** Focuses on the compilation of schemas into executable code, distinct from runtime validation.
  • Union Validation OptimizersUses discriminator properties to efficiently identify and validate data against specific sub-schemas. **Distinct from Schema Validation Libraries:** Focuses on optimizing union type validation specifically, rather than general schema validation.
  • Violation Reporters1 个子标签Utilities for collecting and returning detailed error information during schema validation. **Distinct from Schema Validation Libraries:** Distinct from Schema Validation Libraries: focuses on the diagnostic reporting of violations, rather than the enforcement of rules.