{ "$schema": "https://json-structure.org/draft/v0/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-structure/hotel-search-hotel-product-cancellation-policy-structure.json", "title": "HotelProduct_CancellationPolicy", "description": "HotelProduct_CancellationPolicy structure from Hotel Search API", "type": "object", "properties": { "type": { "type": "string", "description": "* FULL_STAY: the Penalty amount equals the `total` price." }, "amount": { "type": "string", "description": "Amount of the cancellation fee." }, "numberOfNights": { "type": "integer", "format": "int32", "description": "Number of nights due as fee in case of cancellation." }, "percentage": { "type": "string", "description": "Percentage of the total stay amount to be paid in case of cancellation. Value is between 0 and 100." }, "deadline": { "type": "string", "format": "date-time", "description": "Represents the deadline after which the penalty applies. DateTime is in ISO 8601 [https://www.w3.org/TR/NOTE-datetime].\nExample: 2010-08-14T12:00:00+01:00\nExample: 2010-08-14T12:00:00Z\nExample: 2010-08-14T12:00:00-01:00\nThe value is expressed in the hotel local time zone, with the added time zone difference. So you can compute the deadline in UTC(GMT) if desired." }, "description": { "type": "object", "description": "Specific type to convey a list of string for specific information type ( via qualifier) in specific character set, or language" } } }