{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gojinko-com/json-schema/gojinko-com-post-v1-lowest-fare-request-schema.json",
  "title": "PostV1LowestFareRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/gojinko-com-openapi-generated.yml#/components/schemas/PostV1LowestFareRequest",
  "type": "object",
  "properties": {
    "origins": {
      "type": "array"
    },
    "destinations": {
      "type": "array"
    },
    "origin_type": {
      "type": "string"
    },
    "destination_type": {
      "type": "string"
    },
    "departure_dates": {
      "type": "array"
    },
    "departure_date_ranges": {
      "type": "array"
    },
    "return_dates": {
      "type": "array"
    },
    "return_date_ranges": {
      "type": "array"
    },
    "stay_days": {
      "type": "integer"
    },
    "stay_days_range": {
      "type": "object"
    },
    "trip_type": {
      "type": "string"
    },
    "cabin_class": {
      "type": "string"
    },
    "direct_only": {
      "type": "boolean"
    },
    "accuracy": {
      "type": "string"
    },
    "include_carriers": {
      "type": "array"
    },
    "exclude_carriers": {
      "type": "array"
    },
    "max_total": {
      "type": "number"
    },
    "currency": {
      "type": "string"
    },
    "locale": {
      "type": "string"
    },
    "limit": {
      "type": "integer"
    },
    "offset": {
      "type": "integer"
    },
    "sort_by": {
      "type": "string"
    },
    "intent": {
      "type": "integer"
    },
    "max_stops": {
      "type": "integer"
    },
    "departure_time_range": {
      "type": "string"
    },
    "arrival_time_range": {
      "type": "string"
    },
    "return_departure_time_range": {
      "type": "string"
    },
    "return_arrival_time_range": {
      "type": "string"
    },
    "origin_radius_km": {
      "type": "number"
    },
    "destination_radius_km": {
      "type": "number"
    }
  },
  "required": [
    "origins",
    "trip_type"
  ]
}