{
  "openapi": "3.1.0",
  "info": {
    "title": "Corey Hobbs Portfolio Discovery API",
    "version": "1.0.0",
    "description": "A read-only document index for machine discovery of Corey Hobbs' portfolio."
  },
  "servers": [
    {
      "url": "https://chobberoni.github.io/portfolio"
    }
  ],
  "paths": {
    "/": {
      "get": {
        "summary": "Fetch the human-readable portfolio homepage",
        "operationId": "getHomepage",
        "responses": {
          "200": {
            "description": "HTML portfolio page"
          }
        }
      }
    },
    "/portfolio.json": {
      "get": {
        "summary": "Fetch the structured portfolio profile",
        "operationId": "getPortfolioProfile",
        "responses": {
          "200": {
            "description": "Structured JSON summary of experience, projects, and links",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PortfolioDocument"
                }
              }
            }
          }
        }
      }
    },
    "/llms.txt": {
      "get": {
        "summary": "Fetch the LLM-oriented site summary",
        "operationId": "getLlmsTxt",
        "responses": {
          "200": {
            "description": "Markdown/plain-text summary for language models"
          }
        }
      }
    },
    "/AGENTS.md": {
      "get": {
        "summary": "Fetch instructions for autonomous agents",
        "operationId": "getAgentsMd",
        "responses": {
          "200": {
            "description": "Markdown instructions for indexing agents"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PortfolioDocument": {
        "type": "object",
        "required": ["site", "person", "experience", "projects", "documents"],
        "properties": {
          "site": {
            "type": "object"
          },
          "person": {
            "type": "object"
          },
          "experience": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "projects": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "documents": {
            "type": "object"
          }
        }
      }
    }
  }
}
