{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "formello/fieldset",
  "title": "Fieldset",
  "ancestor": [
    "formello/form"
  ],
  "description": "A block to display form fieldset.",
  "category": "formello",
  "textdomain": "formello",
  "allowedBlocks": [
    "core/paragraph",
    "core/heading",
    "core/columns",
    "core/group",
    "core/separator",
    "formello/input",
    "formello/textarea",
    "formello/button",
    "formello/output",
    "formello/select",
    "formello/multichoices"
  ],
  "attributes": {
    "showLegend": {
      "type": "boolean",
      "default": true
    },
    "legend": {
      "type": "string",
      "source": "text",
      "selector": "legend",
      "default": "Legend"
    }
  },
  "supports": {
    "anchor": true,
    "html": false,
    "color": {
      "text": true
    },
    "spacing": {
      "padding": true
    },
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true,
      "__experimentalDefaultControls": {
        "color": true,
        "radius": true,
        "style": true,
        "width": true
      }
    }
  },
  "example": {
    "attributes": {
      "legend": "Preferences"
    },
    "innerBlocks": [
      {
        "name": "formello/input",
        "attributes": {
          "label": "Job"
        }
      },
      {
        "name": "formello/textarea",
        "attributes": {
          "label": "Description"
        }
      }
    ]
  },
  "editorScript": "file:./index.js"
}