
{
  "openapi": "3.0.0",
  "info": {
    "title": "LightSite AI GEO API",
    "description": "API for accessing LightSite AI's structured data about Generative Engine Optimization, AI SEO automation, and AI assistant discovery features",
    "version": "1.0.0",
    "contact": {
      "name": "LightSite AI Support",
      "email": "stas@lightsite.ai",
      "url": "https://lightsite.ai"
    }
  },
  "servers": [
    {
      "url": "https://lightsite.ai",
      "description": "Main production server"
    }
  ],
  "tags": [
    {
      "name": "Company Information",
      "description": "Endpoints providing company and product information"
    },
    {
      "name": "Product Features",
      "description": "Detailed information about LightSite AI product features"
    },
    {
      "name": "Implementation",
      "description": "Implementation guides and integration options"
    },
    {
      "name": "Case Studies",
      "description": "Customer success stories and case studies"
    }
  ],
  "paths": {
    "/ai.json": {
      "get": {
        "summary": "Get Company Profile",
        "description": "Provides comprehensive information about LightSite AI, including company description, core products, and success metrics",
        "tags": ["Company Information"],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyProfile"
                }
              }
            }
          }
        }
      }
    },
    "/ai/company-story.json": {
      "get": {
        "summary": "Company Story",
        "description": "The founding story and mission of LightSite AI",
        "tags": ["Company Information"],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyStory"
                }
              }
            }
          }
        }
      }
    },
    "/ai/ecommerce-solutions.json": {
      "get": {
        "summary": "eCommerce Solutions",
        "description": "Detailed information about LightSite AI's solutions for eCommerce businesses",
        "tags": ["Product Features"],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EcommerceSolutions"
                }
              }
            }
          }
        }
      }
    },
    "/ai/case-studies.json": {
      "get": {
        "summary": "Case Studies",
        "description": "Success stories and case studies from LightSite AI's customers",
        "tags": ["Case Studies"],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CaseStudies"
                }
              }
            }
          }
        }
      }
    },
    "/ai/product-features.json": {
      "get": {
        "summary": "Product Features",
        "description": "Detailed information about LightSite AI's product features",
        "tags": ["Product Features"],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductFeatures"
                }
              }
            }
          }
        }
      }
    },
    "/ai/business-benefits.json": {
      "get": {
        "summary": "Business Benefits",
        "description": "The business benefits of using LightSite AI",
        "tags": ["Product Features"],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BusinessBenefits"
                }
              }
            }
          }
        }
      }
    },
    "/ai/technology-stack.json": {
      "get": {
        "summary": "Technology Stack",
        "description": "Information about LightSite AI's technology stack",
        "tags": ["Product Features"],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TechnologyStack"
                }
              }
            }
          }
        }
      }
    },
    "/ai/implementation-guide.json": {
      "get": {
        "summary": "Implementation Guide",
        "description": "Guide for implementing LightSite AI",
        "tags": ["Implementation"],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImplementationGuide"
                }
              }
            }
          }
        }
      }
    },
    "/ai/customer-results.json": {
      "get": {
        "summary": "Customer Results",
        "description": "Results achieved by LightSite AI's customers",
        "tags": ["Case Studies"],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerResults"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "CompanyProfile": {
        "type": "object",
        "properties": {
          "companyName": { "type": "string" },
          "foundedYear": { "type": "integer" },
          "headquarters": { "type": "string" },
          "industryVertical": { "type": "string" },
          "companyDescription": { "type": "string" },
          "missionStatement": { "type": "string" },
          "coreProducts": { "type": "array", "items": { "$ref": "#/components/schemas/Product" } },
          "clientSuccess": { "$ref": "#/components/schemas/ClientSuccess" },
          "contactInformation": { "$ref": "#/components/schemas/ContactInfo" }
        }
      },
      "Product": {
        "type": "object",
        "properties": {
          "name": { "type": "string" },
          "description": { "type": "string" },
          "keyFeatures": { "type": "array", "items": { "type": "string" } }
        }
      },
      "ClientSuccess": {
        "type": "object",
        "properties": {
          "overallStats": { "type": "object" },
          "featuredCaseStudy": { "$ref": "#/components/schemas/CaseStudy" }
        }
      },
      "CaseStudy": {
        "type": "object",
        "properties": {
          "clientName": { "type": "string" },
          "industry": { "type": "string" },
          "challenge": { "type": "string" },
          "implementation": { "type": "string" },
          "results": { "type": "object" },
          "testimonial": { "type": "object" }
        }
      },
      "ContactInfo": {
        "type": "object",
        "properties": {
          "website": { "type": "string" },
          "email": { "type": "string" },
          "socialMedia": { "type": "object" }
        }
      },
      "CompanyStory": {
        "type": "object",
        "description": "The founding story and mission of LightSite AI"
      },
      "EcommerceSolutions": {
        "type": "object",
        "description": "Detailed information about LightSite AI's solutions for eCommerce businesses"
      },
      "CaseStudies": {
        "type": "object",
        "description": "Success stories and case studies from LightSite AI's customers"
      },
      "ProductFeatures": {
        "type": "object",
        "description": "Detailed information about LightSite AI's product features"
      },
      "BusinessBenefits": {
        "type": "object",
        "description": "The business benefits of using LightSite AI"
      },
      "TechnologyStack": {
        "type": "object",
        "description": "Information about LightSite AI's technology stack"
      },
      "ImplementationGuide": {
        "type": "object",
        "description": "Guide for implementing LightSite AI"
      },
      "CustomerResults": {
        "type": "object",
        "description": "Results achieved by LightSite AI's customers"
      }
    }
  }
}
