xema v0.1.1 Xema.Any View Source
This module contains the struct for the keywords of type any
.
Usually this struct will be just used by xema
.
Examples
iex> import Xema
Xema
iex> schema = xema :any
%Xema{type: %Xema.Any{}}
iex> schema.type == %Xema.Any{}
true
Link to this section Summary
Link to this section Types
The struct contains the keywords for the type any
.
as
is used in an error report. Default ofas
is:any
enum
specifies an enumeration