8 مستودعات
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 هو إطار عمل للتحقق من صحة Java مصمم لفرض سلامة البيانات من خلال قيود تعريفية وفحوصات طبقة الخدمة المؤتمتة. يوفر بيئة منظمة لتحديد منطق التحقق الذي يتكامل مع مواصفات JSR 303، مما يسمح للمطورين بالحفاظ على جودة بيانات متسقة عبر تسلسلات هرمية معقدة للكائنات وحدود التطبيق. يتميز إطار العمل بواجهة سلسة تتيح تنسيق سلاسل التحقق، مما يسمح بتسلسلات قواعد قابلة للقراءة والصيانة. يدعم التحكم المتقدم في التنفيذ، بما في ذلك القدرة على التبديل بين استراتيجيات الفشل السريع والفشل المتجاوز، ويستخدم الاعتراض القائم على الوكيل للتحقق تلقائياً من وسيطات الطريقة داخل الحاويات المدارة. بعيداً عن تكامل القيود القياسي، تسهل المكتبة سلامة البيانات العميقة من خلال اجتياز رسم بياني للكائن المتكرر والتحقق المتسلسل. يستوعب متطلبات العمل الديناميكية من خلال دعم المنطق الشرطي، ومجموعات التحقق لحل القواعد المدركة للسياق، وحقن الخصائص الخارجية في نطاق التحقق. يمكن للمطورين أيضاً تنفيذ فئات تحقق مخصصة للتعامل مع متطلبات البيانات الفريدة إلى جانب التعليقات التوضيحية القياسية.
Enforces data integrity conditionally based on runtime states to handle dynamic business requirements.