# LocationResponseSchema

Source: https://developer.synup.com/schemas/location-response-schema

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `accountId` | integer | required |  |
| `additionalCategoryIds` | array of string | required |  |
| `additionalInfo` | null | required |  |
| `additionalPhones` | array of string | required |  |
| `archived` | boolean | required |  |
| `archivedAt` | null | required |  |
| `billingPeriod` | null | required |  |
| `bizUrl` | string | optional |  |
| `bookingUrl` | string | optional |  |
| `categoryId` | integer | required |  |
| `city` | string | required |  |
| `countryIso` | string | required |  |
| `customAttributes` | array of object | required |  |
| `customAttributes[].archived` | boolean | optional |  |
| `customAttributes[].enumValues` | array of string | optional |  |
| `customAttributes[].name` | string | optional |  |
| `customAttributes[].slug` | string | optional |  |
| `customAttributes[].type` | string | optional |  |
| `customAttributes[].value` | array of string | optional |  |
| `databaseId` | integer | required |  |
| `description` | string | required |  |
| `facebookUrl` | string | optional |  |
| `folderId` | string | required |  |
| `folderName` | string | required |  |
| `googleAdsPhone` | string | required |  |
| `googleplusUrl` | null | required |  |
| `hideAddress` | boolean | required |  |
| `id` | string | required |  |
| `instagramUrl` | string | optional |  |
| `isRestaurant` | boolean | optional |  |
| `latitude` | number | required |  |
| `linkedinUrl` | string | optional |  |
| `locationPhotos` | array of string | required |  |
| `longitude` | number | required |  |
| `moreHours` | array of string | required |  |
| `name` | string | required |  |
| `offeringsUrl` | string | optional |  |
| `ownerEmail` | string | required |  |
| `ownerName` | string | required |  |
| `package` | string | required |  |
| `paymentMethods` | array of string | required |  |
| `phone` | string | required |  |
| `pinterestUrl` | string | required |  |
| `planId` | integer | required |  |
| `planName` | string | required |  |
| `postalCode` | string | required |  |
| `publisherAttributes` | array of string | required |  |
| `reservationUrl` | string | required |  |
| `serviceItems` | array of string | required |  |
| `stateIso` | string | required |  |
| `storeId` | null | required |  |
| `street` | string | required |  |
| `street1` | string | required |  |
| `subCategory` | object | required |  |
| `subCategory.databaseId` | integer | required |  |
| `subCategory.id` | string | required |  |
| `subCategory.name` | string | required |  |
| `subCategory.primary` | boolean | required |  |
| `subCategoryId` | integer | required |  |
| `subCategoryName` | string | required |  |
| `tagline` | string | required |  |
| `tags` | array of string | required |  |
| `temporarilyClosed` | boolean | required |  |
| `tiktokUrl` | null | required |  |
| `toplineMessage` | null | required |  |
| `toplineMessageText` | null | required |  |
| `twitterUrl` | string | required |  |
| `videos` | array of string | required |  |
| `yearOfIncorporation` | integer | required |  |
| `youtubeUrl` | null | required |  |
| `placeActionLinks` | array of object | optional |  |
| `placeActionLinks[].placeActionType` | string | required | One of: `FOOD_ORDERING FOOD_ORDERING`, `ONLINE_APPOINTMENT`, `APPOINTMENT`, `DINING_RESERVATION`, `FOOD_DELIVERY`, `FOOD_TAKEOUT`, `SHOP_ONLINE` |
| `placeActionLinks[].uri` | string | required |  |
| `placeActionLinks[].isPreferred` | boolean | optional |  |
| `placeActionLinks[].name` | string | optional |  |
| `placeActionLinks[].submissionStatus` | string | optional |  |
| `placeActionLinks[].submissionMessage` | string | optional |  |
| `placeActionLinks[].lastSubmittedAt` | string | optional |  |
| `placeActionLinks[].isEditable` | string | optional |  |
| `discoveredPlaceActionLinks` | array of object | optional |  |
| `discoveredPlaceActionLinks[].placeActionType` | string | required |  |
| `discoveredPlaceActionLinks[].uri` | string | required |  |
| `discoveredPlaceActionLinks[].isPreferred` | boolean | required |  |
| `discoveredPlaceActionLinks[].name` | string | required |  |
| `discoveredPlaceActionLinks[].providerType` | string | required |  |
| `discoveredPlaceActionLinks[].isEditable` | boolean | required |  |
| `businessHours` | array of object | optional | Business hours for each day of the week |
| `businessHours[].day` | string | required | Day of the week \| Special One of: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`, `SPECIAL` |
| `businessHours[].slots` | array of object | required | Array of time slots (minimum 1, maximum 2). Required only if type is OPEN. |
| `businessHours[].slots[].start` | string | optional | Opening time. Valid formats: `<HH>:<MM>am` OR `<HH>:<MM>pm` |
| `businessHours[].slots[].end` | string | optional | Closing time. Valid formats: `<HH>:<MM>am` OR `<HH>:<MM>pm` |
| `businessHours[].type` | string | required | Type of business hours (e.g., OPEN, CLOSED, OPEN_24x7) One of: `OPEN`, `OPEN_24x7`, `CLOSED` |
| `businessHours[].specialDate` | string | optional | Day should be `SPECIAL`. Regular hours is mandatory.  **Regular hours is mandatory for special hours to be allowed ** |
