Packages
A JSON Schema validator with full support for the draft 4 specification and zero dependencies.
Current section
Files
Jump to
Current section
Files
lib/ex_json_schema/schema/root.ex
defmodule ExJsonSchema.Schema.Root do
defstruct schema: %{}, refs: %{}, location: :root, custom_format_validator: nil
@type t :: %ExJsonSchema.Schema.Root{
schema: ExJsonSchema.Schema.resolved(),
refs: %{String.t() => ExJsonSchema.Schema.resolved()},
location: :root | String.t(),
custom_format_validator: {module(), atom()} | nil
}
end