3 个仓库
Runtime validation of non-primitive collection types such as Maps, Sets, and TypedArrays.
Distinct from Complex Data Structure Stores: Existing candidates focus on storage or UI layout rather than the runtime validation of complex JS collection types.
Explore 3 awesome GitHub repositories matching programming languages & runtimes · Complex Structure Validation. Refine with filters or upvote what's useful.
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
Checks that a value conforms to complex structures including objects, arrays, Maps, Sets, or TypedArrays.
Pytype 是一个 Python 静态代码分析工具和类型推断引擎。它作为一个静态类型分析器,在无需完全手动标注的情况下检测类型不匹配并验证类型注解,同时还作为类型存根(stub)生成器,用于生产独立的定义文件。 该项目的特色在于通过分析代码模式和赋值自动确定变量和函数类型。此推断引擎允许进行结构化代码验证,并生成描述模块和函数接口的类型存根。 该系统涵盖了广泛的静态分析操作,包括类层级和函数调用的结构验证,以及追踪符号以检测命名空间错误和属性访问违规。它还提供类型检查原语以强制执行注解,以及一个能够使用联合(unions)和可选(optionals)类型建模复杂数据结构的类型系统。
Provides structural validation for specialized Python constructs such as data classes and enumerated types.
Dry-validation is a Ruby library designed for defining type-safe schemas and complex validation rules to verify and sanitize input data structures. It provides a formal framework for constructing modular validation logic, ensuring that incoming information meets specific business requirements and data formats before it is processed by an application. The library utilizes a domain-specific language to declare validation rules, which are then parsed into executable objects. It distinguishes itself through a macro-driven system that bundles common validation logic into reusable shortcuts, alongs
Supports defining detailed rules for nested or complicated data objects to ensure structural correctness.