{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "nnforms/checkbox",
  "version": "0.1.0",
  "title": "Checkbox",
  "category": "nnforms",
  "icon": "yes",
  "description": "Checkbox Field",
  "parent": [
    "nnforms/form"
  ],
  "example": {},
  "supports": {
    "html": false
  },
  "attributes": {
    "id": {
      "type": "string"
    },
    "fieldLabel": {
      "type": "string",
      "default": "Checkbox"
    },
    "placeholder": {
      "type": "string",
      "default": "I agree to all terms and conditions."
    },
    "defaultValue": {
      "type": "string",
      "default": ""
    },
    "required": {
      "type": "boolean",
      "default": false
    },
    "checkedByDefault": {
      "type": "boolean",
      "default": false
    }
  },
  "inputdomain": "nnforms",
  "editorScript": "file:./index.js",
  "render": "file:./render.php"
}