schema-components - v3.7.0
    Preparing search index...

    Interface NormalisedSchema

    Result of normaliseSchema. Carries the canonical Draft 2020-12 JSON Schema the walker consumes, the optional original Zod schema (used for validation), and the resolved root document so cross-document $refs can be dereferenced downstream.

    interface NormalisedSchema {
        jsonSchema: JsonObject;
        zodSchema?: unknown;
        rootMeta: SchemaMeta | undefined;
        rootDocument: JsonObject;
    }
    Index

    Properties

    jsonSchema: JsonObject

    JSON Schema object — the authoritative schema for rendering.

    zodSchema?: unknown

    Original Zod schema, if input was Zod. Used for validation.

    rootMeta: SchemaMeta | undefined

    Root-level metadata.

    rootDocument: JsonObject

    The root document for $ref resolution.