{
  "openapi": "3.1.0",
  "info": {
    "title": "David Morales portfolio",
    "version": "1.0.0",
    "description": "Public, read-only endpoints for this portfolio. No authentication.",
    "contact": {
      "name": "David Morales",
      "email": "david@heydavidmorales.com",
      "url": "https://heydavidmorales.com"
    }
  },
  "servers": [
    {
      "url": "https://heydavidmorales.com"
    }
  ],
  "paths": {
    "/profile.json": {
      "get": {
        "operationId": "getProfile",
        "summary": "Full profile in JSON Resume shape: basics, highlights, approach, work, projects, education, skills.",
        "responses": {
          "200": {
            "description": "Profile",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json"
                }
              }
            }
          }
        }
      }
    },
    "/index.md": {
      "get": {
        "operationId": "getPageMarkdown",
        "summary": "The whole page as Markdown. GET / with Accept: text/markdown returns the same.",
        "responses": {
          "200": {
            "description": "Markdown",
            "content": {
              "text/markdown": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/mcp": {
      "post": {
        "operationId": "mcp",
        "summary": "MCP server (Streamable HTTP, JSON-RPC 2.0). Tools: get_profile, list_projects, get_experience, get_role_fit, get_recruiter_faq, get_shyftoff_opportunities, search_site, check_eligibility, estimate_earnings, plan_staffing, get_contact. See /.well-known/mcp/server-card.json.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "jsonrpc",
                  "method"
                ],
                "properties": {
                  "jsonrpc": {
                    "const": "2.0"
                  },
                  "id": {},
                  "method": {
                    "type": "string"
                  },
                  "params": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON-RPC response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "202": {
            "description": "Notification accepted"
          }
        }
      }
    }
  }
}
