validex v0.4.0 API Reference

Modules

Validex is a library for doing data validation in Elixir. Using a schema you specify what rules each attribute in your schema should be validated against. Each rule is implemented as a combination of Validex.Validator validators

Schema-expansion is the first step of validating a schema against data. RuleExpanders describe which expansions will happen

The Exact validator is used for validating exact values using simple equality comparison. It works on strings and numbers

The Presence validator is used for validating the presence of values, the empty string in addition to any value not included in a map is considered absence

The Type validator is used for validating types of values