{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Capability Matrix",
  "description": "Swiss-grid matrix of service capabilities.",
  "type": "object",
  "properties": {
    "eyebrow": { "type": "string", "title": "Eyebrow", "x-editor": "text" },
    "heading": { "type": "string", "title": "Heading", "x-editor": "text" },
    "intro": { "type": "string", "title": "Intro", "x-editor": "textarea" },
    "columns": {
      "type": "integer",
      "title": "Columns",
      "enum": [2, 3, 4],
      "default": 3,
      "x-editor": "select"
    },
    "capabilities": {
      "type": "array",
      "title": "Capabilities",
      "x-editor": "collection",
      "items": {
        "type": "object",
        "properties": {
          "mark": {
            "type": "string",
            "title": "Mark",
            "description": "Bauhaus mark: circle, triangle, or square",
            "enum": ["circle", "triangle", "square"],
            "default": "square",
            "x-editor": "select"
          },
          "title": { "type": "string", "title": "Title", "x-editor": "text" },
          "text": { "type": "string", "title": "Description", "x-editor": "textarea" }
        }
      }
    }
  }
}
