8 dépôts
Applying validation rules that activate or change based on the values of other data fields.
Distinct from Schema Enforcement Tools: Distinct from Schema Enforcement Tools: focuses on the dynamic/conditional nature of the rules.
Explore 8 awesome GitHub repositories matching data & databases · Conditional Enforcement. Refine with filters or upvote what's useful.
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
Applies conditional validation rules that change based on other values present in a data object.
This repository contains the technical specification and architectural blueprint for a decentralized network protocol designed to coordinate autonomous agents. It defines a system model for a global autonomous agentic internet, covering protocol engineering, tokenomics, and the structural design of the network infrastructure. The protocol focuses on a programmable payment system that utilizes trustless atomic swaps and specific spending conditions to release funds. It incorporates a privacy-preserving framework for off-chain transaction execution, allowing service providers and users to maint
Uses smart contract predicates and trustless atomic swaps to enforce programmable spending conditions for fund release.
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
Supports applying specific sets of validation constraints based on active group tags for context-dependent schemas.
DARC is a framework for forming and operating decentralized autonomous companies on any Ethereum Virtual Machine blockchain. It combines a custom bytecode-compiled scripting language with an EVM-compatible virtual machine to define and execute company by-laws, governance rules, and financial operations entirely on-chain. The system provides a multi-level token registry where tokens at different hierarchical levels carry configurable voting power, dividend power, and supply limits, enabling structured corporate roles and ownership. An on-chain voting engine triggers and resolves votes among to
Enforces conditional plugin rules before or after operations to allow, deny, or require votes.
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
Enforces dynamic runtime conditions such as range limits or format requirements to narrow allowed values.
Sui is a blockchain platform featuring an object-centric state model and resource-oriented smart contracts. It utilizes parallel transaction execution to increase network throughput and supports programmable transaction blocks that bundle multiple operations into single atomic units. The platform distinguishes itself with a capability-based access control system and zero-knowledge login mechanisms, enabling users to authenticate via identity providers without seed phrases. It also implements deterministic object addressing to allow predictable state lookups and supports the creation of soulbo
Restricts the movement of assets by requiring specific conditions to be met within a custom module function.
fast-json-stringify is a high-performance JSON serialization library that uses JSON Schema to compile optimized functions for converting JavaScript objects into strings. It serves as a schema-based JSON serializer that generates specialized serialization logic to outperform standard stringification methods. The project provides capabilities to export standalone serialization code to files for direct execution and supports schema reference resolution to eliminate logic duplication. It allows for the deactivation of character escaping for trusted data to reduce overhead and includes specific op
Verifies required fields and applies conditional logic using pattern-based rules during serialization.
Fluent-validator est un framework de validation Java conçu pour appliquer l'intégrité des données via des contraintes déclaratives et des vérifications automatisées au niveau de la couche de service. Il fournit un environnement structuré pour définir une logique de validation qui s'intègre avec la spécification JSR 303, permettant aux développeurs de maintenir une qualité de données cohérente à travers des hiérarchies d'objets complexes et des limites d'application. Le framework se distingue par une interface fluide qui permet l'orchestration de chaînes de validation, permettant des séquences de règles lisibles et maintenables. Il prend en charge un contrôle d'exécution avancé, y compris la capacité de basculer entre des stratégies d'échec rapide et de basculement, et utilise une interception basée sur proxy pour vérifier automatiquement les arguments de méthode au sein des conteneurs gérés. Au-delà de l'intégration de contraintes standards, la bibliothèque facilite une intégrité profonde des données via le parcours récursif de graphes d'objets et la validation en cascade. Elle s'adapte aux exigences commerciales dynamiques en prenant en charge la logique conditionnelle, les groupes de validation pour la résolution de règles sensible au contexte et l'injection de propriétés externes dans la portée de validation. Les développeurs peuvent également implémenter des classes de validation personnalisées pour gérer des exigences de données uniques aux côtés des annotations standards.
Enforces data integrity conditionally based on runtime states to handle dynamic business requirements.