6 个仓库
The ability to validate a specific sub-path of a nested schema without evaluating the entire object tree.
Distinct from Nested Schema Mapping: Focuses on targeted validation of internal paths, whereas Nested Schema Mapping focuses on overall parsing.
Explore 6 awesome GitHub repositories matching data & databases · Partial Nested 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
Retrieves and validates a specific inner schema at a deeply nested path without validating the entire tree.
This is a Go struct validation library used to maintain data integrity by enforcing constraints on fields, slices, and maps. It functions as a schema validation tool and data integrity validator, ensuring that complex nested structures adhere to predefined rules. The library utilizes struct tags to configure validation logic at runtime and supports a custom function registry for extending validation rules. It is distinguished by its ability to perform cross-field dependency evaluation, allowing the comparison of values between different fields within the same data structure to ensure logical
Performs full-tree recursive validation of nested structs, slices, and maps to ensure structural integrity.
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
Provides a recursive validation system for checking complex data hierarchies and individual elements within collections.
Vee-validate is a form validation library and state management tool for Vue applications. It enables the validation of user inputs through declarative rules and tracks form metadata, including submission status and dirty states. The library functions as a wrapper for integrating external schema validation libraries to enforce consistent data shapes. It also serves as an internationalized framework for displaying translated error messages and localized feedback. The project covers broad capability areas including form state management, the handling of complex nested data structures, and the s
Provides recursive validation of nested objects and arrays to ensure structural integrity of complex data hierarchies.
这是一个 Protocol Buffer 验证插件和代码生成器,可在多种编程语言中创建一致的验证逻辑。它作为 Protocol Buffer 工具链的编译器扩展,允许开发人员直接在模式文件中定义语义约束,以确保数据一致性。 该工具使用自定义选项将验证规则嵌入到消息定义中,并将这些模式约束映射到特定语言的实现模式。它采用基于谓词的约束检查和递归遍历,以在嵌套消息层级中强制执行规则。 验证范围涵盖数值范围和值、字符串模式和格式、字节序列约束以及枚举强制执行。它还管理集合和重复字段大小、时间戳和持续时间的复杂类型验证,以及联合字段选择的要求。
Performs recursive validation on message fields to ensure required content is present or skipped throughout the hierarchy.
该库是一个用于 Rust 的声明式验证框架,用于在结构化数据模型上强制执行数据完整性和业务规则。它利用过程宏将基于属性的注解转换为可执行的验证逻辑,确保数据结构在处理前符合定义的约束。 该框架通过在编译时执行验证而脱颖而出,这消除了运行时开销并为所有规则提供了严格的类型检查。它支持嵌套数据结构和集合的递归遍历,确保层次结构的每一层都经过验证。除了单个字段约束外,系统还提供用于跨字段一致性检查的钩子,并允许集成自定义领域特定函数以处理复杂的业务需求。 该库为在不同数据结构中实现自定义验证例程提供了一个统一的接口。它以 crate 的形式分发,文档涵盖了声明式属性的应用,以强制执行格式、范围和结构完整性。
Performs recursive validation on collections and sub-structures to ensure every level of the data hierarchy is verified.