{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "giraforms/select-field",
	"title": "Select Field",
	"category": "giraforms",
	"icon": "list-view",
	"description": "A dropdown select field.",
	"textdomain": "giraforms",
	"parent": ["giraforms/form-container", "core/column"],
	"supports": {
		"html": false,
		"className": true
	},
	"attributes": {
		"fieldId": { "type": "string", "default": "" },
		"label": { "type": "string", "default": "Select an option" },
		"required": { "type": "boolean", "default": false },
		"requiredMessage": { "type": "string", "default": "" },
		"options": { "type": "array", "default": [{"label": "Option 1", "value": "option1"}, {"label": "Option 2", "value": "option2"}] },
		"multiple": { "type": "boolean", "default": false },
		"conditionalRules": {
			"type": "object",
			"default": {
				"enabled": false,
				"logic": "and",
				"conditions": []
			}
		}
	},
	"editorScript": "file:./index.js"
}
