Xema.Behaviour.init
You're seeing just the callback
init
, go back to Xema.Behaviour module for more information.
Specs
init(any(), keyword()) :: Xema.Schema.t()
This callback initialize the schema. The function gets the data given to
Xema.new/1
and returns a Xema.Schema
.