Amadeus · JSON Structure

Flight Inspiration Search Defaults Structure

the query parameters for which default values were used are returned here

Type: object Properties: 5
TravelTravel TechnologyReservationsFlightsHotelsAirlinesHospitalityTours and ActivitiesCars and TransfersDestination ContentItinerary ManagementTrip PlanningArtificial IntelligenceMarket Insights

Flight Inspiration Search Defaults Structure is a JSON Structure definition published by Amadeus, describing 5 properties. It conforms to the https://json-structure.org/draft/v0/schema meta-schema.

Properties

departureDate oneWay duration nonStop viewBy

Meta-schema: https://json-structure.org/draft/v0/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/draft/v0/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-structure/flight-inspiration-search-defaults-structure.json",
  "title": "Defaults",
  "description": "the query parameters for which default values were used are returned here",
  "type": "object",
  "properties": {
    "departureDate": {
      "type": "string",
      "description": "the date, or range of dates, on which the flight will depart from the origin. Dates are specified in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-DD format, e.g. 2017-12-25. Ranges are specified with a comma and are inclusive"
    },
    "oneWay": {
      "type": "boolean",
      "description": "if this parameter is set to true, only one-way flights are considered. If this parameter is not set or set to false, only round-trip flights are considered"
    },
    "duration": {
      "type": "string",
      "description": "exact duration or range of durations of the travel, in days. This parameter must not be set if oneWay is true. Ranges are specified with a comma and are inclusive, e.g. 2,8"
    },
    "nonStop": {
      "type": "boolean",
      "description": "if this parameter is set to true, only flights going from the origin to the destination with no stop in-between are considered"
    },
    "viewBy": {
      "type": "string",
      "description": "view the flight destinations by COUNTRY, DATE, DESTINATION, DURATION, or WEEK. View by COUNTRY to get the cheapest flight dates for every country in the given range. View by DATE to get the cheapest flight dates for every departure date in the given range. View by DURATION to get the cheapest flight dates for every departure date and for every duration in the given ranges. View by WEEK to get the cheapest flight destination for every week in the given range of departure dates"
    }
  }
}