SchemaResource

A schema resource: a document root or an embedded subschema carrying $id.

Members

Variables

anchors
CompiledSchema[string] anchors;

$anchor (and $dynamicAnchor) plain-name fragments.

byPointer
CompiledSchema[string] byPointer;

Every schema location in this resource keyed by canonical JSON Pointer (including locations inside embedded child resources).

dialectUri
string dialectUri;

Dialect in effect for this resource.

dynamicAnchors
CompiledSchema[string] dynamicAnchors;

$dynamicAnchor names only, for $dynamicRef scope search.

rawRoot
JsonNode rawRoot;

The raw document node this resource was compiled from; kept so $ref pointer fragments can target locations outside known keyword positions.

root
CompiledSchema root;

Root schema of the resource.

uri
string uri;

Canonical absolute URI (no fragment); "" for an anonymous root.