{
  "openapi": "3.1.0",
  "info": {
    "title": "MyLinedChart Public API",
    "version": "1.0.0",
    "description": "Minimal public API description for the MyLinedChart website health endpoint."
  },
  "servers": [
    {
      "url": "https://mylinedchart.com"
    }
  ],
  "paths": {
    "/api/health": {
      "get": {
        "operationId": "getPublicHealth",
        "summary": "Get public website health",
        "description": "Returns JSON service health information for the public website.",
        "responses": {
          "200": {
            "description": "Public website health response.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": ["ok", "service", "timestamp"],
                  "properties": {
                    "ok": {
                      "type": "boolean"
                    },
                    "service": {
                      "type": "string",
                      "enum": ["mylinedchart-web"]
                    },
                    "timestamp": {
                      "type": "string",
                      "format": "date-time"
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          }
        }
      }
    }
  }
}
