ExJsonSchema.Schema.Root (ex_json_schema v0.10.2) View Source

Link to this section Summary

Link to this section Types

Specs

t() :: %ExJsonSchema.Schema.Root{
  custom_format_validator:
    {module(), atom()}
    | (String.t(), any() -> boolean() | {:error, any()})
    | nil,
  definitions: %{required(String.t()) => ExJsonSchema.Schema.resolved()},
  location: :root | String.t(),
  refs: %{required(String.t()) => ExJsonSchema.Schema.resolved()},
  schema: ExJsonSchema.Schema.resolved(),
  version: non_neg_integer() | nil
}