{
  "openapi": "3.0.0",
  "info": {
    "title": "LooCafe Knowledge API",
    "description": "Machine-readable API for LooCafe company data, statistics, products, and media coverage",
    "version": "1.0.0",
    "contact": {
      "name": "LooCafe",
      "email": "hello@loocafe.com",
      "url": "https://loocafe.com"
    }
  },
  "servers": [
    {
      "url": "https://loocafe.com/api",
      "description": "Production API"
    }
  ],
  "paths": {
    "/company.json": {
      "get": {
        "operationId": "getCompanyInfo",
        "summary": "Get comprehensive company information",
        "description": "Returns all company data including statistics, leadership, and contact information",
        "responses": {
          "200": {
            "description": "Company information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Company"
                }
              }
            }
          }
        }
      }
    },
    "/products.json": {
      "get": {
        "operationId": "getProducts",
        "summary": "Get all LooCafe products",
        "description": "Returns detailed information about LooCafe Standard, Mini, Pink, and B-CRT products",
        "responses": {
          "200": {
            "description": "Product catalog",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductCatalog"
                }
              }
            }
          }
        }
      }
    },
    "/statistics.json": {
      "get": {
        "operationId": "getStatistics",
        "summary": "Get impact statistics",
        "description": "Returns deployment numbers, jobs created, cities covered, and impact metrics",
        "responses": {
          "200": {
            "description": "Statistics data",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Statistics"
                }
              }
            }
          }
        }
      }
    },
    "/awards.json": {
      "get": {
        "operationId": "getAwards",
        "summary": "Get awards and recognition",
        "description": "Returns all awards, recognition, and partnerships",
        "responses": {
          "200": {
            "description": "Awards data",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Awards"
                }
              }
            }
          }
        }
      }
    },
    "/news.json": {
      "get": {
        "operationId": "getNews",
        "summary": "Get news and media coverage",
        "description": "Returns all news articles, media coverage, and press mentions",
        "responses": {
          "200": {
            "description": "News data",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NewsList"
                }
              }
            }
          }
        }
      }
    },
    "/feed.xml": {
      "get": {
        "operationId": "getRSSFeed",
        "summary": "Get RSS feed of news",
        "description": "Returns RSS 2.0 feed of latest news and updates",
        "responses": {
          "200": {
            "description": "RSS feed",
            "content": {
              "application/rss+xml": {}
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Company": {
        "type": "object",
        "properties": {
          "name": { "type": "string" },
          "founded": { "type": "string" },
          "headquarters": { "type": "object" },
          "leadership": { "type": "array" },
          "contact": { "type": "object" },
          "socialMedia": { "type": "object" }
        }
      },
      "ProductCatalog": {
        "type": "object",
        "properties": {
          "products": { "type": "array" }
        }
      },
      "Statistics": {
        "type": "object",
        "properties": {
          "unitsDeployed": { "type": "integer" },
          "cities": { "type": "integer" },
          "jobsCreated": { "type": "integer" },
          "monthlyUsers": { "type": "integer" }
        }
      },
      "Awards": {
        "type": "object",
        "properties": {
          "awards": { "type": "array" },
          "partnerships": { "type": "array" }
        }
      },
      "NewsList": {
        "type": "object",
        "properties": {
          "articles": { "type": "array" }
        }
      }
    }
  }
}
