Membrane SDK - v0.29.2
    Preparing search index...

    Interface ToJSONSchemaContext

    interface ToJSONSchemaContext {
        processors: Record<string, Processor>;
        metadataRegistry: $ZodRegistry<Record<string, any>>;
        target:
            | "draft-04"
            | "draft-07"
            | "draft-2020-12"
            | "openapi-3.0"
            | {} & string;
        unrepresentable: "any"
        | "throw";
        override: (
            ctx: {
                zodSchema: $ZodType;
                jsonSchema: JSONSchema;
                path: (string | number)[];
            },
        ) => void;
        io: "input"
        | "output";
        counter: number;
        seen: Map<
            $ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>,
            Seen,
        >;
        cycles: "ref" | "throw";
        reused: "inline" | "ref";
        external?: {
            registry: $ZodRegistry<{ id?: string }>;
            uri?: (id: string) => string;
            defs: Record<string, BaseSchema>;
        };
    }
    Index

    Properties

    processors: Record<string, Processor>
    metadataRegistry: $ZodRegistry<Record<string, any>>
    target: "draft-04" | "draft-07" | "draft-2020-12" | "openapi-3.0" | {} & string
    unrepresentable: "any" | "throw"
    override: (
        ctx: {
            zodSchema: $ZodType;
            jsonSchema: JSONSchema;
            path: (string | number)[];
        },
    ) => void
    io: "input" | "output"
    counter: number
    seen: Map<$ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>, Seen>
    cycles: "ref" | "throw"
    reused: "inline" | "ref"
    external?: {
        registry: $ZodRegistry<{ id?: string }>;
        uri?: (id: string) => string;
        defs: Record<string, BaseSchema>;
    }