ExJsonSchema.Schema (ex_json_schema v0.11.0)
View SourceSummary
Types
@type invalid_reference_error() :: {:error, :invalid_reference}
@type resolved() :: ExJsonSchema.data()
Functions
@spec get_fragment( ExJsonSchema.Schema.Root.t(), ExJsonSchema.Schema.Ref.t() | ExJsonSchema.json_path() ) :: {:ok, resolved()} | invalid_reference_error() | no_return()
@spec get_fragment!( ExJsonSchema.Schema.Root.t(), ExJsonSchema.Schema.Ref.t() | ExJsonSchema.json_path() ) :: resolved() | no_return()
@spec get_ref_schema(ExJsonSchema.Schema.Root.t(), ExJsonSchema.Schema.Ref.t()) :: ExJsonSchema.data() | no_return()
@spec resolve(boolean() | ExJsonSchema.Schema.Root.t() | ExJsonSchema.object(), [ {:custom_format_validator, {module(), atom()}} ]) :: ExJsonSchema.Schema.Root.t() | no_return()