{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "trucbafo/form-block",
  "version": "0.1.0",
  "title": "Form Block",
  "category": "trucbafo",
  "icon": "forms",
  "description": "A block-based contact form with REST submission handling.",
  "example": {},
  "supports": {
    "align": true,
    "color": {
      "gradients": true
    },
    "dimensions": {
      "height": true,
      "width": true,
      "minHeight": true
    },
    "spacing": {
      "margin": true,
      "padding": true
    },
    "typography": {
      "fontSize": true,
      "textAlign": true,
      "lineHeight": true,
      "fitText": true,
      "textIndent": true
    }
  },
  "textdomain": "trucbafo",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js",
  "script": "jquery",
  "attributes": {
    "successMessage": {
      "type": "string",
      "default": "Mail successfully sent!"
    },
    "failMessage": {
      "type": "string",
      "default": "An error occurred. Please contact us directly via email."
    },
    "pendingMessage": {
      "type": "string",
      "default": "Your request is being sent..."
    },
    "formId": {
      "type": "string",
      "default": "Form 1"
    },
    "successTextColor": {
      "type": "string",
      "default": ""
    },
    "successBgColor": {
      "type": "string",
      "default": ""
    },
    "pendingTextColor": {
      "type": "string",
      "default": ""
    },
    "pendingBgColor": {
      "type": "string",
      "default": ""
    },
    "failTextColor": {
      "type": "string",
      "default": ""
    },
    "failBgColor": {
      "type": "string",
      "default": ""
    }
  }
}