{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "fundcollector/donation-form",
  "version": "1.0.0",
  "title": "Donation Form",
  "category": "fundcollector",
  "icon": "heart",
  "description": "Display a donation form to collect funds via PayPal or Bank Transfer.",
  "keywords": ["donation", "fundraising", "payments", "paypal", "charity"],
  "supports": {
    "html": false,
    "anchor": false,
    "customClassName": true,
    "className": true
  },
  "attributes": {
    "title": {
      "type": "string",
      "default": "FUNDCOLLECTOR"
    },
    "description": {
      "type": "string", 
      "default": "Preview is not available in the editor."
    },
    "buttonText": {
      "type": "string",
      "default": "Donate Now"
    },
    "suggestedAmounts": {
      "type": "string",
      "default": "10,25,50,100"
    },
    "allowCustomAmount": {
      "type": "boolean",
      "default": true
    },
    "minAmount": {
      "type": "string",
      "default": "1"
    },
    "formId": {
      "type": "string",
      "default": "default"
    },
    "className": {
      "type": "string",
      "default": "is-style-default"
    }
  },
  "textdomain": "fundcollector"
} 