Southwest Airlines · Schema

Southwest Airlines Reservation

A Southwest Airlines flight reservation (PNR) including passenger details, itinerary, fare, and rapid rewards information.

Fortune 500AirlinesAviationTravel

Properties

Name Type Description
confirmationNumber string Six-character alphanumeric Southwest Airlines confirmation (PNR) code.
passengers array List of passengers on this reservation.
itinerary array List of flight segments in the travel itinerary.
totalFare number Total fare paid for this reservation in US dollars.
pointsUsed integer Number of Rapid Rewards points applied to this reservation.
earlyBirdPurchased boolean Whether EarlyBird Check-In was purchased for this reservation.
createdAt string Timestamp when the reservation was created.
View JSON Schema on GitHub

JSON Schema

southwest-airlines-reservation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/southwest-airlines/json-schema/southwest-airlines-reservation-schema.json",
  "title": "Southwest Airlines Reservation",
  "description": "A Southwest Airlines flight reservation (PNR) including passenger details, itinerary, fare, and rapid rewards information.",
  "type": "object",
  "properties": {
    "confirmationNumber": {
      "type": "string",
      "description": "Six-character alphanumeric Southwest Airlines confirmation (PNR) code.",
      "example": "ABC123",
      "minLength": 6,
      "maxLength": 6
    },
    "passengers": {
      "type": "array",
      "description": "List of passengers on this reservation.",
      "items": {
        "type": "object",
        "properties": {
          "firstName": { "type": "string" },
          "lastName": { "type": "string" },
          "rapidRewardsNumber": { "type": "string" },
          "knownTravelerNumber": { "type": "string" },
          "boardingGroup": { "type": "string", "enum": ["A", "B", "C"] },
          "boardingPosition": { "type": "integer", "minimum": 1, "maximum": 60 }
        },
        "required": ["firstName", "lastName"]
      }
    },
    "itinerary": {
      "type": "array",
      "description": "List of flight segments in the travel itinerary.",
      "items": {
        "type": "object",
        "properties": {
          "flightNumber": { "type": "string" },
          "departureAirportCode": { "type": "string" },
          "arrivalAirportCode": { "type": "string" },
          "departureDateTime": { "type": "string", "format": "date-time" },
          "arrivalDateTime": { "type": "string", "format": "date-time" },
          "fareClass": {
            "type": "string",
            "enum": ["Wanna Get Away", "Wanna Get Away Plus", "Anytime", "Business Select"]
          }
        },
        "required": ["flightNumber", "departureAirportCode", "arrivalAirportCode"]
      }
    },
    "totalFare": {
      "type": "number",
      "description": "Total fare paid for this reservation in US dollars.",
      "minimum": 0
    },
    "pointsUsed": {
      "type": "integer",
      "description": "Number of Rapid Rewards points applied to this reservation.",
      "minimum": 0
    },
    "earlyBirdPurchased": {
      "type": "boolean",
      "description": "Whether EarlyBird Check-In was purchased for this reservation."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the reservation was created."
    }
  },
  "required": ["confirmationNumber", "passengers", "itinerary"]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/southwest-airlines-reservation"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.