@archastro/sdk
    Preparing search index...

    Variable taskSchemaConst

    taskSchema: ZodObject<
        {
            agent: ZodOptional<ZodNullable<ZodString>>;
            aggregate_version: ZodOptional<ZodNullable<ZodNumber>>;
            blocked_by_count: ZodOptional<ZodNumber>;
            closed_at: ZodOptional<ZodNullable<ZodString>>;
            comments_count: ZodOptional<ZodNumber>;
            created_at: ZodOptional<ZodString>;
            created_by_actor: ZodOptional<
                ZodNullable<
                    ZodObject<
                        {
                            alias: ZodOptional<ZodNullable<ZodString>>;
                            id: ZodOptional<ZodNullable<ZodString>>;
                            name: ZodOptional<ZodNullable<ZodString>>;
                            profile_picture: 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?: (...) | (...) | (...);
                                        },
                                    >,
                                >,
                            >;
                        },
                        "strip",
                        ZodTypeAny,
                        {
                            alias?: string
                            | null;
                            id?: string | null;
                            name?: string | null;
                            profile_picture?:
                                | {
                                    file?: string
                                    | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                        },
                        {
                            alias?: string
                            | null;
                            id?: string | null;
                            name?: string | null;
                            profile_picture?:
                                | {
                                    file?: string
                                    | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                        },
                    >,
                >,
            >;
            created_by_agent: ZodOptional<ZodNullable<ZodString>>;
            created_by_user: ZodOptional<ZodNullable<ZodString>>;
            current_lease: ZodOptional<
                ZodNullable<
                    ZodObject<
                        {
                            expires_at: ZodString;
                            harness: ZodString;
                            session_name: ZodString;
                        },
                        "strip",
                        ZodTypeAny,
                        { expires_at: string; harness: string; session_name: string },
                        { expires_at: string; harness: string; session_name: string },
                    >,
                >,
            >;
            description: ZodOptional<ZodNullable<ZodString>>;
            due_date: ZodOptional<ZodNullable<ZodString>>;
            epic: ZodOptional<ZodNullable<ZodString>>;
            id: ZodString;
            is_blocked: ZodOptional<ZodBoolean>;
            links: ZodOptional<
                ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
            >;
            metadata: ZodOptional<
                ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
            >;
            name: ZodString;
            org: ZodOptional<ZodNullable<ZodString>>;
            owner_actor: ZodOptional<
                ZodNullable<
                    ZodObject<
                        {
                            alias: ZodOptional<ZodNullable<ZodString>>;
                            id: ZodOptional<ZodNullable<ZodString>>;
                            name: ZodOptional<ZodNullable<ZodString>>;
                            profile_picture: 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?: (...) | (...) | (...);
                                        },
                                    >,
                                >,
                            >;
                        },
                        "strip",
                        ZodTypeAny,
                        {
                            alias?: string
                            | null;
                            id?: string | null;
                            name?: string | null;
                            profile_picture?:
                                | {
                                    file?: string
                                    | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                        },
                        {
                            alias?: string
                            | null;
                            id?: string | null;
                            name?: string | null;
                            profile_picture?:
                                | {
                                    file?: string
                                    | null;
                                    height?: number | null;
                                    media?: string | null;
                                    mime_type?: string | null;
                                    refresh_url?: string | null;
                                    url?: string | null;
                                    width?: number | null;
                                }
                                | null;
                        },
                    >,
                >,
            >;
            owner_agent: ZodOptional<ZodNullable<ZodString>>;
            owner_user: ZodOptional<ZodNullable<ZodString>>;
            parent: ZodOptional<ZodNullable<ZodString>>;
            priority: ZodOptional<ZodNumber>;
            sandbox: ZodOptional<ZodNullable<ZodString>>;
            source_id: ZodOptional<ZodNullable<ZodString>>;
            source_scope: ZodOptional<ZodNullable<ZodString>>;
            source_type: ZodOptional<ZodNullable<ZodString>>;
            status: ZodString;
            subtasks_count: ZodOptional<ZodNumber>;
            tags: ZodOptional<ZodArray<ZodString, "many">>;
            team: ZodOptional<ZodNullable<ZodString>>;
            thread: ZodOptional<ZodNullable<ZodString>>;
            updated_at: ZodOptional<ZodString>;
            user: ZodOptional<ZodNullable<ZodString>>;
        },
        "strip",
        ZodTypeAny,
        {
            agent?: string
            | null;
            aggregate_version?: number | null;
            blocked_by_count?: number;
            closed_at?: string | null;
            comments_count?: number;
            created_at?: string;
            created_by_actor?:
                | {
                    alias?: string
                    | null;
                    id?: string | null;
                    name?: string | null;
                    profile_picture?:
                        | {
                            file?: string
                            | null;
                            height?: number | null;
                            media?: string | null;
                            mime_type?: string | null;
                            refresh_url?: string | null;
                            url?: string | null;
                            width?: number | null;
                        }
                        | null;
                }
                | null;
            created_by_agent?: string
            | null;
            created_by_user?: string | null;
            current_lease?:
                | { expires_at: string; harness: string; session_name: string }
                | null;
            description?: string | null;
            due_date?: string | null;
            epic?: string | null;
            id: string;
            is_blocked?: boolean;
            links?: Record<string, {} | null>;
            metadata?: Record<string, {} | null>;
            name: string;
            org?: string | null;
            owner_actor?:
                | {
                    alias?: string
                    | null;
                    id?: string | null;
                    name?: string | null;
                    profile_picture?:
                        | {
                            file?: string
                            | null;
                            height?: number | null;
                            media?: string | null;
                            mime_type?: string | null;
                            refresh_url?: string | null;
                            url?: string | null;
                            width?: number | null;
                        }
                        | null;
                }
                | null;
            owner_agent?: string
            | null;
            owner_user?: string | null;
            parent?: string | null;
            priority?: number;
            sandbox?: string | null;
            source_id?: string | null;
            source_scope?: string | null;
            source_type?: string | null;
            status: string;
            subtasks_count?: number;
            tags?: string[];
            team?: string | null;
            thread?: string | null;
            updated_at?: string;
            user?: string | null;
        },
        {
            agent?: string
            | null;
            aggregate_version?: number | null;
            blocked_by_count?: number;
            closed_at?: string | null;
            comments_count?: number;
            created_at?: string;
            created_by_actor?:
                | {
                    alias?: string
                    | null;
                    id?: string | null;
                    name?: string | null;
                    profile_picture?:
                        | {
                            file?: string
                            | null;
                            height?: number | null;
                            media?: string | null;
                            mime_type?: string | null;
                            refresh_url?: string | null;
                            url?: string | null;
                            width?: number | null;
                        }
                        | null;
                }
                | null;
            created_by_agent?: string
            | null;
            created_by_user?: string | null;
            current_lease?:
                | { expires_at: string; harness: string; session_name: string }
                | null;
            description?: string | null;
            due_date?: string | null;
            epic?: string | null;
            id: string;
            is_blocked?: boolean;
            links?: Record<string, {} | null>;
            metadata?: Record<string, {} | null>;
            name: string;
            org?: string | null;
            owner_actor?:
                | {
                    alias?: string
                    | null;
                    id?: string | null;
                    name?: string | null;
                    profile_picture?:
                        | {
                            file?: string
                            | null;
                            height?: number | null;
                            media?: string | null;
                            mime_type?: string | null;
                            refresh_url?: string | null;
                            url?: string | null;
                            width?: number | null;
                        }
                        | null;
                }
                | null;
            owner_agent?: string
            | null;
            owner_user?: string | null;
            parent?: string | null;
            priority?: number;
            sandbox?: string | null;
            source_id?: string | null;
            source_scope?: string | null;
            source_type?: string | null;
            status: string;
            subtasks_count?: number;
            tags?: string[];
            team?: string | null;
            thread?: string | null;
            updated_at?: string;
            user?: string | null;
        },
    > = ...

    Runtime validator for Task.