Variable createPlaceSchemaConst
createPlaceSchema: ZodObject<
{
name: ZodString;
description: ZodOptional<ZodString>;
category: ZodEnum<
[
"park",
"library",
"clinic",
"museum",
"townhall",
"community_center",
"education",
"theater",
"sports",
"cultural_center",
"other",
],
>;
source: ZodDefault<ZodEnum<["osm", "event-venue"]>>;
osmType: ZodOptional<ZodString>;
osmId: ZodOptional<ZodString>;
isManualPin: ZodOptional<ZodBoolean>;
address: ZodOptional<ZodString>;
city: ZodString;
lat: ZodNumber;
lng: ZodNumber;
website: ZodOptional<ZodEffects<ZodString, string, string>>;
phone: ZodOptional<ZodString>;
openingHours: ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
{
name: string;
description?: string;
category: | "park"
| "library"
| "clinic"
| "museum"
| "townhall"
| "community_center"
| "education"
| "theater"
| "sports"
| "cultural_center"
| "other";
source: "osm"
| "event-venue";
osmType?: string;
osmId?: string;
isManualPin?: boolean;
address?: string;
city: string;
lat: number;
lng: number;
website?: string;
phone?: string;
openingHours?: string;
},
{
name: string;
description?: string;
category: | "park"
| "library"
| "clinic"
| "museum"
| "townhall"
| "community_center"
| "education"
| "theater"
| "sports"
| "cultural_center"
| "other";
source?: "osm"
| "event-venue";
osmType?: string;
osmId?: string;
isManualPin?: boolean;
address?: string;
city: string;
lat: number;
lng: number;
website?: string;
phone?: string;
openingHours?: string;
},
> = ...