Creative Analyzer - v0.0.1
    Preparing search index...

    Variable analyzeResponseSchemaConst

    analyzeResponseSchema: ZodObject<
        {
            person: ZodNullable<
                ZodObject<
                    {
                        gender: ZodNullable<ZodString>;
                        age_range: ZodNullable<ZodString>;
                        ethnicity: ZodNullable<ZodString>;
                        hair_color: ZodNullable<ZodString>;
                        body_type: ZodNullable<ZodString>;
                        expression: ZodNullable<ZodString>;
                        setting: ZodNullable<ZodString>;
                    },
                    "strip",
                    ZodTypeAny,
                    {
                        gender: string
                        | null;
                        age_range: string | null;
                        ethnicity: string | null;
                        hair_color: string | null;
                        body_type: string | null;
                        expression: string | null;
                        setting: string | null;
                    },
                    {
                        gender: string
                        | null;
                        age_range: string | null;
                        ethnicity: string | null;
                        hair_color: string | null;
                        body_type: string | null;
                        expression: string | null;
                        setting: string | null;
                    },
                >,
            >;
            transcript: ZodNullable<ZodString>;
        },
        "strip",
        ZodTypeAny,
        {
            person: | {
                gender: string
                | null;
                age_range: string | null;
                ethnicity: string | null;
                hair_color: string | null;
                body_type: string | null;
                expression: string | null;
                setting: string | null;
            }
            | null;
            transcript: string
            | null;
        },
        {
            person: | {
                gender: string
                | null;
                age_range: string | null;
                ethnicity: string | null;
                hair_color: string | null;
                body_type: string | null;
                expression: string | null;
                setting: string | null;
            }
            | null;
            transcript: string
            | null;
        },
    > = ...

    Top-level Zod schema for POST /api/analyze responses.

    Shape: { person: PersonRecord | null, transcript: string | null }. Used as the runtime validation boundary after Gemini returns; mirrors the structure passed to Gemini as responseSchema (see geminiResponseSchema).