Amadeus · JSON Structure

Flight Offers Search Flight Segment Structure

defining a flight segment; including both operating and marketing details when applicable

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

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

Properties

departure arrival carrierCode number aircraft operating duration stops

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-offers-search-flight-segment-structure.json",
  "title": "FlightSegment",
  "description": "defining a flight segment; including both operating and marketing details when applicable",
  "type": "object",
  "properties": {
    "departure": {
      "type": "string",
      "description": "departure or arrival information"
    },
    "arrival": {
      "type": "string",
      "description": "departure or arrival information"
    },
    "carrierCode": {
      "type": "string",
      "description": "providing the airline / carrier code"
    },
    "number": {
      "type": "string",
      "description": "the flight number as assigned by the carrier"
    },
    "aircraft": {
      "type": "string",
      "description": "information related to the aircraft"
    },
    "operating": {
      "type": "object",
      "description": "information about the operating flight"
    },
    "duration": {
      "type": "string",
      "description": "stop duration in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) PnYnMnDTnHnMnS format, e.g. PT2H10M"
    },
    "stops": {
      "type": "array",
      "description": "information regarding the different stops composing the flight segment. E.g. technical stop, change of gauge..."
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/flight-offers-search-flight-segment-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.