{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bloqra/faq",
  "version": "1.0.0",
  "title": "FAQ",
  "category": "bloqra",
  "icon": "editor-help",
  "description": "Questions and answers with FAQPage structured data for rich search results. Built on the native details element — works with JavaScript disabled.",
  "keywords": [
    "faq",
    "question",
    "answer",
    "schema",
    "accordion",
    "help"
  ],
  "example": {
    "attributes": {},
    "innerBlocks": [
      {
        "name": "bloqra/faq-item",
        "attributes": {
          "question": "Do I need to write any code?",
          "defaultOpen": true
        },
        "innerBlocks": [
          {
            "name": "core/paragraph",
            "attributes": {
              "content": "No — every option is a visual control in the editor."
            }
          }
        ]
      },
      {
        "name": "bloqra/faq-item",
        "attributes": {
          "question": "Does it work with my theme?"
        }
      }
    ]
  },
  "styles": [
    {
      "name": "default",
      "label": "Default",
      "isDefault": true
    },
    {
      "name": "boxed",
      "label": "Boxed"
    },
    {
      "name": "separated",
      "label": "Separated"
    },
    {
      "name": "minimal",
      "label": "Minimal"
    }
  ],
  "attributes": {
    "exclusive": {
      "type": "boolean",
      "default": false
    },
    "openFirst": {
      "type": "boolean",
      "default": true
    },
    "alwaysOpen": {
      "type": "boolean",
      "default": false
    },
    "enableSchema": {
      "type": "boolean",
      "default": true
    },
    "iconStyle": {
      "type": "string",
      "default": "chevron",
      "enum": [
        "chevron",
        "plus"
      ]
    },
    "questionColor": {
      "type": "string",
      "default": ""
    },
    "iconColor": {
      "type": "string",
      "default": ""
    }
  },
  "supports": {
    "html": false,
    "anchor": true,
    "align": [
      "wide",
      "full"
    ],
    "listView": true,
    "color": {
      "text": true,
      "background": true,
      "gradients": true
    },
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true
    },
    "spacing": {
      "padding": true,
      "margin": true,
      "blockGap": true,
      "__experimentalSkipSerialization": [
        "blockGap"
      ],
      "__experimentalDefaultControls": {
        "blockGap": true
      }
    },
    "shadow": true,
    "typography": {
      "fontSize": true,
      "lineHeight": true,
      "__experimentalFontFamily": true,
      "__experimentalDefaultControls": {
        "fontSize": true
      }
    }
  },
  "textdomain": "bloqra",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}