24 रिपॉजिटरी
Rules for validating the types, length, and content of array elements.
Distinguishing note: None of the candidates cover the validation of array elements within a schema.
Explore 24 awesome GitHub repositories matching software engineering & architecture · Array Schema Validation. 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
Defines the required type for array elements and constrains array length and content.
type-fest is a library of reusable utility types for performing complex transformations and validations on objects, arrays, strings, and numeric ranges in TypeScript. It provides a collection of type definitions designed to handle advanced structural changes and constraints. The project distinguishes itself by offering specialized logic for string literal processing, such as casing transformations and pattern-based modifications, and type-level arithmetic for calculating numeric ranges and absolute values. It also includes utilities for enforcing deep immutability, ensuring union mutual exclu
Determines if every element within an array type extends a specific target type.
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
Applies validation rules to every individual element within arrays, sets, or maps.
Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.
Ensures strings or arrays contain at least a specified number of elements.
This PHP assertion library is a runtime data validator used to verify method inputs and outputs. It provides a toolkit for validating data types, numeric ranges, and string patterns during program execution to prevent invalid states. The project serves as a static analysis helper by providing type hints and annotations that improve the accuracy of formal verification tools. It includes a collection validation utility for applying rules across arrays or iterable collections, and a filesystem validation tool to verify path existence and read or write permissions. The library covers a broad ran
Includes checks to verify array keys, element counts, and whether collections are sequential or associative.
Hyperf is a high-performance PHP coroutine framework designed for building microservices and middleware. It utilizes non-blocking coroutines to handle high concurrency and low-latency request processing, providing a foundation for scalable distributed systems. The framework is distinguished by an aspect-oriented programming based dependency injector that enables pluggable components and meta-programming. It includes a coroutine-optimized object-relational mapper with integrated model caching and an orchestration toolkit for microservice governance, featuring service discovery, circuit breaker
Verifies that input arrays adhere to a specific schema by checking for allowed keys.
collect.js is a dependency-free JavaScript library that provides a fluent, chainable interface for manipulating arrays and objects. It mirrors the Laravel Collection API, offering a consistent set of methods for data transformation across JavaScript and Laravel backend environments. The library stores collection data as plain arrays internally and supports fluent method chaining, where each method returns a new collection instance. The library distinguishes itself by closely replicating the Laravel Collection API in JavaScript, mapping each PHP method to an equivalent JavaScript implementatio
Retrieves values from nested arrays or objects using dot notation with optional default fallback.
Arrow is a functional programming library for Kotlin that provides tools for implementing data-oriented programming patterns. It serves as a framework for typed error handling, a concurrency toolkit, and a library for the manipulation of immutable data. The project distinguishes itself through specialized capabilities for managing application failures using explicit types instead of exceptions and implementing resilience patterns such as circuit breakers and retry policies for distributed services. It also provides optics to update and query deeply nested immutable data structures without man
Includes specific validations to ensure collections are non-empty before processing.
This is a configuration library for JVM applications that parses HOCON, JSON, and Java properties files into an immutable tree structure. It resolves ${...} placeholders by traversing the configuration tree and falling back to environment variables and system properties, and validates loaded configurations against a reference schema. The library loads configuration from classpath resources, files, URLs, system properties, and environment variables, merging them with priority-based override semantics. It provides typed value access with automatic type coercion, supports dot-path navigation,
Retrieves values from nested configuration objects using dot-separated key paths.
Go Package of validators and sanitizers for strings, numerics, slices and structs
Verifies that string length in bytes or runes falls within specified minimum and maximum bounds.
MaterialEditText एक Android UI कंपोनेंट लाइब्रेरी और मोबाइल फॉर्म इनपुट फ्रेमवर्क है, जिसका उपयोग Material Design मानकों को लागू करने वाले टेक्स्ट फील्ड बनाने के लिए किया जाता है। यह फ्लोटिंग लेबल, एरर स्टेट्स और थीम्ड विजुअल स्टाइल वाले इनपुट कंपोनेंट्स का एक संग्रह प्रदान करता है। यह लाइब्रेरी एनिमेटेड लेबल और इंटीग्रेटेड हेल्पर टेक्स्ट के साथ टेक्स्ट फील्ड रेंडर करने में सक्षम बनाती है। यह डिज़ाइन आइकन जोड़ने का सपोर्ट करती है और प्राइमरी, एरर और हेल्पर टेक्स्ट के लिए रंगों और टाइपफेस के कस्टमाइजेशन की अनुमति देती है। इस फ्रेमवर्क में मोबाइल इनपुट वैलिडेशन की क्षमताएं शामिल हैं, जैसे टेक्स्ट एंट्री के लिए न्यूनतम और अधिकतम कैरेक्टर काउंट लागू करना।
Provides a character counter that updates in real-time based on minimum and maximum length constraints.
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 fields within nested associative arrays using dot-notation and wildcards.
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
Validates that a string or collection attribute has at least a minimum length.
Provides utilities for validating the data type of every element in an array.
Cats एक Scala फंक्शनल प्रोग्रामिंग लाइब्रेरी और टाइप क्लास लाइब्रेरी है जिसे बीजगणितीय पैटर्न और फंक्शनल एब्स्ट्रैक्शंस को लागू करने के लिए डिज़ाइन किया गया है। यह इंटरफेस का एक मानकीकृत सेट और फंक्शनल रैपर्स व कंटेनर्स का एक मॉड्यूलर टूलकिट प्रदान करता है ताकि विभिन्न टाइप्स में एड-हॉक पॉलीमॉर्फिज्म और जेनेरिक प्रोग्रामिंग को सक्षम किया जा सके। यह प्रोजेक्ट एक फंक्शनल एब्स्ट्रैक्शन स्टैंडर्ड के रूप में कार्य करता है, जो नेस्टेड इफेक्टफुल कॉन्टेक्स्ट को कंपोज़ करने और एक ही पाइपलाइन के भीतर कई कम्प्यूटेशनल साइड इफेक्ट्स को संभालने के लिए एक मोनाड ट्रांसफॉर्मर सूट प्रदान करता है। यह प्रोग्राम लॉजिक को डेटा स्ट्रक्चर्स के रूप में प्रस्तुत करके एम्बेडेड डोमेन-विशिष्ट भाषाओं के निर्माण को सक्षम बनाता है जिन्हें उनकी परिभाषाओं से अलग से इंटरप्रेट किया जाता है। यह लाइब्रेरी व्यापक क्षमता क्षेत्रों को कवर करती है जिसमें मानों को संयोजित और कम करने के लिए बीजगणितीय डेटा मैनिपुलेशन, टाइप-सेफ स्टेट मैनेजमेंट और एरर एक्यूमुलेशन व रिकवरी को औपचारिक बनाने के लिए फंक्शनल एरर हैंडलिंग शामिल है। यह इफेक्टफुल कम्प्यूटेशन मैनेजमेंट और फंक्शनल क्षमताओं के साथ स्टैंडर्ड कलेक्शन टाइप्स के विस्तार के लिए भी उपकरण प्रदान करता है। इस लाइब्रेरी में यह सुनिश्चित करने के लिए बीजगणितीय लॉ वैलिडेशन के तंत्र शामिल हैं कि टाइप क्लास इंस्टेंस गणितीय गुणों का पालन करते हैं।
Provides specialized data types that statically guarantee a collection contains at least one element.
Bard-API Google Gemini के साथ बातचीत करने के लिए एक एसिंक्रोनस Python रैपर और क्लाइंट है। यह एक स्टेटफुल कन्वर्सेशन मैनेजर और मल्टीमॉडल इंटरफेस के रूप में कार्य करता है, जो उपयोगकर्ताओं को भाषा मॉडल में टेक्स्ट और इमेज प्रॉम्प्ट भेजने और प्रतिक्रिया प्राप्त करने की अनुमति देता है। यह लाइब्रेरी एक कुकी-आधारित प्रमाणीकरण प्रणाली का उपयोग करती है जो अनुरोधों को अधिकृत करने के लिए स्थानीय ब्राउज़र स्टोरेज से सत्र टोकन निकालती है। एक्सेस और कनेक्टिविटी का प्रबंधन करने के लिए, इसमें क्षेत्रीय प्रतिबंधों को बायपास करने और IP ब्लॉक से बचने के लिए प्रॉक्सी-आधारित अनुरोध रूटिंग शामिल है। यह प्रोजेक्ट मल्टीमॉडल AI विश्लेषण और निरंतर मल्टी-टर्न संवादों को सक्षम करने के लिए सत्र इतिहास के रखरखाव की क्षमताओं को कवर करता है। यह प्रतिक्रियाओं से इमेज लिंक निकालने, टेक्स्ट को स्पीच में बदलने और स्थानीय वातावरण के भीतर उत्पन्न कोड स्निपेट को स्वचालित रूप से निष्पादित करने के लिए उपयोगिताएँ भी प्रदान करता है।
Limits generated output by setting a maximum number of tokens or sentences.
Sugar, डेटा हेरफेर और परिवर्तन के लिए अतिरिक्त विधियों के साथ नेटिव ऑब्जेक्ट्स और प्रोटोटाइप का विस्तार करने के लिए डिज़ाइन की गई एक JavaScript उपयोगिता लाइब्रेरी है। यह ऑब्जेक्ट उपयोगिताओं, तिथि हेरफेर, स्ट्रिंग इन्फ्लेक्शन, और लापता या टूटी हुई मानक भाषा सुविधाओं के पॉलीफिलिंग के लिए एक टूलकिट के रूप में कार्य करता है। यह लाइब्रेरी वैश्विक प्रोटोटाइप को संशोधित किए बिना विधि चेनिंग को सक्षम करने के लिए सीधे बिल्ट-इन प्रोटोटाइप पर उपयोगिता विधियों को मैप करने या अस्थायी ऑब्जेक्ट्स में मानों को लपेटने की क्षमता प्रदान करती है। इसमें लापता आधुनिक भाषा कार्यक्षमता को लागू करके विभिन्न निष्पादन वातावरणों में सुसंगत व्यवहार सुनिश्चित करने के लिए एक पॉलीफिल सिस्टम भी शामिल है। क्षमताओं में अंतर्राष्ट्रीय तिथि स्वरूपण और मानवकृत तिथि स्ट्रिंग की पार्सिंग शामिल है। यह लाइब्रेरी स्ट्रिंग इन्फ्लेक्शन और सामान्यीकरण, नेस्टेड ऑब्जेक्ट्स के गहरे संपत्ति ट्रैवर्सल, और लोकेल-जागरूक सरणी सॉर्टिंग के माध्यम से प्राकृतिक भाषा प्रसंस्करण को भी संभालती है। इसके अतिरिक्त, यह परिवर्तनीय ऑब्जेक्ट्स को क्लोन करने और संख्याओं, तिथियों और स्ट्रिंग्स के लिए मान रेंज को परिभाषित करने के लिए टूल प्रदान करती है।
Retrieves and sets values in nested objects and arrays using dot notation.
Unform एक React फ़ॉर्म स्टेट मैनेजर है जिसे जटिल उपयोगकर्ता इनपुट फ़ॉर्म की स्थिति, सत्यापन और सबमिशन को संभालने के लिए डिज़ाइन किया गया है। यह एक अनियंत्रित फ़ॉर्म API का उपयोग करता है जो फ़ॉर्म डेटा को प्रबंधित करने के लिए सिंक्रोनाइज़्ड स्थिति के बजाय संदर्भों (references) का उपयोग करके री-रेंडर को कम करता है। इस लाइब्रेरी में एक नेस्टेड डेटा मैपर है जो स्कोपिंग और डॉट नोटेशन का उपयोग करके फ़ील्ड्स को पदानुक्रमित ऑब्जेक्ट्स और सरणियों में व्यवस्थित करता है। इसमें तृतीय-पक्ष UI घटकों और गैर-मानक इनपुट को केंद्रीकृत फ़ॉर्म स्थिति से जोड़ने के लिए एक कस्टम इनपुट एडाप्टर, और विशिष्ट फ़ील्ड्स पर त्रुटि संदेशों को मैप करने के लिए परिभाषित स्कीमा के विरुद्ध सबमिट किए गए डेटा की जांच करने वाला एक सत्यापन इंजन शामिल है। व्यापक क्षमताओं में डेटा इनिशियलाइज़ेशन और रीसेटिंग, फ़ाइल अपलोड हैंडलिंग और उपयोगकर्ता इनपुट मास्किंग के लिए केंद्रीकृत राज्य प्रबंधन शामिल है। यह सिस्टम फ़ॉर्म सबमिशन पर प्रोग्रामेटिक नियंत्रण और व्यक्तिगत इनपुट तत्वों तक सीधे संदर्भ पहुंच प्रदान करता है।
Implements dot-separated key paths to retrieve and organize values within nested objects and arrays.
Dynaconf is a configuration management library for Python applications that provides a unified system for loading, validating, and managing settings. It aggregates configuration data from multiple files, environment variables, and external stores into a single object using a defined precedence order. The project distinguishes itself through a layered environment manager that separates settings into distinct profiles, such as development and production. It includes a declarative validation framework to enforce data rules and type constraints during the loading process, as well as an external s
Enables access to nested configuration keys using dot-separated paths for simplified retrieval of complex data.
ts-essentials, TypeScript के लिए यूटिलिटी टाइप्स और लाइब्रेरीज़ का एक व्यापक टूलकिट है, जो रिकर्सिव स्ट्रक्चरल ट्रांसफॉर्मेशन, रनटाइम एसेर्शन और टाइप गार्ड्स के लिए एडवांस्ड प्रिमिटिव्स प्रदान करता है। यह मजबूत टाइप सेफ्टी सुनिश्चित करने और बॉयलरप्लेट को कम करने के लिए जटिल टाइप-लेवल प्रोग्रामिंग करने के लिए एक यूटिलिटी लाइब्रेरी के रूप में कार्य करता है। यह प्रोजेक्ट डीप ऑब्जेक्ट मैनिपुलेशन के लिए टूल्स के एक विशेष सेट के माध्यम से खुद को अलग करता है, जैसे नेस्टेड पदानुक्रमों (hierarchies) में रिकर्सिव रूप से रीड-ओनली या वैकल्पिक मॉडिफायर्स लागू करना। यह डेटा स्ट्रक्चर्स को विशेष रूप से JSON स्पेसिफिकेशन्स के अनुरूप सुनिश्चित करने के लिए सख्त टाइप कंस्ट्रेंट्स का एक समर्पित सेट भी प्रदान करता है। यह टूलकिट मेटाडेटा एक्सट्रैक्शन के लिए टाइप एनालिसिस, यूनियन और टपल मैनिपुलेशन, और स्ट्रक्चरल आइडेंटिटी वैलिडेशन सहित क्षमताओं की एक विस्तृत श्रृंखला को कवर करती है। इसमें कंडीशनल लॉजिक में केस एग्जॉस्टिवनेस को लागू करने और निष्पादन के दौरान टाइप कंस्ट्रेंट्स को सत्यापित करने के लिए रनटाइम वेरिफिकेशन यूटिलिटीज भी शामिल हैं।
TypeScript-ts-tool ensures an array contains at least one element of a specific type to prevent processing empty lists.