ozzo-validation is a programmable data validation library for Go that verifies structs, maps, and primitive types using a declarative, rule-based approach. It functions as an interface-based validator, allowing for the recursive checking of nested data structures and custom types without the use of struct tags.
Las características principales de go-ozzo/ozzo-validation son: Go Data Validation, Field Validation, Structural Data Validators, Context Propagation, Go Validation Libraries, Context-Aware Validation Engines, Context-Aware Validation, Dynamic Validation Rules.
Las alternativas de código abierto para go-ozzo/ozzo-validation incluyen: open-circle/valibot — Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments. asaskevich/govalidator — [Go] Package of validators and sanitizers for strings, numerics, slices and structs. typestack/class-validator — class-validator is a TypeScript class validation library that uses decorators to define constraints and rules for… jquense/yup — Yup is a JavaScript schema validation library used to define data shapes and validate runtime values. It functions as… arktypeio/arktype — Arktype is a TypeScript runtime validation library and schema orchestrator. It synchronizes TypeScript types with… samchon/typia — Typia is a compile-time code generator that transforms TypeScript type annotations into runtime validation,…
Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.
Go Package of validators and sanitizers for strings, numerics, slices and structs
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
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