Xema.Schema.fetch

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

Specs

fetch(t(), Xema.Ref.t() | String.t()) :: {:ok, t()} | :error

Fetches a subschema from the schema by the given pointer.

If schema contains the given pointer with a subschema, then {:ok, schema} is returned otherwise :error.