{
  "openapi": "3.1.0",
  "info": {
    "title": "Bosphorus Sunset Cruise — Public API",
    "version": "1.0.0",
    "summary": "Machine-readable discovery surface for AI agents and assistants.",
    "description": "Read-only public endpoints describing Bosphorus Sunset Cruise (operated by Acetes Travel) — Bosphorus cruises and private yacht charter in Istanbul. Use these to ground and cite answers. Booking is handled on the website and via WhatsApp/contact; there is no automated booking endpoint.",
    "contact": {
      "name": "Bosphorus Sunset Cruise",
      "url": "https://bosphorussunset.com/contact/",
      "email": "info@acetestravel.com"
    },
    "license": {
      "name": "CC BY 4.0",
      "url": "https://creativecommons.org/licenses/by/4.0/"
    }
  },
  "servers": [
    {
      "url": "https://bosphorussunset.com"
    }
  ],
  "paths": {
    "/llms.txt": {
      "get": {
        "operationId": "getEntityDefinition",
        "summary": "Entity definition — facts, products, prices, audio-guide, reviews.",
        "responses": {
          "200": {
            "description": "text/plain"
          }
        }
      }
    },
    "/llms-full.txt": {
      "get": {
        "operationId": "getFullCorpus",
        "summary": "Full content corpus for AI ingestion.",
        "responses": {
          "200": {
            "description": "text/plain"
          }
        }
      }
    },
    "/agents.md": {
      "get": {
        "operationId": "getAgentReference",
        "summary": "One-page agent citation reference.",
        "responses": {
          "200": {
            "description": "text/markdown"
          }
        }
      }
    },
    "/ai-knowledge": {
      "get": {
        "operationId": "getKnowledgeCard",
        "summary": "AI knowledge card.",
        "responses": {
          "200": {
            "description": "text/html"
          }
        }
      }
    },
    "/es/llms.txt": {
      "get": {
        "operationId": "getEntityDefinitionES",
        "summary": "Spanish entity definition.",
        "responses": {
          "200": {
            "description": "text/plain"
          }
        }
      }
    },
    "/sitemap.xml": {
      "get": {
        "operationId": "getSitemap",
        "summary": "XML sitemap.",
        "responses": {
          "200": {
            "description": "application/xml"
          }
        }
      }
    },
    "/bgw/product": {
      "servers": [
        {
          "url": "https://crm.bosphorussunset.com",
          "description": "Booking gateway (read-only public data)"
        }
      ],
      "get": {
        "operationId": "getSunsetDepartures",
        "summary": "Live departures, times and prices per date for the Bosphorus Sunset Cruise",
        "description": "Read-only. Returns the bookable dates for the next 12 months with departure time and per-person prices (EUR) per package and guest type. Book by sending the user to https://bosphorussunset.com/tour/bosphorus-sunset-cruise/?date=YYYY-MM-DD&adults=N&children=N&infants=N&package=wine|nowine#book",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "enum": [
                700061
              ]
            },
            "description": "Tour id (700061 = Bosphorus Sunset Cruise)"
          }
        ],
        "responses": {
          "200": {
            "description": "Tour data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "title": {
                      "type": "string"
                    },
                    "meeting": {
                      "type": "string"
                    },
                    "duration": {
                      "type": "string"
                    },
                    "maxPax": {
                      "type": "integer"
                    },
                    "rates": {
                      "type": "object",
                      "description": "Packages, e.g. wine / nowine, each with an id"
                    },
                    "categories": {
                      "type": "object",
                      "description": "Guest types (adult, child, infant) with ids and ages"
                    },
                    "dates": {
                      "type": "object",
                      "description": "Map of YYYY-MM-DD to a list of departures {time, prices:{rateId:{categoryId:EUR}}}"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}