{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Features Block",
  "description": "Grid of feature cards with icons and descriptions",
  "type": "object",
  "properties": {
    "section_title": {
      "type": "string",
      "title": "Section Title",
      "description": "Optional title above the feature cards",
      "x-editor": "text"
    },
    "columns": {
      "type": "integer",
      "title": "Columns",
      "description": "Number of columns (1-4)",
      "x-editor": "number",
      "minimum": 1,
      "maximum": 4,
      "default": 3
    },
    "features": {
      "type": "array",
      "title": "Features",
      "description": "List of feature cards",
      "default": [],
      "x-editor": "array",
      "items": {
        "type": "object",
        "properties": {
          "icon": {
            "type": "string",
            "title": "Icon",
            "description": "Icon name (chart, users, clock, star)",
            "x-editor": "select",
            "enum": ["", "chart", "users", "clock", "star"]
          },
          "title": {
            "type": "string",
            "title": "Title",
            "description": "Feature title",
            "x-editor": "text"
          },
          "description": {
            "type": "string",
            "title": "Description",
            "description": "Feature description",
            "x-editor": "textarea"
          }
        },
        "required": ["title"]
      }
    }
  }
}
