Backplane.JsonSchema.Draft7.Schemas (backplane_json_schema v1.10.58)

Copy Markdown

Provides the canonical Draft 7 meta-schema and its compiled reference registry.

The canonical meta-schema is embedded as an Elixir map, so resolving built-in references does not read files or decode JSON at runtime.

Summary

Functions

Returns compiled resources for a Draft 7 meta-schema reference.

Returns the bundled Draft 7 meta-schema for its canonical URI.

Functions

compiled_defs(uri, opts \\ [])

Returns compiled resources for a Draft 7 meta-schema reference.

The :format_assertion and :content_assertion options default to false. Both canonical URI forms share the same cache for each boolean option pair.

fetch(uri)

@spec fetch(String.t()) :: {:ok, map()} | :error

Returns the bundled Draft 7 meta-schema for its canonical URI.