{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/awardclaw-com/json-schema/awardclaw-com-watch-input-schema.json",
  "title": "WatchInput",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/awardclaw-com-openapi.json#/components/schemas/WatchInput",
  "type": "object",
  "required": [
    "origin",
    "destination",
    "month_from"
  ],
  "properties": {
    "origin": {
      "type": "string",
      "description": "US/Canada departure airport AwardClaw scans"
    },
    "destination": {
      "type": "string",
      "description": "Airport code or region: europe, japan, asia, middle_east, oceania, south_america, africa"
    },
    "month_from": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}$"
    },
    "month_to": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}$",
      "description": "Up to 3 months; defaults to month_from"
    },
    "round_trip": {
      "type": "boolean",
      "default": true,
      "description": "Outbound in the months plus a return 5-21 days later"
    },
    "cabin": {
      "type": "string",
      "enum": [
        "Business",
        "First"
      ]
    },
    "seats": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9
    },
    "max_miles": {
      "type": [
        "integer",
        "null"
      ]
    }
  }
}