Wir kuratieren Open-Source GitHub Repositories passend zu „model attribute validations“. Die Ergebnisse sind nach Relevanz für deine Suche sortiert — nutze die Filter unten oder verfeinere die Suche mit KI.
FluentValidation is a .NET validation library used to define strongly-typed validation rules for objects. It utilizes a fluent interface API and lambda expressions to ensure data integrity for classes and properties within the .NET type system. The library separates validation logic from business entities to keep domain models focused on core functionality. This approach enables the enforcement of business logic and the sanitization of input data or API payloads through a sequence of logic checks. The system supports complex validation surface areas, including the ability to nest validators
FluentValidation is a .NET validation library that lets you define strongly-typed rules for model properties using a fluent interface, but it does not attach rules directly as attributes on the model — it uses separate validator classes, which still fits the need for declarative validation on models with built-in and custom validators.
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. The framework distinguishes itself as a context-aware validation engine, supporting the propagation of request-scoped data to rules that depend on external state. It provides extensive extensibility through custom rule definitions and the ability to override default failure text with l
Ozzo-validation is a declarative, interface-based validation library for Go structs that supports common validators, custom rules, and error message customization, making it a strong fit for validating model attributes, though it lacks built-in ORM/database integration.
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
class-validator lets you declare validation rules directly on class properties using decorators, with a comprehensive set of built-in validators, custom rules, and conditional/contextual validation, though it is a standalone library not directly integrated with a specific ORM or database layer.
Sequel is a relational database toolkit for Ruby that provides object-relational mapping, a fluent SQL query builder, and schema migration capabilities. It maps database tables to Ruby classes with support for associations, validations, lifecycle hooks, and eager loading, offering a comprehensive ORM layer for building data-centric applications. Sequel distinguishes itself through a plugin-based extension architecture that allows composable customization of models, databases, and datasets without relying on deep inheritance hierarchies. It includes a thread-safe connection pool with support f
Sequel is a full-featured Ruby ORM that includes declarative validation rules directly on model attributes, with built-in validators, custom methods, and error handling, making it an ideal fit for integrating attribute validation into a data-mapping layer.
This project is a data validation framework for the Go programming language that enforces integrity by applying declarative constraints to struct fields. It utilizes reflection to inspect data structures at runtime, mapping field-level requirements defined in struct tags to specific validation logic. The library distinguishes itself through its ability to handle complex object graphs by recursively traversing nested structures and slices. It supports context-aware validation, allowing developers to switch between different rule sets for the same data structure based on application state or sp
Package validator is a Go library for declaring validation rules on struct fields using tags, offering a wide range of built-in validators and custom validation support, which directly fits the need for model attribute validation in an ORM context.
This library is a PHP framework for enforcing data integrity and business rules by validating scalar values and complex object structures against predefined constraints. It provides a structured approach to inspecting object graphs and property metadata, ensuring that data conforms to expected requirements before it is processed by an application. The framework distinguishes itself through a metadata-driven mapping system that uses reflection or configuration files to apply rules directly to object properties. It supports contextual rule orchestration, allowing developers to organize constrai
Symfony Validator allows you to declare validation rules directly on PHP model attributes (via annotations or attributes), offers a comprehensive set of built-in validators, supports custom constraints and error message customization, and integrates tightly with Doctrine ORM — exactly the kind of ORM-integrated validation library this search targets.
Hibernate Validator is a reference implementation of the Jakarta Validation specification, serving as a framework for enforcing data integrity across Java applications. It functions as a declarative validation engine that processes object constraints to ensure that application state remains consistent. By utilizing metadata-driven rules, the library validates object properties, method parameters, and nested collections to maintain data standards throughout an application's layers. The library distinguishes itself through its ability to perform static analysis on validation configurations, ide
Hibernate Validator is the reference implementation of Jakarta Bean Validation, letting you declare validation constraints directly on model attributes with annotations, includes a rich set of built-in validators, supports custom constraints and message customization, and integrates seamlessly with Hibernate ORM — exactly the kind of library this search targets.
Pydantic is a data validation and serialization library that enforces schema constraints and performs type conversion on complex data structures. It utilizes standard Python type annotations to define data models, allowing developers to establish structured schemas that automatically enforce business rules and constraints without the need for custom domain-specific languages. The library distinguishes itself by transforming high-level model definitions into optimized code during initialization to minimize runtime overhead. It supports recursive validation for nested data structures and employ
Pydantic lets you define validation rules directly on model attributes using type annotations and custom validators, which fits the core requirement, but it is a general-purpose validation library rather than being specifically integrated with an ORM or data-mapping layer.
This library is a declarative validation framework for Rust that enforces data integrity and business rules on structured data models. It utilizes procedural macros to transform attribute-based annotations into executable validation logic, ensuring that data structures adhere to defined constraints before processing. The framework distinguishes itself by performing validation at compile time, which eliminates runtime overhead and provides strict type checking for all rules. It supports recursive traversal of nested data structures and collections, ensuring that every level of a hierarchy is v
keats/validator is a Rust library that lets you define validation rules declaratively on struct fields using derive macros, but it is designed for general struct validation rather than being tied to a specific ORM or database layer.
Backbone.validation is a JavaScript library designed to enforce data integrity within Backbone.js models. It provides a framework for defining declarative validation schemas that intercept attribute changes, ensuring that data meets specified business requirements before it is committed to the model. The library distinguishes itself by tightly coupling model-level validation with user interface components. It features an event-driven binding system that monitors model states and automatically triggers interface updates, providing real-time feedback as users interact with forms. This approach
This Backbone.js plugin adds declarative validation directly on model attributes, with built-in validators and custom methods, exactly fitting the search for a validation library within a data-mapping layer like Backbone's ORM.
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
dry-validation is a Ruby library for declaring type-safe validation schemas with built-in predicates for common rules, custom validators, and error messages — it fits the search for a model attribute validation library, though it requires separate integration with an ORM.
Fluent-validator is a Java validation framework designed to enforce data integrity through declarative constraints and automated service-layer checks. It provides a structured environment for defining validation logic that integrates with the JSR 303 specification, allowing developers to maintain consistent data quality across complex object hierarchies and application boundaries. The framework distinguishes itself through a fluent interface that enables the orchestration of validation chains, allowing for readable and maintainable rule sequences. It supports advanced execution control, inclu
This Java validation framework uses a fluent interface and follows the JSR 303 (Bean Validation) standard, letting you declare validation rules directly on model attributes—exactly the kind of library this search describes.
Active Storage Validations is a library for Ruby on Rails that provides model-level validation helpers for file attachments. It integrates directly into the standard validation lifecycle to ensure that uploaded content conforms to defined business requirements before it is persisted to storage. The framework enforces constraints on file size, content type, dimensions, and the number of attachments. It includes security mechanisms to detect and block content-type spoofing by inspecting the binary signature of files to verify that their actual format matches the declared extension. Beyond basi
Active Storage Validations is a Rails gem that lets you declare validation rules directly on file-attachment model attributes with built-in validators for content type, size, dimensions, and more, making it a genuine model attribute validation library for ORM—but its scope is limited to file attachments rather than all attribute types, which means it covers only part of the desired feature set.