{
  "$schema": "https://www.digitaltableteur.com/schemas/contract-spec/1.0/contract.schema.json",
  "specVersion": "1.0",
  "name": "ValuesSection",
  "status": "alpha",
  "description": "Studio values section for about page.",
  "props": {
    "title": {
      "type": "string",
      "optional": false,
      "description": "Section title"
    },
    "subtitle": {
      "type": "string",
      "optional": true,
      "description": "Optional subtitle/intro text"
    },
    "values": {
      "type": "ValueItem[]",
      "optional": false,
      "description": "Array of values to display"
    },
    "cardVariant": {
      "type": "union",
      "values": [
        "default",
        "bordered",
        "elevated",
        "terminal"
      ],
      "optional": true,
      "description": "Card variant. `terminal` renders each value as a TerminalCard: title and `meta` in the header band, description below."
    },
    "background": {
      "type": "union",
      "values": [
        "default",
        "muted",
        "accent"
      ],
      "optional": true,
      "description": "Background variant"
    },
    "columns": {
      "type": "union",
      "values": [
        "two",
        "three"
      ],
      "optional": true,
      "description": "Responsive grid column preset"
    },
    "backgroundImage": {
      "type": "string",
      "optional": true,
      "description": "Full-bleed image behind the section (a public URL). The heading and intro sit on plates in the primary colour with inverted text."
    },
    "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/ValuesSection/ValuesSection.tsx"
  ]
}
