{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/flight-offers-price-bags-schema.json", "title": "Bags", "description": "checked bag", "allOf": [ { "description": "baggageAllowance", "type": "object", "properties": { "quantity": { "type": "integer", "description": "Total number of units", "example": 1 }, "weight": { "type": "integer", "description": "Weight of the baggage allowance", "example": 20 }, "weightUnit": { "type": "string", "description": "Code to qualify unit as pounds or kilos", "example": "KG" } } }, { "type": "object", "properties": { "name": { "description": "Type of service", "type": "string", "example": "CHECKED_BAG" }, "price": { "description": "elementaryPrice", "type": "object", "properties": { "amount": { "type": "string", "description": "Amount of the fare. could be alpha numeric. Ex- 500.20 or 514.13A, 'A'signifies additional collection.", "example": "199.50" }, "currencyCode": { "type": "string", "description": "Currency type of the fare.", "example": "EUR" } } }, "bookableByItinerary": { "description": "Specify if the service is bookable by itinerary or for all itineraries", "type": "boolean", "example": false }, "segmentIds": { "description": "Id of the segment concerned by the service", "type": "array", "items": { "type": "string" }, "example": "1" }, "travelerIds": { "description": "Id of the traveler concerned by the service", "type": "array", "items": { "type": "string" }, "example": "1" } } } ] }