{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "giraforms/radio-field",
	"title": "Radio Field",
	"category": "giraforms",
	"icon": "marker",
	"description": "Radio buttons for single choice.",
	"textdomain": "giraforms",
	"parent": ["giraforms/form-container", "core/column"],
	"supports": {
		"html": false,
		"className": true
	},
	"attributes": {
		"fieldId": { "type": "string", "default": "" },
		"label": { "type": "string", "default": "Choose an option" },
		"required": { "type": "boolean", "default": false },
		"requiredMessage": { "type": "string", "default": "" },
		"options": { "type": "array", "default": [{"label": "Option A", "value": "a"}, {"label": "Option B", "value": "b"}] },
		"displayStyle": { "type": "string", "default": "default" },
		"conditionalRules": {
			"type": "object",
			"default": {
				"enabled": false,
				"logic": "and",
				"conditions": []
			}
		}
	},
	"editorScript": "file:./index.js"
}
