Definition validating couples
Hibernate Validator is the reference implementation of this JSR 349.The implementation itself as well as the Bean Validation API and TCK are all provided and distributed under the Apache Software License 2.0.
Collins English Dictionary - Complete & Unabridged 2012 Digital Edition © William Collins Sons & Co.
Most Ruby developers are used to handling data validation using was born as an attempt to provide a general-purpose validation library that’s simple to use and extendible.
In dry-validation the DSL is a thin layer on top of rule composition using predicate logic. Consider this simple example, let’s say you want to create a user row in a database with 2 fields, a name and age.
I believe it is the reason why this DSL is ambigious and confusing.
Notice that the same thing can be expressed using different macros where rules for the same value are scattered across multiple lines combined with rules for other values ie .