Backplane.JsonSchema.Types.ValidationContext (backplane_json_schema v1.10.58)

Copy Markdown

Lightweight runtime context threaded through validation.

Holds a reference to the immutable root Schema and carries per-scope state (scope stack, current source ID, raw schema, and resource-local pointer cache) that changes as validation descends through $id boundaries.

Summary

Types

t()

@type t() :: %Backplane.JsonSchema.Types.ValidationContext{
  local_refs: map(),
  raw: map() | nil,
  root_schema: Backplane.JsonSchema.Types.Schema.t(),
  scope_stack: [String.t()],
  source_id: String.t() | nil
}