{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "nws-sendy/sendy-form",
  "version": "0.1.0",
  "title": "Sendy Form",
  "category": "widgets",
  "icon": "email",
  "description": "A block to display a subscription form integrated with Sendy.",
  "example": {},
  "attributes": {
    "nameLabel": {
      "type": "string",
      "default": "Name"
    },
    "namePlaceholder": {
      "type": "string",
      "default": "Enter your name"
    },
    "emailLabel": {
      "type": "string",
      "default": "Email"
    },
    "emailPlaceholder": {
      "type": "string",
      "default": "Enter your email"
    },
    "buttonText": {
      "type": "string",
      "default": "Subscribe"
    },
    "listId": {
      "type": "string",
      "default": ""
    },
    "showNameField": {
      "type": "boolean",
      "default": true
    },
    "silent": {
      "type": "boolean",
      "default": false
    },
    "showGdpr": {
      "type": "boolean",
      "default": true
    },
    "gdprText": {
      "type": "string",
      "default": "I agree to the <a href=\"/privacy-policy/\">processing of personal data</a>"
    }
  },
  "supports": {
    "html": false,
    "innerBlocks": true
  },
  "textdomain": "sendy-form",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js"
}