exchema v0.2.0 API Reference

Modules

Documentation for Exchema

Automagically coercion for Exchema Types

Default coercions library

This module contains helpers to deal with Exchema errors

Exschema default predicates library

DSL to define a type struct. The idea is to be a replacement for defstruct

This is the contract of a type module

Represents an atom

Represents a boolean

Represents Date struct

Represents DateTime struct

Represents a float

Represents an integer

Represent a List and its element types

Represents a Map with given key and value types

Represents NaiveDateTime struct

Represents a number, either a float or an integer

Represents a value which can be nil

Represents any string/binary

Represents a specific struct with some field constraints

Represents Time struct

Represents a tuple of any size