{
  "openapi": "3.1.0",
  "info": {
    "title": "The Right Accountant Research Data",
    "version": "2026-11-02",
    "description": "Read-only research on UK accountancy companies from Companies House data. Aggregate figures only. Companies, not practices.",
    "license": {
      "name": "CC BY 4.0",
      "url": "https://creativecommons.org/licenses/by/4.0/"
    }
  },
  "servers": [
    {
      "url": "https://therightaccountant.co.uk",
      "description": "Production"
    }
  ],
  "paths": {
    "/api/research.json": {
      "get": {
        "summary": "Status, ownership type, size band, company age and incorporations by year",
        "responses": {
          "200": {
            "description": "Research figures",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/filing-health.json": {
      "get": {
        "summary": "Overdue filings and charges: accountancy companies compared with all UK companies",
        "responses": {
          "200": {
            "description": "Filing figures",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/api/accounts-calendar.json": {
      "get": {
        "summary": "UK companies with accounts and confirmation statements due each month",
        "responses": {
          "200": {
            "description": "Calendar figures",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  }
}