18 repository-uri
Validating a single value against a rule without requiring a full data array.
Distinct from Allowed Value Validations: Distinct from Allowed Value Validations: validates any single value against any rule, not just allowed-value checks.
Explore 18 awesome GitHub repositories matching software engineering & architecture · Single Value Validators. Refine with filters or upvote what's useful.
async-validator este o bibliotecă JavaScript de validare a schemelor și un motor de validare asincronă a datelor. Verifică structurile complexe de obiecte și array-urile imbricate prin aplicarea de reguli recursive și execuție non-blocking bazată pe promise-uri pentru a asigura integritatea datelor. Biblioteca funcționează atât ca un validator de constrângeri de obiecte, cât și ca un pipeline de transformare a datelor. Permite sanitizarea, constrângerea și formatarea valorilor de input printr-o secvență de funcții care rulează înainte și după procesul principal de validare. Motorul acoperă o gamă de capabilități, inclusiv validarea recursivă imbricată, aplicarea constrângerilor standard de schemă și integrarea logicii de business personalizate prin funcții de validare bespoke. De asemenea, oferă instrumente pentru personalizarea mesajelor de eroare și localizarea prin șiruri statice sau funcții dinamice.
Applies sanitization and coercion transformations to input values before they are processed by validation rules.
evcc is an open-source home energy management system and solar charging optimization engine. It coordinates solar inverters, electric vehicle chargers, home batteries, and smart devices to route surplus solar energy to load points, optimizing energy use and minimizing grid costs. The platform functions as a multi-protocol charger orchestrator and ISO 15118-2 plug and charge controller, enabling automatic vehicle identification and battery state retrieval. It distinguishes itself through a plugin-based device abstraction layer and protocol-agnostic drivers that unify control across diverse har
Provides a value only when a separate boolean validation signal is true.
aws-sam-local este un emulator bazat pe Docker utilizat pentru rularea și depanarea funcțiilor AWS Lambda și a configurațiilor API Gateway pe o mașină locală. Oferă un mediu de execuție local care imită runtime-ul AWS Lambda, permițând verificarea codului funcțiilor și a mock-urilor de aplicații serverless înainte de implementarea în cloud. Proiectul utilizează un orchestrator de runtime pentru a gestiona containere efemere, replicând mediul de execuție izolat al funcțiilor cloud. Include un simulator de API gateway serverless și instrumente de mocking pentru evenimente, pentru a sintetiza payload-uri din surse precum Kafka și alte declanșatoare cloud. Instrumentul susține ciclul de dezvoltare mai larg pentru Serverless Application Model, permițând prototiparea locală a API-urilor serverless și simularea diverselor surse de evenimente cloud. Oferă un mediu de depanare pentru identificarea erorilor în funcțiile serverless, cu control complet asupra stării de execuție.
Validates entire event structures against specifications to ensure correctness of context attributes.
Symfony Translation is a PHP library and framework component for internationalizing applications. It provides a complete system for managing message catalogs, handling locale-aware string translation, and formatting messages using ICU MessageFormat syntax to support pluralization, gender, and conditional selection. The component organizes translatable strings into named domains, supports key-based lookup that decouples source text from localized versions, and offers deferred rendering through translatable objects that store parameters and render only when output is needed. The library disting
Validates a value against property constraints before it is assigned to the object.
is-thirteen este o bibliotecă de validare a numerelor și un verificator de egalitate numerică conceput pentru a verifica dacă o intrare dată este egală cu valoarea treisprezece. Funcționează ca un instrument de clasificare a datelor care identifică această valoare specifică în fluxurile de intrare numerice, textuale și vizuale. Proiectul include un clasificator de numere bazat pe imagini care utilizează deep learning și analiza rețelelor neuronale pentru a identifica reprezentările vizuale ale numărului treisprezece în imaginile încărcate. Biblioteca acoperă o varietate de metode de validare, inclusiv egalitatea aritmetică exactă, potrivirea aproximativă a valorilor în intervale de toleranță definite, parsarea notației științifice și potrivirea modelelor lingvistice pentru formele scrise ale numărului.
Validates a single input value against the rule of equaling thirteen.
Respect/Validation is a PHP validation library that operates on single input values through a fluent, chainable rule system. Each validator instance builds a linear constraint pipeline by appending rules to an internal stack, executing them sequentially and short-circuiting on the first failure. The library captures validation failures as structured exceptions, enabling callers to inspect detailed error metadata programmatically and respond with meaningful messages. The library distinguishes itself through its exception-based error handling model, which provides programmatic access to validat
Operates on one input value at a time, composing rules into a linear constraint pipeline.
CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web applications. It provides a lightweight toolkit with minimal configuration, organizing application logic into controllers, models, and views for clean separation of concerns. The framework includes a fluent query builder for constructing SQL statements programmatically, PSR-4 autoloading with namespace mapping, and a service-based dependency injection container for managing shared class instances. The framework distinguishes itself through its comprehensive set of built-in tools
Validates individual values against rules without requiring a full data array.
CloudEvents is an open specification for describing event data in a common format across cloud platforms and services. It defines a standard structure and set of metadata attributes for events, enabling interoperability across different systems so producers and consumers can exchange events without custom translation. The specification provides a protocol-agnostic serialization framework that maps CloudEvents attributes and payloads to multiple serialization formats including JSON, Avro, and Protobuf, and defines transport bindings for mapping events onto protocols like HTTP, AMQP, Kafka, MQTT
Defines validation rules for checking events against specification version and attribute requirements.
attrs is a Python library that automatically generates initialization, representation, equality, hashing, and ordering methods from declarative class attribute definitions. At its core, it provides a class decorator metaprogramming framework that intercepts class creation to rewrite the class body, producing dunder methods without manual boilerplate. The library includes a comprehensive attribute validation toolkit with built-in validators for type checks, range constraints, regex matching, length limits, and logical composition of validation rules. The library distinguishes itself through it
Runs user-defined validator functions each time an attribute is set, catching invalid data early and preventing corrupt object state.
TypeSpec is a language for defining cloud API shapes and generating OpenAPI, JSON Schema, and client/server code from a single source of truth. It functions as a protocol-agnostic API designer that models REST, gRPC, and other API protocols using a unified, extensible syntax, with a decorator-based metadata system for attaching metadata, validation rules, and lifecycle visibility to API models and operations. The compiler produces OpenAPI 3.0 specifications and other artifacts, and the tool supports declaring API versions and tracking changes to models, properties, and operations across releas
Validates values against built-in constraints like minLength and maxValue using decorators.
re-frame este un framework funcțional pentru construirea de aplicații single-page în ClojureScript. Acesta oferă o bază de date centralizată și imutabilă care servește drept unică sursă de adevăr pentru întreaga stare a aplicației, impunând un flux de date unidirecțional strict, unde evenimentele declanșează tranziții de stare și actualizări ulterioare ale vizualizărilor. Framework-ul se distinge printr-un graf de semnale reactive și un pipeline de middleware bazat pe interceptoare. Tratând logica aplicației ca pe o secvență de evenimente bazate pe date și efecte secundare declarative, acesta decuplează logica de business de stratul de vizualizare. Această arhitectură permite dezvoltatorilor să gestioneze tranziții complexe de stare și operațiuni externe prin funcții pure, asigurându-se că efectele secundare sunt executate de un interpretor separat, nu prin apeluri imperative. Sistemul include o suită cuprinzătoare de capabilități pentru gestionarea arhitecturii aplicației, inclusiv derivarea reactivă a datelor, reconcilierea vizualizărilor bazată pe abonamente și gestionarea stării bazată pe evenimente. Suportă fluxuri de lucru avansate, cum ar fi trasarea evenimentelor, checkpoint-uri de stare și capacitatea de a simula (stub) efecte secundare pentru testare izolată. Proiectul este conceput pentru integrarea cu React, utilizând reconcilierea virtual DOM pentru a actualiza eficient interfețele utilizator. Oferă un set robust de utilitare pentru gestionarea problemelor transversale, gestionarea grafurilor complexe de flux de date și coordonarea operațiunilor asincrone într-un pipeline de evenimente secvențial și predictibil.
Enforces structural contracts on event tags during development to ensure architectural consistency.
Inngest is a durable execution framework and event-driven automation engine designed to orchestrate background workflows. It enables developers to build resilient, stateful processes by memoizing function steps, ensuring that long-running tasks can automatically resume from the last successful operation after failures, timeouts, or infrastructure restarts. The platform distinguishes itself through its event-driven architecture, which uses a schema-validated bus to trigger functions and coordinate complex, multi-step logic. It employs an onion-model middleware approach for cross-cutting concer
Enforces strict data structures for event payloads at runtime to ensure type safety and consistency across distributed service components.
Rudder Server is a customer data platform and event routing pipeline designed to collect, transform, and route customer event data from various sources to data warehouses and business tools. It functions as a customer identity resolver, linking identifiers from multiple sources to build a unified identity graph and comprehensive behavioral customer profiles. The system differentiates itself through reverse ETL capabilities, which push processed customer segments and audiences from data warehouses back into operational third-party applications. It also provides a containerized data plane for K
Checks incoming events against a central tracking plan to block malformed data and ensure quality.
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
Checks a single primitive value against a sequence of rules and returns the first error.
ow is a type-safe schema validation library for TypeScript that verifies data integrity at runtime. It functions as a runtime validation framework and type guard utility, ensuring that JavaScript values match expected types and schemas before they are processed. The library synchronizes runtime data checks with static TypeScript type definitions, allowing users to extract type definitions directly from validation predicates. This integration enables type narrowing, where a successful validation result refines the variable type for safer usage in the code. The framework uses a chainable API t
Verifies that a single value matches a specific predicate and triggers an error upon failure.
This project is a promise-based concurrency framework and asynchronous task library for Swift and Objective-C. It functions as a workflow orchestrator that uses monadic transformations to chain operations and propagate results through a state machine. The library specializes in transforming traditional completion-handler APIs into promise-based structures to enable sequential execution. It provides mechanisms for coordinating simultaneous background processes, including the ability to aggregate results from multiple tasks or synchronize operations through racing and waiting. The framework co
Checks resolved values against predicates and rejects the asynchronous chain if the value is invalid.
Validate.js is a JavaScript library designed for declarative data validation and form processing. It provides a framework for verifying complex objects and individual data points against structured constraint schemas, ensuring that application state and user input meet defined requirements. The library distinguishes itself through its support for asynchronous validation, allowing for verification tasks that require external data sources or server-side checks. It includes a built-in utility for extracting and normalizing data from web forms, which cleans input by removing whitespace and empty
Provides shorthand utilities for checking individual data points against specific constraints without requiring a full schema.
The Event Gateway is a unified routing layer designed to connect HTTP requests and cloud events to serverless functions across multiple providers and infrastructure environments. It functions as a centralized platform for managing event-driven architectures, enabling developers to register, map, and trigger remote functions in response to incoming web traffic or asynchronous system events. The platform distinguishes itself through a plugin-based middleware pipeline that allows for custom logic execution during the request lifecycle, enabling developers to intercept, validate, or transform eve
Validates incoming event payloads against registered structural schemas to ensure data consistency across distributed services.