{
  "openapi": "3.1.0",
  "info": {
    "title": "RAAK Design Studio public data",
    "version": "1.0.0",
    "description": "Read-only JSON copies of the public content on raakdesign.com: projects, services and insights articles. Generated at build time from the same data as the website. No authentication, no write operations. For inquiries use https://www.raakdesign.com/contact. Versioning: the /api/v1/ path is stable; a breaking change would be published under /api/v2/ with v1 kept for at least twelve months and announced on /developers. Errors: these are static files, so an unknown path returns the website 404 page as text/html with status 404; check the status code before parsing.",
    "contact": {
      "name": "RAAK Design Studio",
      "url": "https://www.raakdesign.com/contact",
      "email": "info@raakdesign.com"
    },
    "x-deprecation-policy": "https://www.raakdesign.com/developers",
    "x-mcp-server": {
      "url": "https://ynbtzjkxhggjauiivhcn.supabase.co/functions/v1/mcp",
      "transport": "streamable-http",
      "manifest": "https://www.raakdesign.com/.well-known/mcp.json"
    }
  },
  "servers": [
    {
      "url": "https://www.raakdesign.com"
    }
  ],
  "paths": {
    "/api/v1/projects.json": {
      "get": {
        "operationId": "listProjects",
        "summary": "All public projects with client, year, sector, services and case-study text where available",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectList"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path (served as text/html by the static host)",
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/services.json": {
      "get": {
        "operationId": "listServices",
        "summary": "The four service phases and the sector pages",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServiceList"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path (served as text/html by the static host)",
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/insights.json": {
      "get": {
        "operationId": "listInsights",
        "summary": "Published insights articles with author, date, standfirst and URL",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightList"
                }
              }
            }
          },
          "404": {
            "description": "Unknown path (served as text/html by the static host)",
            "content": {
              "text/html": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ProjectList": {
        "type": "object",
        "properties": {
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "organization": {
            "$ref": "#/components/schemas/Organization"
          },
          "projects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Project"
            }
          }
        }
      },
      "Project": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "name": {
            "type": "string"
          },
          "client": {
            "type": "string"
          },
          "year": {
            "type": "string"
          },
          "sector": {
            "type": "string"
          },
          "sectorUrl": {
            "type": "string",
            "format": "uri"
          },
          "headline": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "services": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "image": {
            "type": "string",
            "format": "uri"
          },
          "caseStudy": {
            "type": "object",
            "properties": {
              "challenge": {
                "type": "string"
              },
              "role": {
                "type": "string"
              },
              "decisions": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "constraints": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "result": {
                "type": "string"
              }
            }
          }
        }
      },
      "ServiceList": {
        "type": "object",
        "properties": {
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "organization": {
            "$ref": "#/components/schemas/Organization"
          },
          "services": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "slug": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "description": {
                  "type": "string"
                }
              }
            }
          },
          "sectors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "slug": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "description": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "InsightList": {
        "type": "object",
        "properties": {
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "insights": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "slug": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "title": {
                  "type": "string"
                },
                "standfirst": {
                  "type": "string"
                },
                "author": {
                  "type": "string"
                },
                "published": {
                  "type": "string",
                  "format": "date"
                },
                "updated": {
                  "type": "string",
                  "format": "date"
                }
              }
            }
          }
        }
      },
      "Organization": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "founded": {
            "type": "string"
          },
          "founders": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "offices": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "contact": {
            "type": "string",
            "format": "uri"
          }
        }
      },
      "Error": {
        "type": "object",
        "description": "Returned as text/html by the static host for unknown paths; documented here so clients can model the failure case.",
        "properties": {
          "status": {
            "type": "integer",
            "example": 404
          },
          "error": {
            "type": "string",
            "example": "not_found"
          },
          "message": {
            "type": "string",
            "example": "Unknown path. See https://www.raakdesign.com/developers for the available endpoints."
          }
        },
        "required": [
          "status",
          "error",
          "message"
        ]
      }
    }
  },
  "externalDocs": {
    "description": "Developer page",
    "url": "https://www.raakdesign.com/developers"
  }
}
