Skip to content

Variable: locationInfoSchema ​

ts
const locationInfoSchema: ZodObject<{
  category: ZodOptional<ZodString>;
  facebook_places_id: ZodOptional<ZodCoercedString<unknown>>;
  lat: ZodOptional<ZodNullable<ZodNumber>>;
  lng: ZodOptional<ZodNullable<ZodNumber>>;
  location_address: ZodOptional<ZodString>;
  location_city: ZodOptional<ZodString>;
  location_id: ZodCoercedString<unknown>;
  location_zip: ZodOptional<ZodString>;
  media_count: ZodOptional<ZodNullable<ZodNumber>>;
  name: ZodOptional<ZodString>;
  phone: ZodOptional<ZodString>;
  slug: ZodOptional<ZodString>;
  website: ZodOptional<ZodString>;
}, $loose>;

What a single location's own page knows: contact details, category and post count.

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.