Resolver callback for loading schema documents this library has no local copy of. Never invoked unless the caller supplies one — reference resolution is local-only by default and the library itself performs no I/O.
One compiled subschema. All keyword storage is pre-parsed; absent keywords are null references, absent sentinels, or cleared has* flags.
Malformed schema document, invalid keyword value, or unresolvable $ref.
Base class for all schema compilation problems.
A $ref / $dynamicRef edge in the IR.
A schema resource: a document root or an embedded subschema carrying $id.
The schema declares (via $schema) a dialect this library does not implement. Callers required to reject unknown dialects (e.g. MCP servers) can catch this specifically.
Validation could not run to completion (currently: the evaluation depth limit was hit, which indicates an unboundedly recursive schema).
How the format keyword behaves.
Spec output formats supported by validate.
Bit flags for the type keyword.
URI of the JSON Schema 2020-12 dialect (the default and currently the only fully supported dialect).
patternProperties entry: source text, compiled regex, value schema.
One output unit of the basic output format.
Result of validating one instance.
Compilation / validation settings. Pass to compileSchema.
The set of 2020-12 vocabularies in effect for a schema resource. Keywords whose vocabulary is disabled by a custom meta-schema's $vocabulary are not compiled (they behave as unknown keywords).
Sentinel meaning "keyword absent" for the non-negative integer keywords.
The compiled internal representation of a JSON Schema document.
Schema documents are compiled once into this IR — keyword tables, compiled regexes, resolved $ref targets, and anchor maps all live here, never in the source JSON type. Instances of any JSON type are then validated against the IR via the adapter trait (see jsonschema.adapter).