{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/american-airlines/refs/heads/main/json-schema/runway-developer-api-flight-schema.json",
  "title": "Flight",
  "description": "Flight schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "flightNumber": {
      "type": "string"
    },
    "origin": {
      "type": "string"
    },
    "destination": {
      "type": "string"
    },
    "departureTime": {
      "type": "string",
      "format": "date-time"
    },
    "arrivalTime": {
      "type": "string",
      "format": "date-time"
    },
    "status": {
      "type": "string"
    }
  }
}