@archastro/sdk
    Preparing search index...

    Variable attachmentSchemaConst

    attachmentSchema: ZodObject<
        {
            content_type: ZodOptional<ZodNullable<ZodString>>;
            description: ZodOptional<ZodNullable<ZodString>>;
            filename: ZodOptional<ZodNullable<ZodString>>;
            height: ZodOptional<ZodNullable<ZodNumber>>;
            id: ZodString;
            image_height: ZodOptional<ZodNullable<ZodNumber>>;
            image_source: ZodOptional<
                ZodNullable<
                    ZodObject<
                        {
                            file: ZodOptional<ZodNullable<ZodString>>;
                            height: ZodOptional<ZodNullable<ZodNumber>>;
                            media: ZodOptional<ZodNullable<ZodString>>;
                            mime_type: ZodOptional<ZodNullable<ZodString>>;
                            refresh_url: ZodOptional<ZodNullable<ZodString>>;
                            url: ZodOptional<ZodNullable<ZodString>>;
                            width: ZodOptional<ZodNullable<ZodNumber>>;
                        },
                        "strip",
                        ZodTypeAny,
                        {
                            file?: string
                            | null;
                            height?: number | null;
                            media?: string | null;
                            mime_type?: string | null;
                            refresh_url?: string | null;
                            url?: string | null;
                            width?: number | null;
                        },
                        {
                            file?: string
                            | null;
                            height?: number | null;
                            media?: string | null;
                            mime_type?: string | null;
                            refresh_url?: string | null;
                            url?: string | null;
                            width?: number | null;
                        },
                    >,
                >,
            >;
            image_url: ZodOptional<ZodNullable<ZodString>>;
            image_width: ZodOptional<ZodNullable<ZodNumber>>;
            media_type: ZodOptional<ZodString>;
            name: ZodOptional<ZodNullable<ZodString>>;
            object: ZodOptional<
                ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
            >;
            title: ZodOptional<ZodNullable<ZodString>>;
            type: ZodString;
            url: ZodOptional<ZodNullable<ZodString>>;
            variants: ZodOptional<
                ZodArray<
                    ZodObject<
                        {
                            content_type: ZodOptional<ZodNullable<ZodString>>;
                            created_at: ZodOptional<ZodString>;
                            file: ZodOptional<ZodString>;
                            filename: ZodOptional<ZodNullable<ZodString>>;
                            height: ZodOptional<ZodNullable<ZodNumber>>;
                            id: ZodString;
                            image_source: ZodOptional<
                                ZodNullable<
                                    ZodObject<
                                        {
                                            file: ZodOptional<(...)>;
                                            height: ZodOptional<(...)>;
                                            media: ZodOptional<(...)>;
                                            mime_type: ZodOptional<(...)>;
                                            refresh_url: ZodOptional<(...)>;
                                            url: ZodOptional<(...)>;
                                            width: ZodOptional<(...)>;
                                        },
                                        "strip",
                                        ZodTypeAny,
                                        {
                                            file?: (...)
                                            | (...)
                                            | (...);
                                            height?: (...) | (...) | (...);
                                            media?: (...) | (...) | (...);
                                            mime_type?: (...) | (...) | (...);
                                            refresh_url?: (...) | (...) | (...);
                                            url?: (...) | (...) | (...);
                                            width?: (...) | (...) | (...);
                                        },
                                        {
                                            file?: (...)
                                            | (...)
                                            | (...);
                                            height?: (...) | (...) | (...);
                                            media?: (...) | (...) | (...);
                                            mime_type?: (...) | (...) | (...);
                                            refresh_url?: (...) | (...) | (...);
                                            url?: (...) | (...) | (...);
                                            width?: (...) | (...) | (...);
                                        },
                                    >,
                                >,
                            >;
                            updated_at: ZodOptional<ZodString>;
                            url: ZodOptional<ZodNullable<ZodString>>;
                            variant_key: ZodOptional<ZodString>;
                            width: ZodOptional<ZodNullable<ZodNumber>>;
                        },
                        "strip",
                        ZodTypeAny,
                        {
                            content_type?: string
                            | null;
                            created_at?: string;
                            file?: string;
                            filename?: string | null;
                            height?: number | null;
                            id: string;
                            image_source?:
                                | {
                                    file?: string
                                    | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                            updated_at?: string;
                            url?: string
                            | null;
                            variant_key?: string;
                            width?: number | null;
                        },
                        {
                            content_type?: string
                            | null;
                            created_at?: string;
                            file?: string;
                            filename?: string | null;
                            height?: number | null;
                            id: string;
                            image_source?:
                                | {
                                    file?: string
                                    | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                            updated_at?: string;
                            url?: string
                            | null;
                            variant_key?: string;
                            width?: number | null;
                        },
                    >,
                    "many",
                >,
            >;
            version: ZodOptional<ZodNullable<ZodNumber>>;
            width: ZodOptional<ZodNullable<ZodNumber>>;
        },
        "strip",
        ZodTypeAny,
        {
            content_type?: string
            | null;
            description?: string | null;
            filename?: string | null;
            height?: number | null;
            id: string;
            image_height?: number | null;
            image_source?:
                | {
                    file?: string
                    | null;
                    height?: number | null;
                    media?: string | null;
                    mime_type?: string | null;
                    refresh_url?: string | null;
                    url?: string | null;
                    width?: number | null;
                }
                | null;
            image_url?: string
            | null;
            image_width?: number | null;
            media_type?: string;
            name?: string | null;
            object?: Record<string, {} | null>;
            title?: string | null;
            type: string;
            url?: string | null;
            variants?: {
                content_type?: string | null;
                created_at?: string;
                file?: string;
                filename?: string | null;
                height?: number | null;
                id: string;
                image_source?:
                    | {
                        file?: string
                        | null;
                        height?: number | null;
                        media?: string | null;
                        mime_type?: string | null;
                        refresh_url?: string | null;
                        url?: string | null;
                        width?: number | null;
                    }
                    | null;
                updated_at?: string;
                url?: string
                | null;
                variant_key?: string;
                width?: number | null;
            }[];
            version?: number
            | null;
            width?: number | null;
        },
        {
            content_type?: string
            | null;
            description?: string | null;
            filename?: string | null;
            height?: number | null;
            id: string;
            image_height?: number | null;
            image_source?:
                | {
                    file?: string
                    | null;
                    height?: number | null;
                    media?: string | null;
                    mime_type?: string | null;
                    refresh_url?: string | null;
                    url?: string | null;
                    width?: number | null;
                }
                | null;
            image_url?: string
            | null;
            image_width?: number | null;
            media_type?: string;
            name?: string | null;
            object?: Record<string, {} | null>;
            title?: string | null;
            type: string;
            url?: string | null;
            variants?: {
                content_type?: string | null;
                created_at?: string;
                file?: string;
                filename?: string | null;
                height?: number | null;
                id: string;
                image_source?:
                    | {
                        file?: string
                        | null;
                        height?: number | null;
                        media?: string | null;
                        mime_type?: string | null;
                        refresh_url?: string | null;
                        url?: string | null;
                        width?: number | null;
                    }
                    | null;
                updated_at?: string;
                url?: string
                | null;
                variant_key?: string;
                width?: number | null;
            }[];
            version?: number
            | null;
            width?: number | null;
        },
    > = ...

    Runtime validator for Attachment.