{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "fundy/donation-form",
	"title": "Donation Form",
	"description": "Displays a donation form.",
	"category": "widgets",
	"textdomain": "fundy",
	"icon": "clipboard",
	"supports": {
		"html": false,
		"color": {
			"background": true,
			"text": true
		},
		"spacing": {
			"margin": true,
			"padding": true
		}
	},
	"attributes": {
		"formId": {
			"type": "number",
			"default": 0
		},
		"urlParams": {
			"type": "array",
			"default": [],
			"items": {
				"type": "object",
				"properties": {
					"key": { "type": "string" },
					"value": { "type": "string" }
				}
			}
		}
	},
	"editorScript": "file:./editor.js",
	"viewScript": "fundy-form-script",
	"viewStyle": "fundy-form-style"
}
