{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-guide-schema.json",
  "title": "Guide",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nopaque-co-uk-guides-api-openapi.yml#/components/schemas/Guide",
  "allOf": [
    {
      "$ref": "#/$defs/GuideEntry"
    },
    {
      "type": "object",
      "required": [
        "sections"
      ],
      "properties": {
        "sections": {
          "type": "array",
          "description": "The text in order, as markdown. For a guide, one entry per numbered step.",
          "items": {
            "type": "string"
          }
        }
      }
    }
  ],
  "$defs": {
    "GuideEntry": {
      "type": "object",
      "required": [
        "slug",
        "kind",
        "group",
        "title",
        "summary"
      ],
      "properties": {
        "slug": {
          "type": "string",
          "description": "The name to pass to getGuide."
        },
        "kind": {
          "type": "string",
          "enum": [
            "guide",
            "reference"
          ],
          "description": "`guide` is a step-by-step walkthrough of the web app. `reference` is a page of facts such as pricing."
        },
        "group": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "summary": {
          "type": "string"
        }
      }
    }
  }
}