{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "capture/form",
  "version": "0.1.0",
  "title": "Capture Form",
  "category": "widgets",
  "description": "A container for email capture form fields and submit button.",
  "attributes": {
    "emsConnectionId": {
      "type": "string",
      "default": ""
    },
    "selectedListId": {
      "type": "string",
      "default": ""
    },
    "formId": {
      "type": "string",
      "default": ""
    },
    "successMessage": {
      "type": "string",
      "default": ""
    },
    "disableCoreStyles": {
      "type": "boolean",
      "default": false
    },
    "inputTextColor": {
      "type": "string",
      "default": ""
    },
    "inputBackgroundColor": {
      "type": "string",
      "default": ""
    },
    "inputBorder": {
      "type": "object",
      "default": {}
    }
  },
  "supports": {
    "html": false,
    "multiple": true,
    "background": {
      "backgroundImage": false,
      "backgroundSize": false
    },
    "color": {
      "background": true,
      "text": false
    },
    "align": [
      "wide",
      "full"
    ],
    "__experimentalBorder": {
      "color": true,
      "radius": true,
      "style": true,
      "width": true
    },
    "spacing": {
      "margin": true,
      "padding": true,
      "blockGap": true,
      "__experimentalDefaultControls": {
        "blockGap": true
      }
    },
    "layout": {
      "allowEditing": false,
      "default": {
        "type": "flex",
        "orientation": "vertical",
        "justifyContent": "stretch"
      }
    }
  },
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "render": "file:./render.php",
  "viewScript": "capture-form-frontend"
}