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][property-area-info] for more details.

details
summary
This documentation section contains an API solution that is soon to sunset. You can still access the topic by clicking the expand icon.
# Line

## Fields

| Field | Description | Type | Min/max | Notes |
|  --- | --- | --- | --- | --- |
| [Leg](/connectivity/docs/api-reference/leg)/`Line` | Public transport line details. | object | 0..1 | - |
| `Line`/`@Name` | The name or number of the line to take, if travelling by shuttle or public transport. | string | Optional | Only allowed when [TransportType](/connectivity/docs/api-reference/transporttype)`[@Code]` is `3`, `10`, `18`, `22`, or `5001`. |


## XML


```xml
<Line
  Name='10'/>
```

## Related endpoints

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