{
  "$schema": "https://www.digitaltableteur.com/schemas/contract-spec/1.0/contract.schema.json",
  "specVersion": "1.0",
  "name": "ArticleHero",
  "status": "alpha",
  "description": "Blog article hero with title, meta, and cover.",
  "props": {
    "title": {
      "type": "string",
      "optional": false,
      "description": "Article title"
    },
    "image": {
      "type": "{\n    src: string;\n    alt: string;\n    caption?: string;\n  }",
      "optional": true,
      "description": "Featured image"
    },
    "author": {
      "type": "{\n    name: string;\n    slug?: string;\n    imageUrl?: string;\n  }",
      "optional": true,
      "description": "Author information"
    },
    "publishedAt": {
      "type": "string",
      "optional": true,
      "description": "Publication date (ISO string)"
    },
    "readTime": {
      "type": "string",
      "optional": true,
      "description": "Read time (e.g., \"5 min read\")"
    },
    "tags": {
      "type": "string[]",
      "optional": true,
      "description": "Article tags"
    },
    "variant": {
      "type": "union",
      "values": [
        "contained",
        "minimal",
        "full-width"
      ],
      "optional": true,
      "description": "Layout variant"
    },
    "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/ArticleHero/ArticleHero.tsx"
  ]
}
