{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 2,
  "name": "hizzle-forms/checkbox",
  "title": "Checkbox field",
  "description": "A checkbox field.",
  "category": "hizzle-forms",
  "keywords": [
    "form",
    "contact",
    "checkbox"
  ],
  "icon": "yes",
  "parent": [
    "hizzle-forms/form"
  ],
  "version": "1.0.0",
  "textdomain": "hizzle-forms",
  "attributes": {
    "label": {
      "type": "string",
      "default": ""
    },
    "value": {
      "type": "boolean",
      "default": false
    },
    "validation": {
      "type": "array"
    },
    "help": {
      "type": "string",
      "default": "",
      "source": "html",
      "selector": ".hizzle-forms__field-help-text"
    },
    "instanceID": {
      "type": "string"
    },
    "name": {
      "type": "string"
    }
  },
  "example": {
    "attributes": {
      "label": "Checkbox field",
      "validation": [
        {
          "name": "required"
        }
      ],
      "value": true,
      "help": "This is a checkbox field."
    }
  },
  "styles": [
    {
      "name": "hizzle-1-6",
      "label": "1/6"
    },
    {
      "name": "hizzle-2-6",
      "label": "2-6"
    },
    {
      "name": "hizzle-3-6",
      "label": "3-6"
    },
    {
      "name": "hizzle-4-6",
      "label": "4-6"
    },
    {
      "name": "hizzle-5-6",
      "label": "5/6"
    },
    {
      "name": "hizzle-full",
      "label": "Full Width",
      "isDefault": true
    }
  ],
  "supports": {
    "anchor": true,
    "spacing": {
      "margin": true,
      "padding": true
    },
    "reusable": false
  },
  "editorScript": "file:./index.js"
}