{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "giraforms/phone-field",
	"title": "Phone Field",
	"category": "giraforms",
	"icon": "phone",
	"description": "A phone number field.",
	"textdomain": "giraforms",
	"parent": ["giraforms/form-container", "core/column"],
	"supports": {
		"html": false,
		"className": true
	},
	"attributes": {
		"fieldId": { "type": "string", "default": "" },
		"label": { "type": "string", "default": "Phone" },
		"placeholder": { "type": "string", "default": "+1 234 567 8900" },
		"required": { "type": "boolean", "default": false },
		"requiredMessage": { "type": "string", "default": "" },
		"helpText": { "type": "string", "default": "" },
		"conditionalRules": {
			"type": "object",
			"default": {
				"enabled": false,
				"logic": "and",
				"conditions": []
			}
		}
	},
	"editorScript": "file:./index.js"
}
