TUI Group Legs API

The legs API from TUI Group — 4 operation(s) for legs.

Operations 4

GET /api/dcs/v1/legs Retrieves a list of inventory legs based on search criteria. #
GET /api/gss/v1/legs/{legKey}/close/requirements Gets government security requirements that are required for closing the specified leg. #
GET /api/dcs/v1/legs/{legKey}/operationsInfo Retrieves operations (AKA flight following) info for the specified inventory leg. In the case of passive flights, only status, boardingTimeOffset, and schedule-related fields are p #
GET /api/dcs/v1/legs/{legKey}/thruLegs Retrieves a list of thru legs for the specified leg. #

Documentation

📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/api-description
📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/get-started
📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/simple-workflow
📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/advanced-workflow
📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/creditcard-payments
📖
Documentation
https://developer.tui/api-catalog/newskies-digital-api/backwards-compatibility
📖
Documentation
https://developer.tui/api-catalog/newskies-gonow-api/api-description
📖
Documentation
https://developer.tui/api-catalog/newskies-gonow-api/get-started
📖
Documentation
https://developer.tui/api-catalog/newskies-gonow-api/check-workflow
📖
Documentation
https://developer.tui/api-catalog/newskies-gonow-api/backwards-compatibility
📖
Documentation
https://developer.tui/api-catalog/newskies-payment-api/api-description
📖
Documentation
https://developer.tui/api-catalog/newskies-payment-api/booking-flow
📖
Documentation
https://developer.tui/api-catalog/nskcc-availability-search-api/description
📖
Documentation
https://developer.tui/api-catalog/nskcc-availability-search-api/api-details
📖
Documentation
https://developer.tui/api-catalog/nskcc-availability-search-api/technical-integration
📖
Documentation
https://developer.tui/api-catalog/nskcc-availability-search-api/code-examples
📖
Documentation
https://developer.tui/api-catalog/nskcc-availability-search-api/api-onepager
📖
Documentation
https://developer.tui/api-catalog/tui-newskies-pricefile-api/description
📖
Documentation
https://developer.tui/api-catalog/tui-newskies-pricefile-api/technical-integration
📖
Documentation
https://developer.tui/api-catalog/tui-newskies-pricefile-api/data-format
📖
Documentation
https://developer.tui/api-catalog/checkinhandler-service-api/api-description
📖
Documentation
https://developer.tui/api-catalog/checkinhandler-service-api/api-details
📖
Documentation
https://developer.tui/api-catalog/checkinhandler-service-api/technical-integration
📖
Documentation
https://developer.tui/api-catalog/tui-flight-ota-api/api-description
📖
Documentation
https://developer.tui/api-catalog/ota-content-api/api-description
📖
Documentation
https://developer.tui/api-catalog/ota-content-api/technical-details
📖
Documentation
https://developer.tui/api-catalog/ota-content-api/release-notes
📖
Documentation
https://developer.tui/api-catalog/walldy-api/api-description
📖
Documentation
https://developer.tui/api-catalog/walldy-api/api-details
📖
Documentation
https://developer.tui/api-catalog/walldy-api/technical-integration
📖
Documentation
https://developer.tui/api-catalog/walldy-api/api-onepager
📖
Documentation
https://developer.tui/api-catalog/walldy-api/release-notes
📖
Documentation
https://developer.tui/api-catalog/holidayofferscontroller-api/api-description
📖
Documentation
https://developer.tui/api-catalog/holidayofferscontroller-api/technical-integration
📖
Documentation
https://developer.tui/api-catalog/holidayofferscontroller-api/release-notes
📖
Documentation
https://developer.tui/api-catalog/meta-search-generic-api/api-description
📖
Documentation
https://developer.tui/api-catalog/partner-content-api/api-description
📖
Documentation
https://developer.tui/api-catalog/ship-content-api/api-description

Specifications

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/tui-group-legs-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

tui-group-legs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NewSkies-GoNow-Api Legs API
  description: Navitaire GoNow Api
  version: 5.2.6.69
servers:
- url: https://prod.api.tui/flight/newskies/gonow
  description: TUI Prod
- url: https://playground.api.tui/flight/newskies/gonow
  description: TUI Playground
security:
- JWT: []
tags:
- name: legs
paths:
  /api/dcs/v1/legs:
    get:
      tags:
      - legs
      summary: Retrieves a list of inventory legs based on search criteria.
      description: 'GraphQL endpoint: dcsGetLegs'
      operationId: dcs_v1_legs_get
      parameters:
      - name: CarrierCode
        in: query
        schema:
          type:
          - string
          - 'null'
          maxLength: 3
          minLength: 2
        x-position: 1
      - name: DepartureDate
        in: query
        schema:
          type:
          - string
          - 'null'
          format: date-time
        x-position: 2
      - name: Origin
        in: query
        schema:
          type:
          - string
          - 'null'
          maxLength: 3
          minLength: 3
        x-position: 3
      - name: Destination
        in: query
        schema:
          type:
          - string
          - 'null'
          maxLength: 3
          minLength: 3
        x-position: 4
      - name: FlightNumber
        in: query
        schema:
          type:
          - string
          - 'null'
        x-position: 5
      - name: OpSuffix
        in: query
        schema:
          type:
          - string
          - 'null'
          maxLength: 1
          minLength: 0
        x-position: 6
      responses:
        '200':
          description: The list of inventory legs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfListOfLeg'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/gss/v1/legs/{legKey}/close/requirements:
    get:
      tags:
      - legs
      summary: Gets government security requirements that are required for closing the specified leg.
      description: 'GraphQL endpoint: dcsGetLegCloseSecurityRequirements'
      operationId: gss_v1_legs_legKey_close_requirements_get
      parameters:
      - name: legKey
        in: path
        required: true
        description: The unique leg key. Leg keys can be retrieved via GET /api/dcs/v1/legs.
        schema:
          type: string
        x-position: 1
      responses:
        '200':
          description: List of government security requirements that must be satisfied in order to close the specified flight leg.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfListOfLegCloseSecurityRequirement'
              examples:
                Success example:
                  description: An example 200OK Successful response.
                  value:
                    data:
                    - governmentProgram: USDHS
                      governmentProgramType: 1
                      programDescription: United States - SecureFlight
                      eligibleDocuments:
                      - typeCode: A
                        group: 2
                        typeName: Permanent Resident Card
                        isPrimary: false
                      - typeCode: C
                        group: 1
                        typeName: U.S. Alien Registration Card
                        isPrimary: false
                      - typeCode: F
                        group: 3
                        typeName: Facilitation Document
                        isPrimary: false
                      - typeCode: G
                        group: 18
                        typeName: Government ID card
                        isPrimary: false
                      - typeCode: M
                        group: 5
                        typeName: Military ID Card
                        isPrimary: false
                      - typeCode: P
                        group: 6
                        typeName: Permanent Resident Card
                        isPrimary: false
                      - typeCode: PD
                        group: 6
                        typeName: Diplomatic Passport
                        isPrimary: false
                      - typeCode: PM
                        group: 6
                        typeName: Missionary Passport
                        isPrimary: false
                      - typeCode: PS
                        group: 6
                        typeName: Special Passport
                        isPrimary: false
                      - typeCode: T
                        group: 17
                        typeName: Refugee Travel Document
                        isPrimary: false
                      - typeCode: V
                        group: 9
                        typeName: Travel Visa
                        isPrimary: false
                      documentRequiredFields:
                      - 6
                      - 9
                      - 10
                      - 0
                      - 2
                      additionalDataRequiredFields:
                      - 5
                      - 6
                      - 4
                      - 3
                      minVerifiedDocumentCount: 1
                      flightCloseCountryCodes:
                      - US
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
              examples:
                Invalid legKey:
                  description: Example error response when the leg key is invalid.
                  value:
                    errors:
                    - id: a70ddb46-fc1a-bed4-9ae9-b3c4eb6be908
                      code: legKey:InvalidApiKey
                      message: 'Invalid legKey: asdf'
                      type: Validation
                      details:
                        message: 'Invalid legKey: asdf'
                        param: legKey
                        validation: InvalidApiKey
                      rawMessage: null
                      exception: null
                      debugMode: The API is currently running in debug mode. In production the 'rawMessage' and 'exception' nodes will not be returned. These are for troubleshooting development issues only.
                    data: null
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/dcs/v1/legs/{legKey}/operationsInfo:
    get:
      tags:
      - legs
      summary: 'Retrieves operations (AKA flight following) info for the specified inventory leg.  In

        the case of passive flights, only status, boardingTimeOffset, and schedule-related

        fields are populated.'
      description: 'This endpoint replaces the dotREZ NSK API''s GET /api/nsk/v2/trip/info/{legKey}/status.

        This endpoint uses a more detailed and operationally-appropriate enum for the status

        field.


        GraphQL endpoint: dcsGetOperationsInfo'
      operationId: dcs_v1_legs_legKey_operationsInfo_get
      parameters:
      - name: legKey
        in: path
        required: true
        description: The leg key or manifest leg key.
        schema:
          type: string
        x-position: 1
      responses:
        '200':
          description: The operations info.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfOperationsInfo'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
              examples:
                Invalid legKey:
                  description: Example error response when the leg key is invalid.
                  value:
                    errors:
                    - id: a70ddb46-fc1a-bed4-9ae9-b3c4eb6be908
                      code: legKey:InvalidApiKey
                      message: 'Invalid legKey: asdf'
                      type: Validation
                      details:
                        message: 'Invalid legKey: asdf'
                        param: legKey
                        validation: InvalidApiKey
                      rawMessage: null
                      exception: null
                      debugMode: The API is currently running in debug mode. In production the 'rawMessage' and 'exception' nodes will not be returned. These are for troubleshooting development issues only.
                    data: null
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
  /api/dcs/v1/legs/{legKey}/thruLegs:
    get:
      tags:
      - legs
      summary: Retrieves a list of thru legs for the specified leg.
      description: 'GraphQL endpoint: dcsGetThruLegs'
      operationId: dcs_v1_legs_legKey_thruLegs_get
      parameters:
      - name: legKey
        in: path
        required: true
        description: The leg key.
        schema:
          type: string
        x-position: 1
      responses:
        '200':
          description: List of legs that the specified leg has a direct downline connection to.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponseOfListOfLegInfo'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
              examples:
                Invalid legKey:
                  description: Example error response when the leg key is invalid.
                  value:
                    errors:
                    - id: a70ddb46-fc1a-bed4-9ae9-b3c4eb6be908
                      code: legKey:InvalidApiKey
                      message: 'Invalid legKey: asdf'
                      type: Validation
                      details:
                        message: 'Invalid legKey: asdf'
                        param: legKey
                        validation: InvalidApiKey
                      rawMessage: null
                      exception: null
                      debugMode: The API is currently running in debug mode. In production the 'rawMessage' and 'exception' nodes will not be returned. These are for troubleshooting development issues only.
                    data: null
        '401':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IJsonResponse'
components:
  schemas:
    OperationPayload:
      type: object
      additionalProperties: false
      properties:
        type:
          type:
          - string
          - 'null'
          description: "The type of payload this model represents, expressed as a single\ncharacter.\nPlease note that this should be a char and not a string.\n            "
          maxLength: 1
        compartment:
          type:
          - string
          - 'null'
          description: "The compartment for the payload this model represents, expressed\nas a single character.\nPlease note that this should be a char and not a string.\n            "
          maxLength: 1
        count:
          type: integer
          description: "The payload count.\n            "
          format: int32
        weight:
          type: integer
          description: "The total payload weight.\n            "
          format: int32
    OperationComment:
      type: object
      additionalProperties: false
      properties:
        commentKey:
          type:
          - string
          - 'null'
          description: "The unique identification number for the comment.\n            "
        text:
          type:
          - string
          - 'null'
          description: "Represents the comment text.\n            "
        type:
          description: "Represents the comment type.\n            "
          $ref: '#/components/schemas/OperationCommentType'
        createdDate:
          type: string
          description: "Represents the datetime (UTC) of when the comment was created.\n            "
          format: date-time
        modifiedDate:
          type: string
          description: "Represents the datetime (UTC) of when the comment was last modified.\n            "
          format: date-time
    IJsonResponseOfListOfLegCloseSecurityRequirement:
      type: object
      additionalProperties: false
      properties:
        data:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/LegCloseSecurityRequirement'
        errors:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ErrorResponse'
        messages:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Message'
    OperationCommentType:
      type: integer
      description: "The operation comment type enumeration.\n            \n\n0 = Default\n1 = Reservation\n2 = Operation\n3 = PitLoad\n4 = Irop\n5 = AppsOverride\n6 = ManualAppsOverride"
      x-enumNames:
      - Default
      - Reservation
      - Operation
      - PitLoad
      - Irop
      - AppsOverride
      - ManualAppsOverride
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
    OperationHistory:
      type: object
      additionalProperties: false
      properties:
        historyKey:
          type:
          - string
          - 'null'
          description: "The unique identification for the trip operation history.\n            "
        code:
          type:
          - string
          - 'null'
          description: "Represents the code for the event that triggered an entry into history.\n            "
        detail:
          type:
          - string
          - 'null'
          description: "Represents the history details.\n            "
        createdDate:
          type:
          - string
          - 'null'
          description: "The date when this history item was created.\n            "
          format: date-time
    OperationCounts:
      type: object
      additionalProperties: false
      properties:
        capacityCount:
          type: integer
          description: 'The number of passengers that can be seated in the aircraft.  This does not include

            cabin crew or cockpit crew.'
          format: int32
        soldCount:
          type: integer
          description: The number of seats sold.
          format: int32
        nonRevenueCount:
          type: integer
          description: The number of non-revenue passengers.
        revenueCount:
          type: integer
          description: The number of revenue passengers.
        infantCount:
          type: integer
          description: The number of infants not occupying a seat.
        checkInCount:
          type: integer
          description: 'The number of passengers that have checked in.  This value is called CheckedInCount in

            the response of GET api/dcs/v1/legs.'
        noShowCount:
          type: integer
          description: The number of passengers that have not checked in.
          format: int32
        boardingCount:
          type: integer
          description: 'The number of passengers that have boarded.  This value is called BoardedCount in

            the response of GET api/dcs/v1/legs.'
        boardingSequence:
          type: integer
          description: The last boarding sequence number used for a passenger on this leg.
        fuelOnboardOut:
          type: integer
          description: The amount of fuel onboard the aircraft upon departure.
          format: int32
        fuelOnboardIn:
          type: integer
          description: The amount of fuel onboard the aircraft upon arrival.
          format: int32
        upliftFuel:
          type: integer
          description: The amount of fuel loaded onto the aircraft before takeoff.
          format: int32
        upliftWeight:
          type: integer
          description: The weight of fuel loaded onto the aircraft before takeoff.
          format: int32
        cockpitCrewCount:
          type: integer
          description: The number of crew in the cockpit.
        cabinCrewCount:
          type: integer
          description: The number of crew in the cabin.
    OperationDelay:
      type: object
      additionalProperties: false
      properties:
        delayKey:
          type:
          - string
          - 'null'
          description: "The unique identification for the trip operation delay.\n            "
        createdDate:
          type:
          - string
          - 'null'
          description: "The date the status was created.\n            "
          format: date-time
        code:
          type:
          - string
          - 'null'
          description: "The delay code.\n            "
        minutes:
          type: integer
          description: "The number of minutes for this delay.\n            "
        note:
          type:
          - string
          - 'null'
          description: "The note for this delay, containing extra information about the delay\n(if any).\n            "
        includeMvtMessage:
          type: boolean
          description: "The flag to include the MVT message.\n            "
    DepartureStatus:
      type: integer
      description: '0 = Default

        1 = Cancelled

        2 = Boarding

        3 = SeeAgent

        4 = Delayed

        5 = Departed'
      x-enumNames:
      - Default
      - Cancelled
      - Boarding
      - SeeAgent
      - Delayed
      - Departed
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
    LegCloseSecurityRequirement:
      type: object
      additionalProperties: false
      properties:
        governmentProgram:
          type:
          - string
          - 'null'
          description: The name of the government program.
        governmentProgramType:
          description: The type of the government program.
          $ref: '#/components/schemas/GovernmentProgramType'
        programDescription:
          type:
          - string
          - 'null'
          description: A description of the government program.
        eligibleDocuments:
          type:
          - array
          - 'null'
          description: 'A list of documents that are eligible for satisfying the goverment program. '
          items:
            $ref: '#/components/schemas/DocumentRequirement'
        documentRequiredFields:
          type:
          - array
          - 'null'
          description: 'A list of document fields that are required for a document to contain in order to satisfy the government program. '
          items:
            $ref: '#/components/schemas/GovernmentDocumentFieldType'
        additionalDataRequiredFields:
          type:
          - array
          - 'null'
          description: 'A list of additional data fields that are required to satisfy the government program.  '
          items:
            $ref: '#/components/schemas/GovernmentAdditionalDataType'
        minVerifiedDocumentCount:
          type: integer
          description: 'The minimum amount of eligible documents needed to safisty the government program.  '
          format: int32
        flightCloseCountryCodes:
          type:
          - array
          - 'null'
          description: 'The list of country codes in which the government program requirement applies. More information on a given country code can be found via GET /api/nsk/v2/resources/countries/{countryCode}  '
          items:
            type: string
    Exception:
      type: object
      additionalProperties: false
      properties:
        Message:
          type: string
        InnerException:
          $ref: '#/components/schemas/Exception'
        Source:
          type:
          - string
          - 'null'
        StackTrace:
          type:
          - string
          - 'null'
    CrewType:
      type: integer
      description: "Defines the different types of crew members.\n            \n\n0 = Default\n1 = Pilot\n2 = CoPilot\n3 = CockpitJumpseat\n4 = CabinJumpseat\n5 = CabinCrew"
      x-enumNames:
      - Default
      - Pilot
      - CoPilot
      - CockpitJumpseat
      - CabinJumpseat
      - CabinCrew
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
    GovernmentAdditionalDataType:
      type: integer
      description: '0 = CountryOfResidence

        1 = InTransitAtOrigin

        2 = InTransitAtDestination

        3 = DateOfBirth

        4 = Gender

        5 = FirstName

        6 = LastName

        7 = StayType

        8 = Nationality'
      x-enumNames:
      - CountryOfResidence
      - InTransitAtOrigin
      - InTransitAtDestination
      - DateOfBirth
      - Gender
      - FirstName
      - LastName
      - StayType
      - Nationality
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
      - 7
      - 8
    LegInfo:
      type: object
      additionalProperties: false
      properties:
        carrierCode:
          type:
          - string
          - 'null'
        flightNumber:
          type:
          - string
          - 'null'
        opSuffix:
          type:
          - string
          - 'null'
        origin:
          type:
          - string
          - 'null'
        destination:
          type:
          - string
          - 'null'
        departureTime:
          type: string
          format: date-time
        arrivalTime:
          type: string
          format: date-time
        legKey:
          type:
          - string
          - 'null'
        manifestLegKey:
          type:
          - string
          - 'null'
    MessageStatus:
      type: integer
      description: '0 = General

        1 = Warning

        2 = Critical'
      x-enumNames:
      - General
      - Warning
      - Critical
      enum:
      - 0
      - 1
      - 2
    Leg:
      type: object
      additionalProperties: false
      properties:
        legKey:
          type:
          - string
          - 'null'
        manifestLegKey:
          type:
          - string
          - 'null'
        carrierCode:
          type:
          - string
          - 'null'
        flightNumber:
          type:
          - string
          - 'null'
        opSuffix:
          type:
          - string
          - 'null'
        origin:
          type:
          - string
          - 'null'
        destination:
          type:
          - string
          - 'null'
        departureTime:
          type: string
          format: date-time
        arrivalTime:
          type: string
          format: date-time
        codeShareIndicator:
          $ref: '#/components/schemas/CodeShareIndicator'
        operatingCarrierCode:
          type:
          - string
          - 'null'
        operatingFlightNumber:
          type:
          - string
          - 'null'
        operatingOpSuffix:
          type:
          - string
          - 'null'
        status:
          $ref: '#/components/schemas/LegStatus'
        estimatedDepartureGate:
          type:
          - string
          - 'null'
        actualDepartureGate:
          type:
          - string
          - 'null'
        isVerified:
          type: boolean
        capacityCount:
          type: integer
          description: The capacity of the aircraft/equipment.
          format: int32
        soldCount:
          type: integer
          description: The number of seats sold.
          format: int32
        checkedInCount:
          type: integer
          description: The number of passengers that have checked in.
          format: int32
        boardedCount:
          type: integer
          description: The number of passengers that have boarded.
          format: int32
        noShowCount:
          type: integer
          description: The number of passengers that have not checked in.
          format: int32
    IJsonResponseOfOperationsInfo:
      type: object
      additionalProperties: false
      properties:
        data:
          $ref: '#/components/schemas/OperationsInfo'
        errors:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/ErrorResponse'
        messages:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/Message'
    CodeShareIndicator:
      type: integer
      description: 'Specifies the type of code share agreement.


        0 = NonCodeShare

        1 = CodeShareCommercialDuplicate

        2 = SharedDesignatorOrWetLease

        3 = CodeShareHostOperatingCarrier

        4 = CodeShareCommercialDuplicateWithOverrideText

        5 = SharedDesignatorOrWetLeaseWithOverrideText'
      x-enumNames:
      - NonCodeShare
      - CodeShareCommercialDuplicate
      - SharedDesignatorOrWetLease
      - CodeShareHostOperatingCarrier
      - CodeShareCommercialDuplicateWithOverrideText
      - SharedDesignatorOrWetLeaseWithOverrideText
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
    DocumentGroup:
      type: integer
      description: 'Corresponds to what NewSkies calls the DocumentType (which is different from the

        DocumentTypeCode).


        0 = Unknown

        1 = AlienRegistrationCard

        2 = PermanentResidentCard

        3 = FacilitationDocument

        4 = InsPass

        5 = MilitaryId

        6 = Passport

        7 = ReEntryPermit

        8 = CreditCard

        9 = TravelVisa

        10 = OAFrequentFlyer

        11 = ParoleLetter

        12 = NoticeOfAction

        13 = TransportationLetter

        14 = BorderCrossingCard

        15 = PilotLicense

        16 = USNaturalizationCertificate

        17 = RefugeeTravelDocument

        18 = GovernmentId

        19 = DriversLicense

        20 = RedressNumber

        21 = KnownTravelerId

        22 = FormOfId

        23 = Nexus

        24 = SecondaryExempt'
      x-enumNames:
      - Unknown
      - AlienRegistrationCard
      - PermanentResidentCard
      - FacilitationDocument
      - InsPass
      - MilitaryId
      - Passport
      - ReEntryPermit
      - CreditCard
      - TravelVisa
      - OAFrequentFlyer
      - ParoleLetter
      - NoticeOfAction
      - TransportationLetter
      - BorderCrossingCard
      - PilotLicense
      - USNaturalizationCertificate
      - RefugeeTravelDocument
      - GovernmentId
      - DriversLicense
      - RedressNumber
      - KnownTravelerId
      - FormOfId
      - Nexus
      - SecondaryExempt
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
      - 7
      - 8
      - 9
      - 10
      - 11
      - 12
      - 13
      - 14
      - 15
      - 16
      - 17
      - 18
      - 19
      - 20
      - 21
      - 22
      - 23
      - 24
    LegStatus:
      type: integer
      description: '0 = Blocked

        1 = Boarding

        2 = BoardingClosedPending

        3 = Canceled

        4 = Delayed

        5 = Departed

        6 = DepartedClosed

        7 = DepartedClosedPending

        8 = OnTime

        9 = Closed

        10 = OnTimeClosedPending

        11 = Early

        12 = Suspended

        13 = EarlyClosedPending

        14 = DelayedClosedPending'
      x-enumNames:
      - Blocked
      - Boarding
      - BoardingClosedPending
      - Canceled
      - Delayed
      - Departed
      - DepartedClosed
      - DepartedClosedPending
      - OnTime
      - Closed
      - OnTimeClosedPending
      - Early
      - Suspended
      - EarlyClosedPending
      - DelayedClosedPending
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
      - 7
      - 8
      - 9
      - 10
      - 11
      - 12
      - 13
      - 14
    GovernmentProgramType:
      type: integer
      description: '0 = None

        1 = Aqq

        2 = SecureFlight

        3 = Apps

        4 = Apis

        5 = Iapp

        6 = Eub

        7 = Iatci

        8 = DocCheck

        9 = DocsOnly

        10 = Pnrgov

        11 = DigiYatra

        12 = Pfms'
      x-enumNames:
      - None
      - Aqq
      - SecureFlight
      - Apps
      - Apis
      - Iapp
      - Eub
      - Iatci
      - DocCheck
      - DocsOnly
      - Pnrgov
      - DigiYatra
      - Pfms
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      - 5
      - 6
      - 7
      - 8
      - 9
      - 10
      - 11
      - 12
    OperationalTimes:
      type: object
      additionalProperties: false
      properties:
        estimatedTouchDownTime:
          type:
          - string
          - 'null'
          description: "Represents the estimated touch down time.\n            "
          format: date-time
        actualTouchDownTime:
          type:
          - string
          - 'null'
          description: "Represents the actual touch down time.\n            "
          format: date-time
        forcedTouchDownTime:
          type:
          - string
          - 'null'
          description: "Represents the forced touch down time.\n            "
          format: date-time
        estimatedOnBlockTime:
          type:
          - string
          - 'null'
          description: "Represents the estimated on block time.\n            "
          format: date-time
        actualOnBlockTime:
          type:
          - string
          - 'null'
          description: "Represents the actual on block time.\n            "
          format: date-time
        forcedOnBlockTime:
          type:
          - string
          - 'null'
          description: "Represents the forced on block time.\n            "
          format: date-time
        estimatedDepartureTime:
          type:
          - string
          - 'null'
          description: "Represents the estimated departure time.\n            "
          format: date-time
        offBlockTime:
          type:
          - string
          - 'null'
          description: "Represents the off-block time for this flight operation.\n            "
          format: date-time
        airborneTime:
          type:
          - string
          - 'null'
          description: "Represents the airborne time for this flight operation.\n            "
          format: date-time
        crewReportTime:
          type:
          - string
          - 'null'
          description: "Represents the crew report time for this flight operation.\n            "
          format: date-time
        takeOffTime:
          type:
          - string
          - 'null'
          description: "Represents the take-off time for this flight operation.\n            "
          format: date-time
        movementAfterPushBackTime:
          type:
          - string
          - 'null'
          description: "Represents the movement after push-back time (taxi) for this flight operation.\n            "
          format: date-time
        nextInformationTime:
          type:
          - string
          - 'null'
          description: "Represents the next information time for this flight operation.\n            "
          format: date-time
        reclearanceTime:
          type:
          - string
          - 'null'
          description: "Represents the re-clearance time for this flight operation.\n            "
          format: date-time
        returnToRampTime:
          type:
          - string
          - 'null'
          description: "Represents the return to ramp time for this flight operation.\n            "
          format: date-time
    GovernmentDocumentFieldType:
      type: integer
      description: '0 = FirstName

        1 = MiddleName

        2 = LastName

        3 = Title

        4 = Suffix

        5 = DateOfBirth

        6 = BirthCountry

        7 = Gender

        8 = Nationality

        9 = Number

        10 = IssuingCountry

        11 = ExpirationDate

        12 = IssuedDate

        13 = Verified'
      x-enumNames:
      - FirstName
      - MiddleName
      - LastName
      - Title
      - Suffix
      - DateOfBirth
      - Bir

# --- truncated at 32 KB (41 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/tui-group/refs/heads/main/openapi/tui-group-legs-api-openapi.yml