{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "giraforms/url-field",
	"title": "URL/Website Field",
	"category": "giraforms",
	"icon": "admin-links",
	"description": "A field for collecting website URLs with validation.",
	"keywords": ["form", "url", "website", "link"],
	"textdomain": "giraforms",
	"parent": ["giraforms/form-container", "core/column"],
	"supports": {
		"html": false,
		"className": true
	},
	"attributes": {
		"fieldId": {
			"type": "string",
			"default": ""
		},
		"label": {
			"type": "string",
			"default": "Website URL"
		},
		"placeholder": {
			"type": "string",
			"default": "https://example.com"
		},
		"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",
	"style": "file:./style.css"
}
