elixact
v0.1.1
Pages
Modules
Search documentation of elixact
Settings
View Source
Elixact.Schema
(elixact v0.1.1)
Schema DSL for defining data schemas with validation rules and metadata.
Summary
Functions
choices(values)
config(list)
config_description(text)
default(value)
description(text)
example(value)
examples(values)
field(name, type, opts \\ [])
format(value)
gt(value)
gteq(value)
lt(value)
lteq(value)
max_items(value)
max_length(value)
min_items(value)
min_length(value)
optional()
required()
schema(description \\ nil, list)
strict(bool)
title(text)
Functions
Link to this macro
choices(values)
View Source
(macro)
Link to this macro
config(list)
View Source
(macro)
Link to this macro
config_description(text)
View Source
(macro)
Link to this macro
default(value)
View Source
(macro)
Link to this macro
description(text)
View Source
(macro)
Link to this macro
example(value)
View Source
(macro)
Link to this macro
examples(values)
View Source
(macro)
Link to this macro
field(name, type, opts \\ [])
View Source
(macro)
Link to this macro
format(value)
View Source
(macro)
Link to this macro
gt(value)
View Source
(macro)
Link to this macro
gteq(value)
View Source
(macro)
Link to this macro
lt(value)
View Source
(macro)
Link to this macro
lteq(value)
View Source
(macro)
Link to this macro
max_items(value)
View Source
(macro)
Link to this macro
max_length(value)
View Source
(macro)
Link to this macro
min_items(value)
View Source
(macro)
Link to this macro
min_length(value)
View Source
(macro)
Link to this macro
optional()
View Source
(macro)
Link to this macro
required()
View Source
(macro)
Link to this macro
schema(description \\ nil, list)
View Source
(macro)
Link to this macro
strict(bool)
View Source
(macro)
Link to this macro
title(text)
View Source
(macro)