{
  "$schema": "https://www.digitaltableteur.com/schemas/contract-spec/1.0/contract.schema.json",
  "specVersion": "1.0",
  "name": "ArticlePageTemplate",
  "status": "alpha",
  "description": "Full blog article page template.",
  "props": {
    "post": {
      "type": "BlogPostEntry",
      "optional": false,
      "description": "Blog post data"
    },
    "nav": {
      "type": "ReactNode",
      "optional": true,
      "description": "Navigation slot"
    },
    "shareBaseUrl": {
      "type": "string",
      "optional": true,
      "description": "Base URL for share links"
    },
    "showTOC": {
      "type": "boolean",
      "optional": true,
      "description": "Show table of contents"
    },
    "showRelated": {
      "type": "boolean",
      "optional": true,
      "description": "Show related posts"
    },
    "showReadingProgress": {
      "type": "boolean",
      "optional": true,
      "description": "Show reading progress"
    },
    "className": {
      "type": "string",
      "optional": true,
      "description": "Custom className"
    }
  },
  "accessibility": {
    "criteria": [
      {
        "id": "axe-no-violations",
        "statement": "Required stories produce no axe violations at the configured severity.",
        "verification": "unverified",
        "wcag": [
          "2.5.8"
        ],
        "note": "No fresh a11y evidence for 'axe-no-violations'; run npm run test:stories:matrix:ci to capture."
      },
      {
        "id": "accessibility-tree",
        "statement": "The accessibility tree (role, name, state) matches the committed snapshot for every required story.",
        "verification": "unverified",
        "wcag": [
          "1.3.1",
          "4.1.2"
        ],
        "note": "No fresh a11y evidence for 'accessibility-tree'; run npm run test:stories:matrix:ci to capture."
      },
      {
        "id": "forced-colors-real-browser",
        "statement": "The component remains legible and operable under a real browser forced-colors: active pass.",
        "verification": "unverified"
      }
    ]
  },
  "source": [
    "../../../nextjs-app/shared/patterns/ArticlePageTemplate/ArticleCode.module.css",
    "../../../nextjs-app/shared/patterns/ArticlePageTemplate/ArticleFigure.module.css",
    "../../../nextjs-app/shared/patterns/ArticlePageTemplate/ArticlePageTemplate.tsx",
    "../../../nextjs-app/shared/patterns/ArticlePageTemplate/ArticleStageList.module.css"
  ]
}
