Skip to main content

Media

Hotel image. Only the URL and its position are available: no provider supplies dimensions, captions or a media type at hotel level, so width, height, caption and mediaType were removed from this schema rather than left documented and always empty. Room images (RoomImage) do carry mediaType and caption.

urlstringrequired

Absolute media URL.

orderIndexintegernullable

Display order as delivered by the provider.

isPrimarybooleannullable

True for the first image of the hotel.

Media
{
"url": "string",
"orderIndex": 0,
"isPrimary": true
}