{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "codeflist-block-kit/faq",
  "version": "1.0.0",
  "title": "FAQ Section",
  "category": "codeflist-block-kit",
  "icon": "editor-help",
  "description": "A frequently-asked-questions accordion with multiple visual templates and per-field show/hide controls.",
  "supports": {
    "html": false,
    "align": [
      "wide",
      "full"
    ]
  },
  "textdomain": "codeflist-block-kit",
  "example": {},
  "attributes": {
    "align": {
      "type": "string",
      "default": "wide"
    },
    "layout": {
      "type": "string",
      "default": "template-1"
    },
    "showTitle": {
      "type": "boolean",
      "default": true
    },
    "showDate": {
      "type": "boolean",
      "default": false
    },
    "showIcon": {
      "type": "boolean",
      "default": true
    },
    "borderColor": {
      "type": "string",
      "default": ""
    },
    "activeColor": {
      "type": "string",
      "default": ""
    },
    "titleColor": {
      "type": "string",
      "default": ""
    },
    "backgroundColor": {
      "type": "string",
      "default": ""
    },
    "iconColor": {
      "type": "string",
      "default": ""
    },
    "faqs": {
      "type": "array",
      "default": [
        {
          "title": "What is Codeflist Block Kit?",
          "icon": "fa-question-circle",
          "date": "",
          "description": "Codeflist Block Kit is a collection of ready-to-use Gutenberg blocks for building modern WordPress pages without touching code."
        },
        {
          "title": "Can I customize the design?",
          "icon": "fa-paint-brush",
          "date": "",
          "description": "Yes, every block ships with multiple layout templates and toggles for the content you want to show or hide."
        },
        {
          "title": "Do I need to know how to code?",
          "icon": "fa-code",
          "date": "",
          "description": "Not at all. Everything is managed visually from the block editor's sidebar."
        }
      ]
    }
  },
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js",
  "render": "file:./render.php"
}