{
  "info": {
    "description": "Read-only public endpoints for calendar export, health checks, and agent discovery.",
    "title": "Hope Reformed Baptist Church public HTTP API",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/api/calendar.ics": {
      "get": {
        "parameters": [
          {
            "description": "Start date (YYYY-MM-DD) in church timezone",
            "in": "query",
            "name": "start",
            "schema": {
              "format": "date",
              "type": "string"
            }
          },
          {
            "description": "Optional event category filter",
            "in": "query",
            "name": "category",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/calendar": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "text/calendar body"
          }
        },
        "summary": "Export church calendar events as iCalendar"
      }
    },
    "/api/health": {
      "get": {
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "properties": {
                    "status": {
                      "type": "string"
                    }
                  },
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Service health"
      }
    }
  },
  "servers": [
    {
      "url": "https://hoperb.church"
    }
  ]
}