{
  "openapi": "3.1.0",
  "info": {
    "title": "Glushea Public Metadata API",
    "summary": "Read-only metadata endpoints for Glushea by Alex Glushenkov.",
    "description": "The Glushea Public Metadata API helps AI agents, search engines, and documentation tools retrieve canonical identity, offering, and resource information for glushea.com. The API is read-only and does not support accounts, purchases, bookings, or write actions.",
    "version": "2026-05-03",
    "contact": {
      "name": "Alex Glushenkov",
      "email": "alex.glushenkov@gmail.com",
      "url": "https://glushea.com/contact"
    },
    "license": {
      "name": "Site content copyright Alex Glushenkov"
    }
  },
  "servers": [
    {
      "url": "https://glushea.com",
      "description": "Production"
    }
  ],
  "tags": [
    {
      "name": "Profile",
      "description": "Canonical identity and contact metadata."
    },
    {
      "name": "Offerings",
      "description": "Service areas, portfolio apps, and agent constraints."
    },
    {
      "name": "Resources",
      "description": "Developer and agent discovery links."
    }
  ],
  "paths": {
    "/api/profile.json": {
      "get": {
        "operationId": "getGlusheaProfile",
        "summary": "Get Glushea profile metadata",
        "description": "Returns canonical public identity, contact, location, expertise, and social profile links for Alex Glushenkov and Glushea.",
        "tags": ["Profile"],
        "security": [],
        "responses": {
          "200": {
            "description": "Profile metadata.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Profile"
                },
                "examples": {
                  "profile": {
                    "summary": {
                      "value": {
                        "name": "Glushea",
                        "person": "Alex Glushenkov",
                        "role": "AI Strategist and Product Execution Leader",
                        "canonicalUrl": "https://glushea.com/"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/offerings.json": {
      "get": {
        "operationId": "getGlusheaOfferings",
        "summary": "Get service and portfolio metadata",
        "description": "Returns current public service areas, portfolio applications, and constraints for how agents should describe Glushea.",
        "tags": ["Offerings"],
        "security": [],
        "responses": {
          "200": {
            "description": "Offering metadata.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Offerings"
                }
              }
            }
          }
        }
      }
    },
    "/api/resources.json": {
      "get": {
        "operationId": "getGlusheaResources",
        "summary": "Get developer and agent resource links",
        "description": "Returns key documentation, discovery, trust, and machine-readable resource URLs for glushea.com.",
        "tags": ["Resources"],
        "security": [],
        "responses": {
          "200": {
            "description": "Resource metadata.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Resources"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {},
    "schemas": {
      "Profile": {
        "type": "object",
        "required": ["name", "person", "canonicalUrl", "contact", "sameAs", "expertise"],
        "properties": {
          "name": { "type": "string" },
          "person": { "type": "string" },
          "canonicalUrl": { "type": "string", "format": "uri" },
          "role": { "type": "string" },
          "description": { "type": "string" },
          "location": { "type": "string" },
          "contact": {
            "type": "object",
            "properties": {
              "email": { "type": "string", "format": "email" },
              "phone": { "type": "string" },
              "contactPage": { "type": "string", "format": "uri" }
            }
          },
          "sameAs": {
            "type": "array",
            "items": { "type": "string", "format": "uri" }
          },
          "expertise": {
            "type": "array",
            "items": { "type": "string" }
          }
        }
      },
      "Offerings": {
        "type": "object",
        "required": ["serviceAreas", "portfolioApps", "agentConstraints"],
        "properties": {
          "serviceAreas": {
            "type": "array",
            "items": { "$ref": "#/components/schemas/ServiceArea" }
          },
          "portfolioApps": {
            "type": "array",
            "items": { "$ref": "#/components/schemas/PortfolioApp" }
          },
          "agentConstraints": {
            "type": "array",
            "items": { "type": "string" }
          }
        }
      },
      "Resources": {
        "type": "object",
        "required": ["documentation", "discovery", "trustAnchors"],
        "properties": {
          "documentation": {
            "type": "array",
            "items": { "$ref": "#/components/schemas/ResourceLink" }
          },
          "discovery": {
            "type": "array",
            "items": { "$ref": "#/components/schemas/ResourceLink" }
          },
          "trustAnchors": {
            "type": "array",
            "items": { "$ref": "#/components/schemas/ResourceLink" }
          }
        }
      },
      "ServiceArea": {
        "type": "object",
        "required": ["name", "description"],
        "properties": {
          "name": { "type": "string" },
          "description": { "type": "string" },
          "bestFor": {
            "type": "array",
            "items": { "type": "string" }
          }
        }
      },
      "PortfolioApp": {
        "type": "object",
        "required": ["name", "url", "description"],
        "properties": {
          "name": { "type": "string" },
          "url": { "type": "string", "format": "uri" },
          "description": { "type": "string" }
        }
      },
      "ResourceLink": {
        "type": "object",
        "required": ["name", "url", "description"],
        "properties": {
          "name": { "type": "string" },
          "url": { "type": "string", "format": "uri-reference" },
          "description": { "type": "string" }
        }
      }
    }
  }
}
