Amadeus Solutions · Schema

FlightOfferPricingIn

input parameter to price flight offers element

AirlinesBookingFlightsGDSHotelsTravelTravel Technology

Properties

Name Type Description
type string the resource name
flightOffers array list of flight offer to price
payments array payment information for retrieve eventual credit card fees
travelers array list of travelers
View JSON Schema on GitHub

JSON Schema

flight-offers-price-flight-offer-pricing-in-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-solutions/refs/heads/main/json-schema/flight-offers-price-flight-offer-pricing-in-schema.json",
  "title": "FlightOfferPricingIn",
  "description": "input parameter to price flight offers element",
  "type": "object",
  "properties": {
    "type": {
      "description": "the resource name",
      "type": "string",
      "example": "flight-offer-pricing"
    },
    "flightOffers": {
      "description": "list of flight offer to price",
      "type": "array",
      "minItems": 1,
      "maxItems": 6,
      "items": {
        "$ref": "#/definitions/FlightOffer"
      }
    },
    "payments": {
      "description": "payment information for retrieve eventual credit card fees",
      "type": "array",
      "maxItems": 6,
      "items": {
        "title": "Payment",
        "type": "object",
        "properties": {
          "brand": {
            "$ref": "#/definitions/PaymentBrand"
          },
          "binNumber": {
            "description": "The first 6 digits of the credit card",
            "type": "integer",
            "example": 123456,
            "pattern": "[0-9]{6}"
          },
          "flightOfferIds": {
            "description": "Id of the flightOffers to pay",
            "type": "array",
            "minItems": 1,
            "maxItems": 6,
            "items": {
              "type": "string"
            },
            "example": "1"
          }
        }
      }
    },
    "travelers": {
      "description": "list of travelers",
      "type": "array",
      "maxItems": 18,
      "items": {
        "$ref": "#/definitions/Traveler"
      }
    }
  },
  "required": [
    "type",
    "flightOffers"
  ]
}