{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/hotel-search-hotel-product-guarantee-policy-schema.json", "title": "HotelProduct_GuaranteePolicy", "description": "the guarantee policy information applicable to the offer. It includes accepted payments", "type": "object", "properties": { "description": { "title": "QualifiedFreeText", "description": "Specific type to convey a list of string for specific information type ( via qualifier) in specific character set, or language", "type": "object", "properties": { "text": { "description": "Free Text", "example": "A description", "type": "string" }, "lang": { "description": "see RFC 5646", "example": "fr-FR", "type": "string" } } }, "acceptedPayments": { "title": "HotelProduct_PaymentPolicy", "description": "Accepted Payment Methods and Card Types. Several Payment Methods and Card Types may be available.", "type": "object", "properties": { "creditCards": { "description": "Accepted Payment Card Types for the `method` CREDIT_CARD", "type": "array", "items": { "type": "string", "minLength": 2, "maxLength": 2, "pattern": "^[A-Z]{2}$" }, "minLength": 2, "maxLength": 2, "pattern": "^[A-Z]{2}$" }, "methods": { "description": "Accepted Payment Methods", "type": "array", "items": { "$ref": "#/definitions/Method" } } } } } }