15 repository-uri
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 15 awesome GitHub repositories matching data & databases · Conditional Validation Rules. Refine with filters or upvote what's useful.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
JSON Editor este un framework UI bazat pe schemă și un editor web utilizat pentru a genera formulare interactive și a valida datele JSON. Acesta traduce specificațiile JSON Schema într-o ierarhie de elemente de formular HTML, permițând utilizatorilor să manipuleze structuri JSON complexe printr-o interfață structurată în loc de text brut. Framework-ul se diferențiază printr-un sistem de extensie bazat pe plugin-uri care suportă funcții de rezolvare personalizate și integrarea editorilor specializați, cum ar fi WYSIWYG, Markdown și editori de cod cu sintaxă evidențiată. Utilizează rezolvarea recursivă a schemelor pentru a gestiona definițiile imbricate și implementează validarea condiționată bazată pe stare folosind logica if-then-else. Proiectul oferă o gamă largă de capabilități, inclusiv binding bidirecțional de date, gestionarea layout-ului de array-uri și obiecte pentru grid-uri și tab-uri și sincronizarea dinamică a câmpurilor prin interpolarea template-urilor. Biblioteca sa de componente acoperă intrări standard alături de instrumente specializate precum selectoare de culoare, selectoare de dată-timp, componente de autocomplete și interfețe de upload de fișiere. Interfața suportă localizarea șirurilor UI și se integrează cu diverse framework-uri CSS pentru a decupla generarea structurală a formularelor de stilizarea vizuală.
Applies dynamic validation rules using if-then-else logic based on the current values of other form fields.
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.
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.
Skips file-based labeling when the number of changed files exceeds a configurable limit.
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.