{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://www.monocrawl.com/schemas/booking/hotel-rooms.json","title":"booking/hotel-rooms data fields","description":"Optional data supplied by this operation. Null means unknown.","type":"object","properties":{"_warnings":{"description":"Source array was empty in the reviewed captures; item fields remain unspecified.","type":["array","null"],"items":{}},"checkin":{"description":"Optional checkin supplied by this operation. Null means unknown.","type":["string","null"]},"checkout":{"description":"Optional checkout supplied by this operation. Null means unknown.","type":["string","null"]},"count":{"description":"Number of records in this response, not lifetime or total matches.","type":["number","null"]},"currency":{"description":"Optional currency supplied by this operation. Null means unknown.","type":["string","null"]},"hotel_id":{"description":"Optional hotel id supplied by this operation. Null means unknown.","type":["string","null"]},"max_rooms_per_booking":{"description":"Optional max rooms per booking supplied by this operation. Null means unknown.","type":["number","null"]},"offers":{"description":"Source array was empty in the reviewed captures; item fields remain unspecified.","type":["array","null"],"items":{}},"platform":{"description":"Optional platform supplied by this operation. Null means unknown.","type":["string","null"]},"rooms":{"description":"Source array was empty in the reviewed captures; item fields remain unspecified.","type":["array","null"],"items":{}},"sold_out_rooms":{"description":"Source array was empty in the reviewed captures; item fields remain unspecified.","type":["array","null"],"items":{}},"type":{"description":"Optional type supplied by this operation. Null means unknown.","type":["string","null"]}},"additionalProperties":true,"allOf":[{"anyOf":[{"required":["checkin"],"properties":{"checkin":{"description":"Optional checkin supplied by this operation. Null means unknown.","type":["string"],"minLength":1}}},{"required":["checkout"],"properties":{"checkout":{"description":"Optional checkout supplied by this operation. Null means unknown.","type":["string"],"minLength":1}}},{"required":["currency"],"properties":{"currency":{"description":"Optional currency supplied by this operation. Null means unknown.","type":["string"],"minLength":1}}},{"required":["hotel_id"],"properties":{"hotel_id":{"description":"Optional hotel id supplied by this operation. Null means unknown.","type":["string"],"minLength":1}}},{"required":["max_rooms_per_booking"],"properties":{"max_rooms_per_booking":{"description":"Optional max rooms per booking supplied by this operation. Null means unknown.","type":["number"]}}},{"required":["offers"],"properties":{"offers":{"description":"Source array was empty in the reviewed captures; item fields remain unspecified.","type":["array"],"items":{}}}},{"required":["rooms"],"properties":{"rooms":{"description":"Source array was empty in the reviewed captures; item fields remain unspecified.","type":["array"],"items":{}}}},{"required":["sold_out_rooms"],"properties":{"sold_out_rooms":{"description":"Source array was empty in the reviewed captures; item fields remain unspecified.","type":["array"],"items":{}}}}]}],"x-contract-version":"2026-09-22","x-validation-scope":"Required success payload structure; optional fields and source completeness remain separate.","examples":[{"_warnings":[],"checkin":"example","checkout":"example","count":0,"currency":"example","hotel_id":"example","max_rooms_per_booking":0,"offers":[],"platform":"example","rooms":[],"sold_out_rooms":[],"type":"example"}]}