15 مستودعات
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 is a schema-driven UI framework and web-based editor used to generate interactive forms and validate JSON data. It translates JSON Schema specifications into a hierarchy of HTML form elements, allowing users to manipulate complex JSON structures through a structured interface rather than raw text. The framework differentiates itself through a plugin-based extension system that supports custom resolver functions and the integration of specialized editors, such as WYSIWYG, Markdown, and syntax-highlighted code editors. It employs recursive schema resolution to handle nested definiti
Applies dynamic validation rules using if-then-else logic based on the current values of other form fields.
Dynaconf هي مكتبة إدارة تكوين لتطبيقات Python توفر نظاماً موحداً لتحميل، والتحقق من، وإدارة الإعدادات. تقوم بتجميع بيانات التكوين من ملفات متعددة، ومتغيرات البيئة، والمتاجر الخارجية في كائن واحد باستخدام ترتيب أسبقية محدد. يتميز المشروع بمدير بيئة متعدد الطبقات يفصل الإعدادات إلى ملفات تعريف متميزة، مثل التطوير والإنتاج. يتضمن إطار عمل للتحقق التصريحي لفرض قواعد البيانات وقيود النوع أثناء عملية التحميل، بالإضافة إلى مكامل متجر أسرار خارجي لاسترجاع البيانات الحساسة من HashiCorp Vault و Redis. تدعم المكتبة تحميل الملفات بتنسيقات متعددة لملفات TOML، وYAML، وJSON، وINI، وPython. توفر قدرات لصب متغيرات البيئة، والبحث بنظام النقطة، والتكامل مع أطر عمل الويب مثل Django و Flask لاستبدال كائنات التكوين القياسية. تتوفر أدوات سطر الأوامر لتمهيد التكوين، والتحقق من الإعدادات، وإجراء تجاوزات وقت التشغيل.
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 هو إطار عمل للتحقق من صحة Java مصمم لفرض سلامة البيانات من خلال قيود تعريفية وفحوصات طبقة الخدمة المؤتمتة. يوفر بيئة منظمة لتحديد منطق التحقق الذي يتكامل مع مواصفات JSR 303، مما يسمح للمطورين بالحفاظ على جودة بيانات متسقة عبر تسلسلات هرمية معقدة للكائنات وحدود التطبيق. يتميز إطار العمل بواجهة سلسة تتيح تنسيق سلاسل التحقق، مما يسمح بتسلسلات قواعد قابلة للقراءة والصيانة. يدعم التحكم المتقدم في التنفيذ، بما في ذلك القدرة على التبديل بين استراتيجيات الفشل السريع والفشل المتجاوز، ويستخدم الاعتراض القائم على الوكيل للتحقق تلقائياً من وسيطات الطريقة داخل الحاويات المدارة. بعيداً عن تكامل القيود القياسي، تسهل المكتبة سلامة البيانات العميقة من خلال اجتياز رسم بياني للكائن المتكرر والتحقق المتسلسل. يستوعب متطلبات العمل الديناميكية من خلال دعم المنطق الشرطي، ومجموعات التحقق لحل القواعد المدركة للسياق، وحقن الخصائص الخارجية في نطاق التحقق. يمكن للمطورين أيضاً تنفيذ فئات تحقق مخصصة للتعامل مع متطلبات البيانات الفريدة إلى جانب التعليقات التوضيحية القياسية.
Executes specific validation rules only when defined runtime conditions are met to handle dynamic business requirements.