{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "title": "Form",
  "name": "slate/form",
  "category": "slate-blocks",
  "textdomain": "slate-blocks",
  "keywords": [
    "contact",
    "marketing",
    "KB"
  ],
  "attributes": {
    "uniqueID": {
      "type": "string",
      "default": ""
    },
    "postID": {
      "type": "string",
      "default": ""
    },
    "hAlign": {
      "type": "string",
      "default": ""
    },
    "fields": {
      "type": "array",
      "default": [
        {
          "label": "Name",
          "showLabel": true,
          "placeholder": "",
          "default": "",
          "description": "",
          "rows": 4,
          "options": [
            {
              "value": "",
              "label": ""
            }
          ],
          "multiSelect": false,
          "inline": false,
          "showLink": false,
          "min": "",
          "max": "",
          "type": "text",
          "required": false,
          "width": [
            "100",
            "",
            ""
          ],
          "auto": "",
          "errorMessage": "",
          "requiredMessage": "",
          "slug": "",
          "ariaLabel": ""
        },
        {
          "label": "Email",
          "showLabel": true,
          "placeholder": "",
          "default": "",
          "description": "",
          "rows": 4,
          "options": [
            {
              "value": "",
              "label": ""
            }
          ],
          "multiSelect": false,
          "inline": false,
          "showLink": false,
          "min": "",
          "max": "",
          "type": "email",
          "required": true,
          "width": [
            "100",
            "",
            ""
          ],
          "auto": "",
          "errorMessage": "",
          "requiredMessage": "",
          "slug": "",
          "ariaLabel": ""
        },
        {
          "label": "Message",
          "showLabel": true,
          "placeholder": "",
          "default": "",
          "description": "",
          "rows": 4,
          "options": [
            {
              "value": "",
              "label": ""
            }
          ],
          "multiSelect": false,
          "inline": false,
          "showLink": false,
          "min": "",
          "max": "",
          "type": "textarea",
          "required": true,
          "width": [
            "100",
            "",
            ""
          ],
          "auto": "",
          "errorMessage": "",
          "requiredMessage": "",
          "slug": "",
          "ariaLabel": ""
        }
      ]
    },
    "messages": {
      "type": "array",
      "default": [
        {
          "success": "",
          "error": "",
          "required": "",
          "invalid": "",
          "recaptchaerror": "",
          "preError": ""
        }
      ]
    },
    "messageFont": {
      "type": "array",
      "default": [
        {
          "colorSuccess": "",
          "colorError": "",
          "borderSuccess": "",
          "borderError": "",
          "backgroundSuccess": "",
          "backgroundSuccessOpacity": 1,
          "backgroundError": "",
          "backgroundErrorOpacity": 1,
          "borderWidth": [
            "",
            "",
            "",
            ""
          ],
          "borderRadius": "",
          "size": [
            "",
            "",
            ""
          ],
          "sizeType": "px",
          "lineHeight": [
            "",
            "",
            ""
          ],
          "lineType": "px",
          "letterSpacing": "",
          "textTransform": "",
          "family": "",
          "google": "",
          "style": "",
          "weight": "",
          "variant": "",
          "subset": "",
          "loadGoogle": true,
          "padding": [
            "",
            "",
            "",
            ""
          ],
          "margin": [
            "",
            "",
            "",
            ""
          ]
        }
      ]
    },
    "style": {
      "type": "array",
      "default": [
        {
          "showRequired": true,
          "size": "standard",
          "deskPadding": [
            "",
            "",
            "",
            ""
          ],
          "tabletPadding": [
            "",
            "",
            "",
            ""
          ],
          "mobilePadding": [
            "",
            "",
            "",
            ""
          ],
          "color": "",
          "requiredColor": "",
          "background": "",
          "border": "",
          "backgroundOpacity": 1,
          "borderOpacity": 1,
          "borderRadius": "",
          "borderWidth": [
            "",
            "",
            "",
            ""
          ],
          "colorActive": "",
          "backgroundActive": "",
          "borderActive": "",
          "backgroundActiveOpacity": 1,
          "borderActiveOpacity": 1,
          "gradient": [
            "#999999",
            1,
            0,
            100,
            "linear",
            180,
            "center center"
          ],
          "gradientActive": [
            "#777777",
            1,
            0,
            100,
            "linear",
            180,
            "center center"
          ],
          "backgroundType": "solid",
          "backgroundActiveType": "solid",
          "boxShadow": [
            false,
            "#000000",
            0.2,
            1,
            1,
            2,
            0,
            false
          ],
          "boxShadowActive": [
            false,
            "#000000",
            0.4,
            2,
            2,
            3,
            0,
            false
          ],
          "fontSize": [
            "",
            "",
            ""
          ],
          "fontSizeType": "px",
          "lineHeight": [
            "",
            "",
            ""
          ],
          "lineType": "px",
          "rowGap": "",
          "rowGapType": "px",
          "gutter": "",
          "gutterType": "px",
          "tabletRowGap": "",
          "mobileRowGap": "",
          "tabletGutter": "",
          "mobileGutter": ""
        }
      ]
    },
    "labelFont": {
      "type": "array",
      "default": [
        {
          "color": "",
          "size": [
            "",
            "",
            ""
          ],
          "sizeType": "px",
          "lineHeight": [
            "",
            "",
            ""
          ],
          "lineType": "px",
          "letterSpacing": "",
          "textTransform": "",
          "family": "",
          "google": "",
          "style": "",
          "weight": "",
          "variant": "",
          "subset": "",
          "loadGoogle": true,
          "padding": [
            "",
            "",
            "",
            ""
          ],
          "margin": [
            "",
            "",
            "",
            ""
          ]
        }
      ]
    },
    "submit": {
      "type": "array",
      "default": [
        {
          "label": "",
          "width": [
            "100",
            "",
            ""
          ],
          "size": "standard",
          "widthType": "auto",
          "fixedWidth": [
            "",
            "",
            ""
          ],
          "align": [
            "",
            "",
            ""
          ],
          "deskPadding": [
            "",
            "",
            "",
            ""
          ],
          "tabletPadding": [
            "",
            "",
            "",
            ""
          ],
          "mobilePadding": [
            "",
            "",
            "",
            ""
          ],
          "color": "",
          "background": "",
          "border": "",
          "backgroundOpacity": 1,
          "borderOpacity": 1,
          "borderRadius": "",
          "borderWidth": [
            "",
            "",
            "",
            ""
          ],
          "colorHover": "",
          "backgroundHover": "",
          "borderHover": "",
          "backgroundHoverOpacity": 1,
          "borderHoverOpacity": 1,
          "icon": "",
          "iconSide": "right",
          "iconHover": false,
          "cssClass": "",
          "gradient": [
            "#999999",
            1,
            0,
            100,
            "linear",
            180,
            "center center"
          ],
          "gradientHover": [
            "#777777",
            1,
            0,
            100,
            "linear",
            180,
            "center center"
          ],
          "btnStyle": "basic",
          "btnSize": "standard",
          "backgroundType": "solid",
          "backgroundHoverType": "solid",
          "boxShadow": [
            false,
            "#000000",
            0.2,
            1,
            1,
            2,
            0,
            false
          ],
          "boxShadowHover": [
            false,
            "#000000",
            0.4,
            2,
            2,
            3,
            0,
            false
          ]
        }
      ]
    },
    "submitMargin": {
      "type": "array",
      "default": [
        {
          "desk": [
            "",
            "",
            "",
            ""
          ],
          "tablet": [
            "",
            "",
            "",
            ""
          ],
          "mobile": [
            "",
            "",
            "",
            ""
          ],
          "unit": "px",
          "control": "linked"
        }
      ]
    },
    "submitFont": {
      "type": "array",
      "default": [
        {
          "size": [
            "",
            "",
            ""
          ],
          "sizeType": "px",
          "lineHeight": [
            "",
            "",
            ""
          ],
          "lineType": "px",
          "letterSpacing": "",
          "textTransform": "",
          "family": "",
          "google": "",
          "style": "",
          "weight": "",
          "variant": "",
          "subset": "",
          "loadGoogle": true
        }
      ]
    },
    "actions": {
      "type": "array",
      "default": [
        "email"
      ]
    },
    "email": {
      "type": "array",
      "default": [
        {
          "emailTo": "",
          "subject": "",
          "fromEmail": "",
          "fromName": "",
          "replyTo": "email_field",
          "cc": "",
          "bcc": "",
          "html": true
        }
      ]
    },
    "redirect": {
      "type": "string",
      "default": ""
    },
    "recaptcha": {
      "type": "boolean",
      "default": false
    },
    "recaptchaVersion": {
      "type": "string",
      "default": "v3"
    },
    "honeyPot": {
      "type": "boolean",
      "default": true
    },
    "mailerlite": {
      "type": "array",
      "default": [
        {
          "group": [],
          "map": []
        }
      ]
    },
    "fluentcrm": {
      "type": "array",
      "default": [
        {
          "lists": [],
          "tags": [],
          "map": [],
          "doubleOptin": false
        }
      ]
    },
    "containerMarginType": {
      "type": "string",
      "default": "px"
    },
    "containerMargin": {
      "type": "array",
      "default": [
        "",
        "",
        "",
        ""
      ]
    },
    "tabletContainerMargin": {
      "type": "array",
      "default": [
        "",
        "",
        "",
        ""
      ]
    },
    "mobileContainerMargin": {
      "type": "array",
      "default": [
        "",
        "",
        "",
        ""
      ]
    },
    "submitLabel": {
      "type": "string",
      "default": ""
    },
    "hAlignFormFeilds": {
      "type": "boolean",
      "default": false
    }
  },
  "supports": {
    "anchor": true,
    "align": [
      "wide",
      "full"
    ],
    "slateanimate": true,
    "slateanimateadd": true,
    "slateanimatepreview": true,
    "slateanimateswipe": true,
    "slateMetadata": true,
    "inserter": false
  },
  "usesContext": [
    "postId"
  ]
}