ExJsonSchema.Schema (ex_json_schema v0.10.2) View Source
Link to this section Summary
Link to this section Types
Specs
invalid_reference_error() :: {:error, :invalid_reference}
Specs
ref_path() :: [:root | String.t()]
Specs
resolved() :: ExJsonSchema.data() | %{ required(String.t()) => (ExJsonSchema.Schema.Root.t() -> {ExJsonSchema.Schema.Root.t(), resolved()}) | ref_path() } | true | false
Link to this section Functions
Specs
Specs
get_fragment( ExJsonSchema.Schema.Root.t(), ref_path() | ExJsonSchema.json_path() ) :: {:ok, resolved()} | invalid_reference_error() | no_return()
Specs
get_fragment!( ExJsonSchema.Schema.Root.t(), ref_path() | ExJsonSchema.json_path() ) :: resolved() | no_return()
Specs
get_ref_schema(ExJsonSchema.Schema.Root.t(), [:root | String.t()]) :: ExJsonSchema.data() | no_return()
Specs
Specs
resolve( boolean() | ExJsonSchema.Schema.Root.t() | ExJsonSchema.object(), [{:custom_format_validator, {module(), atom()}}] ) :: ExJsonSchema.Schema.Root.t() | no_return()