{
  "openapi": "3.1.0",
  "info": {
    "title": "Betterview public content API",
    "version": "1.0.0",
    "summary": "Read-only snapshots of the content published on betterview.nl.",
    "description": "Static JSON regenerated on every deploy of betterview.nl. Every operation is an unauthenticated GET with no side effects and no personal data. Prices and contract terms are deliberately excluded: read https://betterview.nl/pakketten (Dutch) or https://betterview.nl/en/packages (English), which are authoritative. The lead-capture endpoints used by the website's own forms are not part of this API and are not documented here.",
    "contact": {
      "name": "Mark Heij",
      "url": "https://betterview.nl/contact"
    },
    "license": {
      "name": "Betterview terms",
      "url": "https://betterview.nl/algemene-voorwaarden"
    }
  },
  "servers": [
    {
      "url": "https://betterview.nl",
      "description": "Production"
    }
  ],
  "externalDocs": {
    "description": "Human-readable documentation",
    "url": "https://betterview.nl/en/api"
  },
  "paths": {
    "/api/index.json": {
      "get": {
        "operationId": "getIndex",
        "summary": "Service root",
        "description": "Organization details and the list of available documents.",
        "responses": {
          "200": {
            "description": "Service root",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Index"
                }
              }
            }
          }
        }
      }
    },
    "/api/services.json": {
      "get": {
        "operationId": "getServices",
        "summary": "Services",
        "description": "Every service Betterview offers, in Dutch and English, including what each one covers and its FAQ.",
        "responses": {
          "200": {
            "description": "Services",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Services"
                }
              }
            }
          }
        }
      }
    },
    "/api/cases.json": {
      "get": {
        "operationId": "getCases",
        "summary": "Case studies",
        "description": "Published client case studies with their reported results. These are individual engagements, not industry averages.",
        "responses": {
          "200": {
            "description": "Case studies",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Cases"
                }
              }
            }
          }
        }
      }
    },
    "/api/blog.json": {
      "get": {
        "operationId": "getBlog",
        "summary": "Blog posts",
        "description": "Metadata for every published blog post, with the English counterpart URL where one exists. Article bodies are not included; fetch the page itself.",
        "responses": {
          "200": {
            "description": "Blog posts",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Blog"
                }
              }
            }
          }
        }
      }
    },
    "/api/health.json": {
      "get": {
        "operationId": "getHealth",
        "summary": "Build status",
        "description": "The state of this API at build time. betterview.nl is a static export, so this is not a live probe.",
        "responses": {
          "200": {
            "description": "Build status",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Health"
                }
              }
            }
          }
        }
      }
    },
    "/api/openapi.json": {
      "get": {
        "operationId": "getOpenapi",
        "summary": "This description",
        "description": "The OpenAPI description of this API.",
        "responses": {
          "200": {
            "description": "This description",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenApi"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Index": {
        "type": "object",
        "required": [
          "apiVersion",
          "generatedAt",
          "organization",
          "endpoints"
        ],
        "properties": {
          "apiVersion": {
            "type": "integer",
            "examples": [
              1
            ]
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "documentation": {
            "type": "string",
            "format": "uri"
          },
          "license": {
            "type": "string",
            "format": "uri"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "organization": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "founder": {
                "type": "string"
              },
              "location": {
                "type": "string"
              },
              "vatIdentifier": {
                "type": "string"
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "contact": {
                "type": "string",
                "format": "uri"
              }
            }
          },
          "endpoints": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "rel": {
                  "type": "string"
                },
                "href": {
                  "type": "string",
                  "format": "uri"
                }
              }
            }
          },
          "notes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "Services": {
        "type": "object",
        "required": [
          "apiVersion",
          "generatedAt",
          "count",
          "services"
        ],
        "properties": {
          "apiVersion": {
            "type": "integer",
            "examples": [
              1
            ]
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "documentation": {
            "type": "string",
            "format": "uri"
          },
          "license": {
            "type": "string",
            "format": "uri"
          },
          "pricing": {
            "type": "object",
            "description": "Where to read prices. They are not included in this payload by design.",
            "properties": {
              "nl": {
                "type": "string",
                "format": "uri"
              },
              "en": {
                "type": "string",
                "format": "uri"
              }
            }
          },
          "count": {
            "type": "integer"
          },
          "services": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Service"
            }
          }
        }
      },
      "Service": {
        "type": "object",
        "required": [
          "slug",
          "url",
          "name",
          "listed"
        ],
        "properties": {
          "slug": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "url_en": {
            "type": "string",
            "format": "uri"
          },
          "name": {
            "type": "string"
          },
          "name_en": {
            "type": [
              "string",
              "null"
            ]
          },
          "tagline": {
            "type": "string"
          },
          "tagline_en": {
            "type": [
              "string",
              "null"
            ]
          },
          "summary": {
            "type": "string"
          },
          "summary_en": {
            "type": [
              "string",
              "null"
            ]
          },
          "includes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "includes_en": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "string"
            }
          },
          "faq": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FaqItem"
            }
          },
          "faq_en": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FaqItem"
            }
          },
          "listed": {
            "type": "boolean",
            "description": "false means the service is still deliverable and indexed, but kept out of the navigation."
          }
        }
      },
      "FaqItem": {
        "type": "object",
        "properties": {
          "q": {
            "type": "string"
          },
          "a": {
            "type": "string"
          }
        }
      },
      "Cases": {
        "type": "object",
        "required": [
          "apiVersion",
          "generatedAt",
          "count",
          "cases"
        ],
        "properties": {
          "apiVersion": {
            "type": "integer",
            "examples": [
              1
            ]
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "documentation": {
            "type": "string",
            "format": "uri"
          },
          "license": {
            "type": "string",
            "format": "uri"
          },
          "disclaimer": {
            "type": "string"
          },
          "count": {
            "type": "integer"
          },
          "cases": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Case"
            }
          }
        }
      },
      "Case": {
        "type": "object",
        "required": [
          "slug",
          "url",
          "client"
        ],
        "properties": {
          "slug": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "client": {
            "type": "string"
          },
          "industry": {
            "type": "string"
          },
          "service": {
            "type": "string"
          },
          "service_en": {
            "type": [
              "string",
              "null"
            ]
          },
          "year": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          },
          "challenge": {
            "type": "string"
          },
          "deliverables": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "results": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                }
              }
            }
          },
          "testimonial": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "quote": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "role": {
                "type": "string"
              },
              "company": {
                "type": "string"
              }
            }
          }
        }
      },
      "Blog": {
        "type": "object",
        "required": [
          "apiVersion",
          "generatedAt",
          "count",
          "posts"
        ],
        "properties": {
          "apiVersion": {
            "type": "integer",
            "examples": [
              1
            ]
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "documentation": {
            "type": "string",
            "format": "uri"
          },
          "license": {
            "type": "string",
            "format": "uri"
          },
          "degraded": {
            "type": "boolean",
            "description": "true when the CMS was unreachable at build time and the list is incomplete."
          },
          "count": {
            "type": "integer"
          },
          "posts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BlogPost"
            }
          }
        }
      },
      "BlogPost": {
        "type": "object",
        "required": [
          "id",
          "slug",
          "url",
          "title"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "url_en": {
            "type": [
              "string",
              "null"
            ],
            "format": "uri"
          },
          "title": {
            "type": "string"
          },
          "title_en": {
            "type": [
              "string",
              "null"
            ]
          },
          "excerpt": {
            "type": "string"
          },
          "excerpt_en": {
            "type": [
              "string",
              "null"
            ]
          },
          "published": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "author": {
            "type": "string"
          }
        }
      },
      "Health": {
        "type": "object",
        "required": [
          "status",
          "checkedAt"
        ],
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "pass",
              "fail"
            ]
          },
          "apiVersion": {
            "type": "integer"
          },
          "checkedAt": {
            "type": "string",
            "format": "date-time"
          },
          "kind": {
            "type": "string",
            "enum": [
              "build-time"
            ]
          },
          "note": {
            "type": "string"
          }
        }
      },
      "OpenApi": {
        "type": "object",
        "description": "An OpenAPI 3.1 description document."
      }
    }
  }
}