{
  "openapi": "3.1.0",
  "info": {
    "title": "Tonywood.org Public Metadata API",
    "version": "0.1.4",
    "description": "Read-only public metadata for Tonywood.org discovery, MCP readiness, public status, and software inventory."
  },
  "servers": [
    {
      "url": "https://www.tonywood.org"
    },
    {
      "url": "https://mcp.tonywood.org",
      "description": "Public MCP service host"
    }
  ],
  "paths": {
    "/status.json": {
      "get": {
        "summary": "Site status and public surface metadata.",
        "responses": {
          "200": {
            "description": "Site status and public surface metadata.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/mcp.json": {
      "get": {
        "summary": "Tonywood.org public MCP discovery document.",
        "responses": {
          "200": {
            "description": "Tonywood.org public MCP discovery document.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/mcp/server-card.json": {
      "get": {
        "summary": "Machine-readable public MCP server card.",
        "responses": {
          "200": {
            "description": "Machine-readable public MCP server card.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/api-catalog": {
      "get": {
        "summary": "Public API and MCP discovery catalog.",
        "responses": {
          "200": {
            "description": "Public API and MCP discovery catalog.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/sbom.json": {
      "get": {
        "summary": "CycloneDX-style public software bill of materials.",
        "responses": {
          "200": {
            "description": "CycloneDX-style public software bill of materials.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/healthz": {
      "get": {
        "summary": "MCP service health payload. Available on https://mcp.tonywood.org/healthz.",
        "responses": {
          "200": {
            "description": "MCP service health payload. Available on https://mcp.tonywood.org/healthz.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/mcp": {
      "post": {
        "summary": "MCP Streamable HTTP endpoint",
        "description": "JSON-RPC MCP endpoint. Server-to-server clients may omit Origin. Browser clients must use an allowed Origin.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "MCP JSON-RPC response, often as text/event-stream."
          },
          "202": {
            "description": "Accepted JSON-RPC notification or response."
          },
          "400": {
            "description": "Invalid MCP request."
          },
          "403": {
            "description": "Invalid Origin header for the MCP endpoint."
          },
          "429": {
            "description": "Rate limited."
          }
        }
      }
    }
  }
}
