Current section
Files
Jump to
Current section
Files
lib/example/employee.ex
defmodule MapSchema.Examples.Employee do
@moduledoc """
Employee example
"""
use MapSchema,
atomize: true,
schema: %{
:name => :string,
:surname => :string,
:contact => %{
:email => :string,
}
},
custom_types: []
end