Amadeus Solutions · JSON Structure

Flight Offers Price Flight Offer Pricing In Structure

input parameter to price flight offers element

Type: object Properties: 4 Required: 2
AirlinesBookingFlightsGDSHotelsTravelTravel Technology

FlightOfferPricingIn is a JSON Structure definition published by Amadeus Solutions, describing 4 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

type flightOffers payments travelers

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus-solutions/refs/heads/main/json-structure/flight-offers-price-flight-offer-pricing-in-structure.json",
  "name": "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": {
        "name": "Payment",
        "type": "object",
        "properties": {
          "brand": {
            "$ref": "#/definitions/PaymentBrand"
          },
          "binNumber": {
            "description": "The first 6 digits of the credit card",
            "type": "int32",
            "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"
  ]
}