{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "sd/multi-choice",
	"title": "Multi Choice",
	"description": "Displays radio or checkbox options for preset amounts, donation frequency, or other choices",
	"category": "suredonation",
	"keywords": [ "radio", "choice", "select", "options", "amount", "frequency" ],
	"textdomain": "suredonation",
	"supports": {
		"reusable": false,
		"html": false
	},
	"example": {
		"attributes": {
			"preview": true
		}
	},
	"attributes": {
		"preview": {
			"type": "boolean",
			"default": false
		},
		"block_id": {
			"type": "string"
		},
		"required": {
			"type": "boolean",
			"default": false
		},
		"fieldWidth": {
			"type": "number",
			"default": 100
		},
		"label": {
			"type": "string",
			"default": "Select Amount"
		},
		"help": {
			"type": "string",
			"default": ""
		},
		"errorMsg": {
			"type": "string",
			"default": ""
		},
		"choiceType": {
			"type": "string",
			"default": "radio",
			"enum": [ "radio", "checkbox" ]
		},
		"options": {
			"type": "array",
			"default": [
				{ "label": "$25", "value": "25" },
				{ "label": "$50", "value": "50" },
				{ "label": "$100", "value": "100" }
			]
		},
		"defaultValue": {
			"type": "string",
			"default": ""
		},
		"showValues": {
			"type": "boolean",
			"default": false
		},
		"layout": {
			"type": "string",
			"default": "horizontal",
			"enum": [ "horizontal", "vertical" ]
		},
		"choiceWidth": {
			"type": "string",
			"default": "50",
			"enum": [ "100", "75", "66.66", "50", "33.33", "25" ]
		},
		"formId": {
			"type": "number",
			"default": 0
		},
		"slug": {
			"type": "string",
			"default": ""
		},
		"className": {
			"type": "string",
			"default": ""
		},
		"customClasses": {
			"type": "string",
			"default": ""
		}
	}
}
