{
  "openapi": "3.1.0",
  "info": {
    "title": "Signature Island Public Retail Pricing",
    "version": "1.0.0",
    "description": "Read-only USD retail projections from existing selling-price engines. No customer, payment, supplier-cost, markup or admin data. Responses are no-store and each request reads approved rates; calculatedAt is retrieval time, not a price lock. Only confirmed_price is calculable; quote_required and unavailable must not be treated as zero. Cruise timing still requires a selected sailing. Full/deposit choices unchanged."
  },
  "servers": [
    {
      "url": "https://www.signatureislandtransfers.com"
    }
  ],
  "paths": {
    "/api/public/v1/pricing": {
      "get": {
        "operationId": "listCurrentPrices",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 10000,
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Current price or conditional quote. No booking is created.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Invalid or repeated input parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "description": "Unknown pricing section",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "414": {
            "description": "Request too long",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "429": {
            "description": "120 requests per 60 seconds per caller; Retry-After header",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "503": {
            "description": "Required pricing or durable rate limiter unavailable; no fallback price",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/public/v1/pricing/{section}": {
      "get": {
        "operationId": "listPricesBySection",
        "parameters": [
          {
            "name": "section",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "airport-transfers",
                "tours",
                "cruise-excursions",
                "packages",
                "private-transportation",
                "extras"
              ]
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 10000,
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Current price or conditional quote. No booking is created.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Invalid or repeated input parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "description": "Unknown pricing section",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "414": {
            "description": "Request too long",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "429": {
            "description": "120 requests per 60 seconds per caller; Retry-After header",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "503": {
            "description": "Required pricing or durable rate limiter unavailable; no fallback price",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/public/v1/quote": {
      "get": {
        "operationId": "calculateRetailQuote",
        "parameters": [
          {
            "name": "service",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "airport-transfers",
                "tours",
                "cruise-excursions",
                "packages",
                "private-transportation",
                "extras"
              ]
            }
          },
          {
            "name": "serviceId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 100
            }
          },
          {
            "name": "airport",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "MBJ",
                "KIN"
              ],
              "default": "MBJ"
            }
          },
          {
            "name": "zone",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "default": "Montego Bay",
              "maxLength": 100
            }
          },
          {
            "name": "portId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "vehicle",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "sedan",
                "suv",
                "van",
                "minibus",
                "luxury_sedan"
              ],
              "default": "sedan"
            }
          },
          {
            "name": "tripType",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "one-way",
                "round-trip"
              ],
              "default": "one-way"
            }
          },
          {
            "name": "activity",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "arrival",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "departure",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "ages",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Comma-separated integer ages. Required for packages."
            }
          },
          {
            "name": "paymentPlan",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "full",
                "deposit"
              ],
              "default": "full"
            }
          },
          {
            "name": "adults",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 25,
              "default": 1
            }
          },
          {
            "name": "children",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 24,
              "default": 0
            }
          },
          {
            "name": "infants",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 24,
              "default": 0
            }
          },
          {
            "name": "luggage",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "maximum": 100,
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Current price or conditional quote. No booking is created.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "Invalid or repeated input parameters",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "description": "Unknown pricing section",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "414": {
            "description": "Request too long",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "429": {
            "description": "120 requests per 60 seconds per caller; Retry-After header",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "503": {
            "description": "Required pricing or durable rate limiter unavailable; no fallback price",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PriceStatus": {
        "type": "string",
        "enum": [
          "confirmed_price",
          "quote_required",
          "unavailable",
          "invalid_request",
          "rate_limited"
        ]
      },
      "RetailQuote": {
        "type": "object",
        "properties": {
          "version": {
            "const": "1"
          },
          "currency": {
            "const": "USD"
          },
          "status": {
            "$ref": "#/components/schemas/PriceStatus"
          },
          "calculatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "subtotal": {
            "type": "number"
          },
          "serviceFee": {
            "type": "number"
          },
          "finalPayableTotal": {
            "type": "number"
          },
          "dueNow": {
            "type": "number"
          },
          "dueLater": {
            "type": "number"
          },
          "conditions": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}
