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 وإطار عمل لإدخال النماذج في تطبيقات الهاتف المحمول، تُستخدم لإنشاء حقول نصية تطبق معايير 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 ومكتبة فئات الأنواع (Type Class) مصممة لتنفيذ الأنماط الجبرية والتجريدات الوظيفية. توفر مجموعة موحدة من الواجهات ومجموعة أدوات معيارية من الأغلفة والحاويات الوظيفية لتمكين تعدد الأشكال المخصص والبرمجة العامة عبر أنواع متباينة. يعمل المشروع كمعيار للتجريد الوظيفي، ويقدم مجموعة محولات الموناد (Monad Transformer) لتركيب سياقات التأثير المتداخلة والتعامل مع تأثيرات جانبية حسابية متعددة داخل خط أنابيب واحد. كما يتيح بناء لغات خاصة بالمجال (DSL) مضمنة من خلال تمثيل منطق البرنامج كهياكل بيانات يتم تفسيرها بشكل منفصل عن تعريفاتها. تغطي المكتبة مجالات قدرة واسعة بما في ذلك معالجة البيانات الجبرية لدمج وتقليل القيم، وإدارة الحالة الآمنة للأنواع، ومعالجة الأخطاء الوظيفية لإضفاء الطابع الرسمي على تراكم الأخطاء والتعافي منها. كما توفر أدوات لإدارة الحسابات ذات التأثير وتوسيع أنواع المجموعات القياسية بقدرات وظيفية. تتضمن المكتبة آليات للتحقق من القوانين الجبرية لضمان التزام مثيلات فئات الأنواع بالخصائص الرياضية.
Provides specialized data types that statically guarantee a collection contains at least one element.
Bard-API هو غلاف (wrapper) وعميل Python غير متزامن للتفاعل مع Google Gemini. يعمل كمدير محادثة ذو حالة وواجهة متعددة الوسائط، مما يسمح للمستخدمين بإرسال مطالبات نصية وصور إلى نموذج لغوي واسترداد الردود. تستخدم المكتبة نظام مصادقة يعتمد على ملفات تعريف الارتباط (cookies) يستخرج رموز الجلسة من تخزين المتصفح المحلي لتفويض الطلبات. ولإدارة الوصول والاتصال، تتضمن توجيه طلبات يعتمد على الوكيل (proxy) لتجاوز القيود الإقليمية وتجنب حظر IP. يغطي المشروع إمكانيات تحليل الذكاء الاصطناعي متعدد الوسائط والحفاظ على سجل الجلسة لتمكين حوارات مستمرة ومتعددة الجولات. كما يوفر أدوات لاستخراج روابط الصور من الردود، وتحويل النص إلى كلام، وتنفيذ مقتطفات الكود التي تم إنشاؤها تلقائياً داخل بيئة محلية.
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 مصمم للتعامل مع حالة، والتحقق من صحة، وإرسال نماذج إدخال المستخدم المعقدة. يستخدم واجهة برمجة تطبيقات نموذج غير خاضعة للتحكم تقلل من إعادة العرض باستخدام المراجع بدلاً من الحالة المتزامنة لإدارة بيانات النموذج. تتميز المكتبة بـ mapper بيانات متداخل ينظم الحقول في كائنات ومصفوفات هرمية باستخدام النطاق وتدوين النقطة. كما تتضمن محول إدخال مخصصاً لربط مكونات واجهة المستخدم التابعة لجهات خارجية والمدخلات غير القياسية بحالة النموذج المركزية، ومحرك تحقق يتحقق من البيانات المرسلة مقابل مخططات محددة لتعيين رسائل الخطأ إلى حقول معينة. تشمل القدرات الواسعة إدارة الحالة المركزية لتهيئة البيانات وإعادة تعيينها، ومعالجة تحميل الملفات، وإخفاء إدخال المستخدم. يوفر النظام تحكماً برمجياً في إرسال النموذج والوصول المباشر للمرجع إلى عناصر الإدخال الفردية.
Implements dot-separated key paths to retrieve and organize values within nested objects and arrays.
Dynaconf هي مكتبة إدارة تكوين لتطبيقات Python توفر نظاماً موحداً لتحميل، والتحقق من، وإدارة الإعدادات. تقوم بتجميع بيانات التكوين من ملفات متعددة، ومتغيرات البيئة، والمتاجر الخارجية في كائن واحد باستخدام ترتيب أسبقية محدد. يتميز المشروع بمدير بيئة متعدد الطبقات يفصل الإعدادات إلى ملفات تعريف متميزة، مثل التطوير والإنتاج. يتضمن إطار عمل للتحقق التصريحي لفرض قواعد البيانات وقيود النوع أثناء عملية التحميل، بالإضافة إلى مكامل متجر أسرار خارجي لاسترجاع البيانات الحساسة من HashiCorp Vault و Redis. تدعم المكتبة تحميل الملفات بتنسيقات متعددة لملفات TOML، وYAML، وJSON، وINI، وPython. توفر قدرات لصب متغيرات البيئة، والبحث بنظام النقطة، والتكامل مع أطر عمل الويب مثل Django و Flask لاستبدال كائنات التكوين القياسية. تتوفر أدوات سطر الأوامر لتمهيد التكوين، والتحقق من الإعدادات، وإجراء تجاوزات وقت التشغيل.
Enables access to nested configuration keys using dot-separated paths for simplified retrieval of complex data.
ts-essentials is a comprehensive toolkit of utility types and libraries for TypeScript, providing advanced primitives for recursive structural transformations, runtime assertions, and type guards. It serves as a utility library for performing complex type-level programming to ensure stronger type safety and reduce boilerplate. The project distinguishes itself through a specialized set of tools for deep object manipulation, such as recursively applying read-only or optional modifiers across nested hierarchies. It also provides a dedicated set of strict type constraints to ensure data structure
TypeScript-ts-tool ensures an array contains at least one element of a specific type to prevent processing empty lists.