@squidcloud/client
    Preparing search index...

    Interface CollectionSchemaApi

    API-boundary view of CollectionSchema for use in OpenAPI-exposed controllers.

    The on-the-wire payload is the same as CollectionSchema — this type just describes it as an opaque JSON object for the generated OpenAPI spec.

    interface CollectionSchemaApi {
        description?: string;
        properties?: Record<string, unknown>;
        required?: string[];
        type?: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Additional fields are preserved as-is.

    Index
    description?: string

    Human-readable description of the collection.

    properties?: Record<string, unknown>

    Map of property names to their schemas.

    required?: string[]

    Names of required properties.

    type?: string

    JSON Schema type keyword (e.g. "object").