BUPKIS
    Preparing search index...

    Interface StandardSchemaV1<Input, Output>

    The Standard Schema interface.

    This is the primary interface that validation libraries implement to be Standard Schema compliant. The interface is designed to be minimal and non-invasive, tucked behind the ~standard property to avoid API conflicts.

    interface StandardSchemaV1<Input = unknown, Output = Input> {
        "~standard": Props<Input, Output>;
    }

    Type Parameters

    • Input = unknown

      The input type accepted by the schema

    • Output = Input

      The output type produced after successful validation

    Index

    Properties

    Properties

    "~standard": Props<Input, Output>

    The Standard Schema properties.

    This property uses a tilde prefix to:

    • Avoid conflicts with existing library APIs
    • De-prioritize in IDE autocomplete (tilde sorts after alphanumeric)
    • Signal special/internal nature of the property