26 repository-uri
Ensures a value matches one of several predefined options.
Distinct from Runtime Value Validation: Distinct from general Runtime Value Validation by specifically implementing a white-list check against a set of allowed values.
Explore 26 awesome GitHub repositories matching software engineering & architecture · Allowed Value Validations. Refine with filters or upvote what's useful.
This project is a collection of programming language references and syntax cheat sheets designed for rapid developer onboarding. It serves as a library of code-based documentation that uses valid source code files to provide whirlwind tours of various language specifications. The project focuses on programming language learning by providing concise, commented code examples that explain core features and syntax in place. This approach enables developers to quickly grasp language-specific patterns, data types, and execution flow through a consistent reference format. The content covers a broad
Provides examples of enforcing specific allowed values for fields using enums.
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.
Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.
Deno Valide ensures a string matches one of several predefined allowed options.
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
Restricts values to a predefined set of allowed primitives, symbols, or objects.
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.
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
Validates that Kubernetes resource label values match allowed entries and blocks invalid deployments.
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.
Cortex is an open-source, horizontally scalable metrics platform that ingests, stores, and queries Prometheus-compatible time-series data with multi-tenant isolation. It accepts metrics via Prometheus remote write and OpenTelemetry, executes PromQL queries against both recent and historical data, and provides a Prometheus-compatible alerting and recording rule engine with an integrated Alertmanager. The system is built as a set of independently scalable microservices that use hash-ring-based sharding, gossip-based cluster membership, and tenant-aware object storage to distribute workloads acro
Cortex rejects samples whose label names or values exceed configured length limits or whose series exceed the allowed label count.
tailwind-merge is a utility library that resolves conflicting Tailwind CSS class strings when combining multiple sets of classes. It automatically detects and removes conflicting utility classes, keeping only the last class from each group that modifies the same CSS property, while preserving non-conflicting and non-Tailwind classes unchanged. The library handles complex conflict scenarios including modifier-order resolution, arbitrary value type detection, postfix modifier semantics, and asymmetric conflicts where one class group removes preceding classes from other groups but not vice versa
Provides validator functions to check if a class value matches a specific CSS type for correct conflict resolution.
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.
Aceasta este o bibliotecă PHP și un utilitar de programare utilizat pentru a parsa expresii cron și a calcula datele de execuție. Funcționează ca un calculator de programare cron care determină următoarea dată de rulare și iterațiile de execuție din șirurile cron standard. Proiectul oferă capabilități pentru prezicerea datelor de rulare viitoare și calcularea secvențelor de timestamp-uri viitoare. Include, de asemenea, un utilitar pentru a verifica dacă o sarcină programată este scadentă pentru execuție prin compararea timpului sistemului cu o expresie cron.
Verifies cron expressions by checking each time unit against a set of allowed minimum and maximum values.
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.