addedInput schema / properties / check_in
Added value: +{
+ "description": "Check-in date YYYY-MM-DD, when the user gave dates",
+ "type": "string"
+}
addedInput schema / properties / check_out
Added value: +{
+ "description": "Check-out date YYYY-MM-DD",
+ "type": "string"
+}
addedOutput schema / properties / hotels / items / properties / guestRating
Added value: +{
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Guest score out of 10 from stays booked through the Nuitee network; not part of the Roomza score"
+}
addedOutput schema / properties / hotels / items / properties / guestReviews
Added value: +{
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Number of guest reviews behind guestRating"
+}
addedOutput schema / properties / hotels / items / properties / photos
Added value: +{
+ "description": "Single-hotel results only: header photos",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+}
addedOutput schema / properties / hotels / items / properties / stars
Added value: +{
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Supplier-declared star rating"
+}
changedOutput schema / properties / hotels / items / required
Previous value: -[
- "id",
- "name",
- "city",
- "state",
- "country",
- "url",
- "score",
- "reviewCount",
- "hotelType",
- "vibes",
- "neighborhood",
- "lat",
- "lng",
- "photoUrl",
- "roomCount",
- "roomsWithRecords",
- "fromNightly"
-]New value: +[
+ "id",
+ "name",
+ "city",
+ "state",
+ "country",
+ "url",
+ "score",
+ "reviewCount",
+ "hotelType",
+ "vibes",
+ "neighborhood",
+ "lat",
+ "lng",
+ "photoUrl",
+ "roomCount",
+ "roomsWithRecords",
+ "fromNightly",
+ "stars",
+ "guestRating",
+ "guestReviews"
+]
addedOutput schema / properties / rooms
Added value: +{
+ "description": "Single-hotel results only: that hotel's room cards, already shown to the user under the hotel",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "bedType": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "blurb": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "bookUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Type cards only: Roomza stay flow with this room type preselected"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "floor": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "hotelId": {
+ "type": "string"
+ },
+ "hotelName": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "kind": {
+ "description": "room = a numbered room with a Roomza record; type = a bookable room type at a hotel with no room records yet",
+ "enum": [
+ "room",
+ "type"
+ ],
+ "type": "string"
+ },
+ "location": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "photoSource": {
+ "anyOf": [
+ {
+ "enum": [
+ "room",
+ "hotel"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Whether photoUrl shows the actual room or is a hotel-level fallback"
+ },
+ "photoUrl": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "priceNote": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Shown in the price slot when pricePerNight is null, e.g. a prompt to provide dates"
+ },
+ "pricePerNight": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Nightly price for the requested dates; null when no dates were given or no live rate exists"
+ },
+ "reviewCount": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "roomLabel": {
+ "type": "string"
+ },
+ "roomNumber": {
+ "type": "string"
+ },
+ "score": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sqFt": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "url": {
+ "type": "string"
+ },
+ "view": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "hotelId",
+ "hotelName",
+ "location",
+ "roomLabel",
+ "roomNumber",
+ "floor",
+ "score",
+ "reviewCount",
+ "pricePerNight",
+ "priceNote",
+ "currency",
+ "photoUrl",
+ "photoSource",
+ "view",
+ "bedType",
+ "sqFt",
+ "blurb",
+ "url",
+ "kind",
+ "bookUrl"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / stay
Added value: +{
+ "additionalProperties": false,
+ "description": "The dates passed to the search, echoed for the widget",
+ "properties": {
+ "check_in": {
+ "type": "string"
+ },
+ "check_out": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "check_in",
+ "check_out"
+ ],
+ "type": "object"
+}