Lodging room description (v2)

Contains description of room in the property (amnity , specificity)

Attribute Type Required Description
type TypeRoom true The type of the room (e.g., LIVING_ROOM / OTHER_ROOM).
amenities List<Amenity> false List of amenities for the room.
metadatas Object false Additional metadata for the room.

Amenities Object

Attribute Type Required Description
type String true The type of the amenity (e.g., largeBed).
count Integer true Number of this type of amenity in the room.
metadatas Object false Additional metadata for the amenity (e.g., color).

Example

json

{
  "roomDescriptions": [
    {
      "type": "LIVING_ROOM",
      "amenities": [
        {
          "type": "largeBed",
          "count": 1,
          "metadatas": {
            "color": "blue"
          }
        },
        {
          "type": "foldableBed",
          "count": 1
        }
      ],
      "metadatas": {
        "source": "ia"
      }
    }
  ]
}