{
  "openapi": "3.1.0",
  "info": {
    "title": "Todd's Unique Dining Public API",
    "version": "1.0.0",
    "description": "Public, read-only endpoints and agent-discovery resources for toddsunique.com."
  },
  "servers": [
    {
      "url": "https://toddsunique.com/",
      "description": "Production"
    }
  ],
  "paths": {
    "/sitemap.xml": {
      "get": {
        "summary": "XML sitemap",
        "description": "Machine-readable list of public pages and last-modified dates.",
        "responses": {
          "200": {
            "description": "Sitemap XML",
            "content": {
              "application/xml": {}
            }
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "summary": "LLM-friendly site description",
        "description": "Plain-text overview of the restaurant for AI agents and crawlers.",
        "responses": {
          "200": {
            "description": "Plain text site description",
            "content": {
              "text/plain": {}
            }
          }
        }
      }
    },
    "/robots.txt": {
      "get": {
        "summary": "Robots directives",
        "description": "Crawler directives including AI content usage preferences.",
        "responses": {
          "200": {
            "description": "Robots directives",
            "content": {
              "text/plain": {}
            }
          }
        }
      }
    },
    "/api/health": {
      "get": {
        "summary": "Health check",
        "description": "Returns the current status of the public API surface.",
        "responses": {
          "200": {
            "description": "Health status",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": { "type": "string", "example": "ok" },
                    "service": { "type": "string", "example": "toddsunique-public-api" }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/menu": {
      "get": {
        "summary": "Menu page",
        "description": "HTML menu with food, cocktails, wine, spirits, and beer.",
        "responses": {
          "200": {
            "description": "HTML menu page"
          }
        }
      }
    },
    "/reservations": {
      "get": {
        "summary": "Reservations page",
        "description": "HTML reservations page with OpenTable integration.",
        "responses": {
          "200": {
            "description": "HTML reservations page"
          }
        }
      }
    },
    "/contact": {
      "get": {
        "summary": "Contact page",
        "description": "HTML contact page with location, hours, and inquiry form.",
        "responses": {
          "200": {
            "description": "HTML contact page"
          }
        }
      }
    },
    "/private-dining": {
      "get": {
        "summary": "Private dining page",
        "description": "HTML private dining and events inquiry page.",
        "responses": {
          "200": {
            "description": "HTML private dining page"
          }
        }
      }
    }
  }
}
