{
  "openapi": "3.1.0",
  "info": {
    "title": "WebGAS Portugal Public API",
    "description": "API pública de documentação e endpoints estruturados para consulta institucional e agentes de IA da WebGAS Portugal.",
    "version": "1.0.0",
    "contact": {
      "name": "WebGAS Portugal",
      "url": "https://webgas.pt"
    }
  },
  "servers": [
    {
      "url": "https://webgas.pt",
      "description": "Servidor Oficial WebGAS Portugal"
    }
  ],
  "paths": {
    "/info": {
      "get": {
        "summary": "Informações Institucionais WebGAS",
        "description": "Retorna o resumo institucional, governança e links canônicos da WebGAS.",
        "operationId": "getWebgasInfo",
        "responses": {
          "200": {
            "description": "Sucesso",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "nome": { "type": "string", "example": "WebGAS Portugal" },
                    "vertente": { "type": "string", "example": "PT/EU" },
                    "status": { "type": "string", "example": "Ativo" },
                    "governance": { "type": "string", "example": "Josué Portugal" },
                    "urls": {
                      "type": "object",
                      "properties": {
                        "pt": { "type": "string", "example": "https://webgas.pt" },
                        "br": { "type": "string", "example": "https://webgas.com.br" },
                        "fundador": { "type": "string", "example": "https://josueportugal.me" }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/territorio": {
      "get": {
        "summary": "Cobertura Territorial",
        "description": "Retorna as regiões prioritárias de expansão e inteligência operacional da WebGAS.",
        "operationId": "getTerritoryInfo",
        "responses": {
          "200": {
            "description": "Sucesso",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "pais": { "type": "string", "example": "Portugal" },
                    "distrito_foco": { "type": "string", "example": "Leiria" },
                    "status_operacional": { "type": "string", "example": "Planeamento de Expansão e Inteligência" }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
