{
  "openapi": "3.1.0",
  "info": {
    "title": "Hamburg zu zweit Public Guide API",
    "version": "1.0.0",
    "description": "Read-only structured discovery API for curated couple date ideas, activities, restaurants, culture, parks, sights, and day trips in Hamburg, Germany. Designed for AI assistants and agents.",
    "contact": {
      "name": "Hamburg zu zweit",
      "url": "https://hamburgzuzweit.de/"
    }
  },
  "servers": [
    {
      "url": "https://hamburgzuzweit.de",
      "description": "Production"
    }
  ],
  "paths": {
    "/api/public/spots.json": {
      "get": {
        "operationId": "searchHamburgDateSpots",
        "summary": "Search and filter curated date ideas and activities in Hamburg",
        "description": "Returns curated Hamburg spots with verified per-person prices, duration, indoor/outdoor weather suitability, HVV transit info, ratings, and canonical URLs. Supports both structured filters and natural-language German queries.",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Natural-language German query or keywords (e.g. \"Romantisch bei Regen unter 20 €\", \"Alster Café\", \"Miniatur Wunderland\").",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "required": false,
            "description": "Filter by category ID.",
            "schema": {
              "type": "string",
              "enum": [
                "aktivitaeten",
                "restaurants",
                "kultur",
                "parks",
                "sehenswuerdigkeiten",
                "ausflugsziele"
              ]
            }
          },
          {
            "name": "weather",
            "in": "query",
            "required": false,
            "description": "Filter by indoor/outdoor suitability.",
            "schema": {
              "type": "string",
              "enum": [
                "indoor",
                "outdoor",
                "both"
              ]
            }
          },
          {
            "name": "priceLevel",
            "in": "query",
            "required": false,
            "description": "Filter by price tier.",
            "schema": {
              "type": "string",
              "enum": [
                "kostenlos",
                "€",
                "€€",
                "€€€"
              ]
            }
          },
          {
            "name": "maxPrice",
            "in": "query",
            "required": false,
            "description": "Maximum price per person in EUR (use 0 for free spots only).",
            "schema": {
              "type": "number",
              "minimum": 0
            }
          },
          {
            "name": "district",
            "in": "query",
            "required": false,
            "description": "Filter by Hamburg district name (e.g. \"Altona\", \"HafenCity\", \"Sternschanze\").",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "bookable",
            "in": "query",
            "required": false,
            "description": "Set to true to return only spots with online ticket/booking links.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum number of spots to return (1–250, default 50).",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 250,
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching Hamburg date spots",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "portal": {
                      "type": "string"
                    },
                    "city": {
                      "type": "string"
                    },
                    "language": {
                      "type": "string"
                    },
                    "totalMatches": {
                      "type": "integer"
                    },
                    "returned": {
                      "type": "integer"
                    },
                    "spots": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "category": {
                            "type": "string"
                          },
                          "categoryLabel": {
                            "type": "string"
                          },
                          "district": {
                            "type": "string"
                          },
                          "address": {
                            "type": "string"
                          },
                          "hvvStation": {
                            "type": "string"
                          },
                          "weather": {
                            "type": "string",
                            "enum": [
                              "indoor",
                              "outdoor",
                              "both"
                            ]
                          },
                          "weatherLabel": {
                            "type": "string"
                          },
                          "priceLevel": {
                            "type": "string"
                          },
                          "pricePerPerson": {
                            "type": "string"
                          },
                          "duration": {
                            "type": "string"
                          },
                          "openingHours": {
                            "type": "string"
                          },
                          "rating": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "reviewCount": {
                            "type": [
                              "integer",
                              "null"
                            ]
                          },
                          "shortDescription": {
                            "type": "string"
                          },
                          "insiderTip": {
                            "type": "string"
                          },
                          "officialUrl": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "bookingUrl": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "lastVerifiedAt": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "operationId": "getLlmsSummary",
        "summary": "Markdown guide summary for LLMs and AI agents",
        "responses": {
          "200": {
            "description": "Markdown summary document",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/llms-full.txt": {
      "get": {
        "operationId": "getLlmsFullCatalog",
        "summary": "Complete Markdown catalog of all Hamburg date spots",
        "responses": {
          "200": {
            "description": "Full Markdown catalog document",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}