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

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

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

16 个仓库

Awesome GitHub RepositoriesConditional Validation Rules

Logic for enforcing field requirements based on the state or values of other form fields.

Distinct from Field Validation: Distinct from Field Validation: focuses specifically on cross-field dependency logic rather than general data integrity.

Explore 16 awesome GitHub repositories matching data & databases · Conditional Validation Rules. Refine with filters or upvote what's useful.

Awesome Conditional Validation Rules GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • 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 logic for enforcing field requirements based on the state or values of sibling fields.

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

    Enforces validation rules dynamically based on the values of other keys within the object.

    JavaScripthapijavascriptschema
    在 GitHub 上查看↗21,192
  • wasp-lang/waspwasp-lang 的头像

    wasp-lang/wasp

    18,146在 GitHub 上查看↗

    Wasp is a declarative full-stack web framework that enables developers to build and deploy applications by defining their architecture in a centralized configuration. By using a high-level specification, the framework automates the orchestration of frontend, backend, and database components, ensuring that infrastructure concerns like routing, authentication, and data modeling are handled consistently across the entire stack. The framework distinguishes itself through its compiler-driven approach, which translates declarative configurations into cohesive, production-ready codebases. It provide

    Enforces field requirements based on the state or values of other form fields to ensure data consistency.

    TypeScripthaskelljavascriptnode
    在 GitHub 上查看↗18,146
  • 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

    Executes specific validation rules based on prerequisite schema satisfaction, enabling complex if-then-else branching.

    TypeScriptajvjson-schemavalidator
    在 GitHub 上查看↗14,733
  • 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

    Allows skipping specific property checks based on boolean condition functions or property-level triggers.

    TypeScriptdecoratorstypescriptvalidation
    在 GitHub 上查看↗11,796
  • symfony/routingsymfony 的头像

    symfony/routing

    7,618在 GitHub 上查看↗

    This PHP routing library is an HTTP request router and matcher designed to map incoming URL paths to specific controller actions using defined patterns and configuration. It serves as a programmatic interface for defining, loading, and resolving URL patterns, while providing a URL generator to produce absolute or relative URIs from route names and parameters. The system supports diverse route loading through YAML, XML, PHP arrays, and class attributes, utilizing compiled route matching to optimize performance. It enables sophisticated request handling through regex-based path matching, sub-do

    Applies validation rules to form fields based on the values of other dependent fields.

    PHPcomponentphprouter
    在 GitHub 上查看↗7,618
  • datatables/datatablesDataTables 的头像

    DataTables/DataTables

    7,408在 GitHub 上查看↗

    DataTables is a feature-rich HTML table library that transforms static HTML tables into interactive data grids with sorting, paging, filtering, and server-side processing support. It provides a client-side rendering engine that handles table rows, pagination, and sorting entirely in the browser, while also offering a server-side processing pipeline that offloads sorting, filtering, and paging operations to a backend for efficient handling of large datasets. The library distinguishes itself through its plugin-based extension system, which allows custom functions and widgets to modify table beh

    Applies validation rules to a field only when a condition, such as a value in another field, is met.

    CSS
    在 GitHub 上查看↗7,408
  • datreeio/datreedatreeio 的头像

    datreeio/datree

    6,339在 GitHub 上查看↗

    Datree is a policy enforcement framework for Kubernetes that validates configurations against rules written in Rego, JSON Schema, or CEL. It operates as both a command-line tool for pre-deployment scanning and as a cluster-side admission webhook for real-time enforcement, integrating with CI/CD pipelines and continuous delivery tools like ArgoCD and FluxCD. The framework supports namespace-scoped policy mapping, allowing different policies to apply to different namespaces, and provides a skip annotation mechanism for selectively bypassing rules on individual resources or entire namespaces. It

    Provides annotation-based per-resource policy rule skipping for Kubernetes manifests.

    Goadmission-webhookbest-practicescli
    在 GitHub 上查看↗6,339
  • orval-labs/orvalorval-labs 的头像

    orval-labs/orval

    6,145在 GitHub 上查看↗

    Orval is an OpenAPI-to-TypeScript code generator that produces fully typed API clients, data-fetching hooks, mock data, validation schemas, and server handlers from OpenAPI or Swagger specifications. It reads any YAML or JSON API specification and generates TypeScript interfaces, HTTP request functions, and framework-specific integration code that ensures compile-time correctness for all API calls. The project distinguishes itself by generating production-ready data-fetching hooks for React Query, Vue Query, Svelte Query, Solid Query, Angular, and SWR, complete with automatic cache invalidati

    Disables OpenAPI specification validation to allow code generation from non-compliant or extended specs.

    TypeScript
    在 GitHub 上查看↗6,145
  • jeremyevans/sequeljeremyevans 的头像

    jeremyevans/sequel

    5,076在 GitHub 上查看↗

    Sequel is a relational database toolkit for Ruby that provides object-relational mapping, a fluent SQL query builder, and schema migration capabilities. It maps database tables to Ruby classes with support for associations, validations, lifecycle hooks, and eager loading, offering a comprehensive ORM layer for building data-centric applications. Sequel distinguishes itself through a plugin-based extension architecture that allows composable customization of models, databases, and datasets without relying on deep inheritance hierarchies. It includes a thread-safe connection pool with support f

    Sequel applies validation rules only when a given condition is met, using standard Ruby conditionals inside the validate method.

    Ruby
    在 GitHub 上查看↗5,076
  • json-editor/json-editorjson-editor 的头像

    json-editor/json-editor

    4,900在 GitHub 上查看↗

    JSON Editor 是一个基于 Schema 的 UI 框架和 Web 编辑器,用于生成交互式表单并验证 JSON 数据。它将 JSON Schema 规范转换为 HTML 表单元素层级,使用户能够通过结构化界面而非原始文本来操作复杂的 JSON 结构。 该框架的特色在于其基于插件的扩展系统,支持自定义解析器函数以及集成 WYSIWYG、Markdown 和语法高亮代码编辑器等专用编辑器。它采用递归 Schema 解析来处理嵌套定义,并实现了基于 if-then-else 逻辑的状态条件验证。 该项目提供了广泛的功能,包括双向数据绑定、用于网格和标签页的数组与对象布局管理,以及通过模板插值实现的动态字段同步。其组件库涵盖了标准输入以及颜色选择器、日期时间选择器、自动补全组件和文件上传接口等专用工具。 该界面支持 UI 字符串的本地化,并可与各种 CSS 框架集成,从而将结构化表单生成与视觉样式解耦。

    Applies dynamic validation rules using if-then-else logic based on the current values of other form fields.

    JavaScript
    在 GitHub 上查看↗4,900
  • jabref/jabrefJabRef 的头像

    JabRef/jabref

    4,373在 GitHub 上查看↗

    This project is a desktop-based bibliographic reference manager designed to organize academic research libraries and automate citation workflows. It functions as a research assistant that integrates directly with word processors and text editors, enabling users to insert and format references while writing. The application is built on a Java-based portable runtime, allowing it to operate as a self-contained tool that stores preferences and data in local configuration files. The platform distinguishes itself through a modular plugin architecture and a commitment to human-readable, text-based f

    Configures validation rules for entry completeness by defining sets of alternative fields where at least one must be present.

    Javaacademiaacademic-publicationsai
    在 GitHub 上查看↗4,373
  • dynaconf/dynaconfdynaconf 的头像

    dynaconf/dynaconf

    4,308在 GitHub 上查看↗

    Dynaconf is a configuration management library for Python applications that provides a unified system for loading, validating, and managing settings. It aggregates configuration data from multiple files, environment variables, and external stores into a single object using a defined precedence order. The project distinguishes itself through a layered environment manager that separates settings into distinct profiles, such as development and production. It includes a declarative validation framework to enforce data rules and type constraints during the loading process, as well as an external s

    Implements validation rules that run only when specific conditions are met or after other validators pass.

    Python
    在 GitHub 上查看↗4,308
  • 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

    Executes specific validation rules only when a boolean condition is met.

    Gogogolangozzo
    在 GitHub 上查看↗4,072
  • actions/labeleractions 的头像

    actions/labeler

    2,464在 GitHub 上查看↗

    Skips file-based labeling when the number of changed files exceeds a configurable limit.

    TypeScript
    在 GitHub 上查看↗2,464
  • neoremind/fluent-validatorneoremind 的头像

    neoremind/fluent-validator

    1,019在 GitHub 上查看↗

    Fluent-validator is a Java validation framework designed to enforce data integrity through declarative constraints and automated service-layer checks. It provides a structured environment for defining validation logic that integrates with the JSR 303 specification, allowing developers to maintain consistent data quality across complex object hierarchies and application boundaries. The framework distinguishes itself through a fluent interface that enables the orchestration of validation chains, allowing for readable and maintainable rule sequences. It supports advanced execution control, inclu

    Executes specific validation rules only when defined runtime conditions are met to handle dynamic business requirements.

    Java
    在 GitHub 上查看↗1,019
  1. Home
  2. Data & Databases
  3. Field Validation
  4. Conditional Validation Rules

探索子标签

  • Validation Skipping5 个子标签Mechanisms for bypassing specific validation rules based on triggers or conditions. **Distinct from Conditional Validation Rules:** Focuses on bypassing rules (skipping) rather than enforcing dependencies (conditional rules)