Variable StringSchemaSchemaConst
StringSchemaSchema: ZodObject<
{
default: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
format: ZodOptional<ZodEnum<["email", "uri", "date", "date-time"]>>;
maxLength: ZodOptional<ZodNumber>;
minLength: ZodOptional<ZodNumber>;
title: ZodOptional<ZodString>;
type: ZodLiteral<"string">;
},
"strip",
ZodTypeAny,
{
default?: string;
description?: string;
format?: "date"
| "uri"
| "email"
| "date-time";
maxLength?: number;
minLength?: number;
title?: string;
type: "string";
},
{
default?: string;
description?: string;
format?: "date"
| "uri"
| "email"
| "date-time";
maxLength?: number;
minLength?: number;
title?: string;
type: "string";
},
> = ...
Primitive schema definition for string fields.