JSONSchex.Types.Schema (jsonschex v0.2.1)

Copy Markdown View Source

A compiled JSON Schema, containing executable validation rules and a definition registry for reference resolution.

Summary

Types

t()

@type t() :: %JSONSchex.Types.Schema{
  content_assertion: boolean(),
  defs: map() | nil,
  external_loader: (String.t() -> {:ok, map()} | {:error, term()}) | nil,
  format_assertion: boolean(),
  raw: map() | nil,
  rules: [JSONSchex.Types.Rule.t()],
  source_id: String.t() | nil
}