llmwire - v2.2.0
    Preparing search index...

    Interface StandardSchemaV1<Input, Output>

    The Standard Schema interface (https://standardschema.dev) that Zod, Valibot, ArkType and others implement; jsonSchema is the Standard JSON Schema extension some of them add.

    interface StandardSchemaV1<Input = unknown, Output = Input> {
        "~standard": {
            jsonSchema?: {
                input?: (options: { target: string }) => Record<string, unknown>;
            };
            types?: { input: Input; output: Output };
            validate: (
                value: unknown,
            ) => StandardResult<Output> | Promise<StandardResult<Output>>;
            vendor: string;
            version: 1;
        };
    }

    Type Parameters

    • Input = unknown
    • Output = Input
    Index
    "~standard": {
        jsonSchema?: {
            input?: (options: { target: string }) => Record<string, unknown>;
        };
        types?: { input: Input; output: Output };
        validate: (
            value: unknown,
        ) => StandardResult<Output> | Promise<StandardResult<Output>>;
        vendor: string;
        version: 1;
    }