{
  "openapi": "3.0.3",
  "info": {
    "title": "Pepoint Solution API",
    "description": "Public enterprise API for Pepoint Solution digital services, portfolio, blog insights, and consultation booking.",
    "version": "1.0.0",
    "contact": {
      "name": "Pepoint Solution Support",
      "email": "info@solution.pe-point.org",
      "url": "https://solution.pe-point.org/contact"
    }
  },
  "servers": [
    {
      "url": "https://solution.pe-point.org",
      "description": "Production Server"
    }
  ],
  "paths": {
    "/api/health": {
      "get": {
        "summary": "Health Check",
        "description": "Returns operational status of the Pepoint Solution API.",
        "responses": {
          "200": {
            "description": "API is operational",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": { "type": "string", "example": "ok" },
                    "timestamp": { "type": "string" }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/services": {
      "get": {
        "summary": "List Core Digital & IT Services",
        "description": "Retrieve catalog of AI, software, web, mobile, cybersecurity, and digital marketing services.",
        "responses": {
          "200": {
            "description": "List of available services",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": { "type": "string" },
                      "title": { "type": "string" },
                      "slug": { "type": "string" },
                      "description": { "type": "string" },
                      "features": { "type": "string" }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/blogs": {
      "get": {
        "summary": "Technical Insights & Articles",
        "description": "Retrieve technical blogs on AI, web development, SEO, and cybersecurity.",
        "responses": {
          "200": {
            "description": "List of articles",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": { "type": "string" },
                      "title": { "type": "string" },
                      "slug": { "type": "string" },
                      "excerpt": { "type": "string" }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/portfolio": {
      "get": {
        "summary": "Engineering Portfolio & Case Studies",
        "description": "Retrieve case studies and production deployments.",
        "responses": {
          "200": {
            "description": "List of case studies",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": { "type": "string" },
                      "title": { "type": "string" },
                      "category": { "type": "string" }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/contact": {
      "post": {
        "summary": "Submit Consultation Inquiry",
        "description": "Submit a technical consultation or project quote request.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": ["name", "email", "service", "message"],
                "properties": {
                  "name": { "type": "string" },
                  "email": { "type": "string", "format": "email" },
                  "service": { "type": "string" },
                  "message": { "type": "string" }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Inquiry successfully submitted"
          }
        }
      }
    }
  }
}
