The functionality supported by `AreaInfo` and `HotelInfo > RelativePositions` are soon to sunset
Booking.com is deprecating the functionality of specifying/retrieving nearby attractions and the property's relative position information using `AreaInfo` and `HotelInfo > RelativePositions` as of March 15, 2023, and will sunset on June 30, 2023.
Booking.com automatically generates the nearby places and the property's relative position information. Please see [the deprecation policy documentation](/connectivity/docs/deprecation-policy/deprecation-and-sunsetting#specifying-attractions-and-propertys-relative-position-information-in-content-api) for more details.

# Attraction

## Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [Attractions](/connectivity/docs/api-reference/attractions)/`Attraction` | Details of an attraction. | object | 0..* | - |
| `Attraction`/`@AttractionCategoryCode` | The [Attraction Category Code](/connectivity/docs/codes-acc). | [ACC](/connectivity/docs/codes-acc) | 1..1 | - |
| `Attraction`/`@AttractionName` | The attraction name (in `@LanguageCode`). | string | 1..1 | - |
| `Attraction`/`@Distance` | Distance from property to attraction (in `@DistanceUnit`). | float | 1..1 | - |
| `Attraction`/`@DistanceUnit` | The measurement unit for `@Distance`. | enum | 0..1 | Accepts: `meters`, `kilometers`, `feet`, `miles`. Default: `meters` |
| `Attraction`/`@LanguageCode` | The [Booking.com Language Code](/connectivity/docs/codes-bcl) used for the attraction information. | [BCL](/connectivity/docs/codes-bcl) | 0..1 | Default: `en` |


## XML


```xml
<Attraction
  AttractionCategoryCode="29"
  AttractionName="Morning market"
  Distance="1.2"
  DistanceUnit="miles"
  LanguageCode="en"/>
<Attraction
  AttractionCategoryCode="41"
  AttractionName="Sushi restaurant"
  Distance="3"/>
```

## Related endpoints

* [/ota/OTA_HotelDescriptiveContentNotif](/connectivity/docs/ota-hoteldescriptivecontentnotif)