Variable personSchemaConst
personSchema: 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;
},
>,
> = ...
Zod schema for the person object.
The whole object is nullable — if no person is the focus of the creative, the response carries
person: nullrather than an object with all-null fields (rule 2 of the system instruction).