OptionalcomponentOptionalrootOptionalfieldNested field overrides — same shape as the schema.
Typed against FieldOverrides<T> when a schema value type is
supplied; falls back to Record<string, unknown> for the
default T = unknown so the loose runtime shape continues to
compile.
OptionalrootThe root document for $ref resolution.
OptionaldiagnosticsDiagnostics channel for surfacing silent fallbacks.
OptionalexternalSync resolver for external $ref URIs.
Options accepted by
walk. Use to inject meta overrides, field-level overrides, the root document for cross-document$refresolution, a diagnostics sink, and an external$refresolver.WalkOptionsis generic in the schema's value type so callers that walk a typed schema can carryFieldOverrides<T>through. The defaultT = unknownpreserves the loose runtime record shape for existing non-generic callers —Record<string, unknown>.