ex_json_schema v0.7.4 ExJsonSchema.Schema
Link to this section Summary
Link to this section Types
Link to this type
invalid_reference_error()
invalid_reference_error() :: {:error, :invalid_reference}
Link to this type
resolved()
resolved() :: ExJsonSchema.data() | %{ required(String.t()) => (ExJsonSchema.Schema.Root.t() -> {ExJsonSchema.Schema.Root.t(), resolved()}) | ref_path() }
Link to this section Functions
Link to this function
get_fragment(root, path)
get_fragment( ExJsonSchema.Schema.Root.t(), ref_path() | ExJsonSchema.json_path() ) :: {:ok, resolved()} | invalid_reference_error() | no_return()
Link to this function
get_fragment!(schema, ref)
get_fragment!( ExJsonSchema.Schema.Root.t(), ref_path() | ExJsonSchema.json_path() ) :: resolved() | no_return()
Link to this function
raise_invalid_reference_error(ref)
Link to this function
resolve(schema, options \\ [])
resolve(ExJsonSchema.Schema.Root.t() | ExJsonSchema.object(), [ {:custom_format_validator, {module(), atom()}} ]) :: ExJsonSchema.Schema.Root.t() | no_return()