Magik.Schema.expand

You're seeing just the function expand, go back to Magik.Schema module for more information.

Specs

expand(map()) :: map()

Expand short-hand type syntax to full syntax

field: :string -> field: [type: :string]
field: {:array, :string} -> field: [type: {:array, :string}]
field: %{#embedded} -> field: [type: %{#embedded}]