{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "fair-calendar-button/calendar-button",
	"version": "1.0.0",
	"title": "Calendar Button",
	"category": "widgets",
	"icon": "calendar-alt",
	"description": "A Gutenberg block for calendar integration",
	"keywords": ["calendar", "button", "event", "schedule"],
	"textdomain": "fair-calendar-button",
	"supports": {
		"html": false,
		"layout": {
			"default": {
				"type": "flex",
				"justifyContent": "center"
			},
			"allowSwitching": false,
			"allowInheriting": false,
			"allowJustification": true,
			"allowVerticalAlignment": true,
			"allowOrientation": false
		},
		"align": ["wide", "full"],
		"spacing": {
			"padding": true,
			"margin": ["top", "bottom"]
		}
	},
	"attributes": {
		"start": {
			"type": "string",
			"default": ""
		},
		"end": {
			"type": "string",
			"default": ""
		},
		"allDay": {
			"type": "boolean",
			"default": false
		},
		"description": {
			"type": "string",
			"default": ""
		},
		"location": {
			"type": "string",
			"default": ""
		},
		"recurring": {
			"type": "boolean",
			"default": false
		},
		"recurrence": {
			"type": "object",
			"default": {
				"frequency": "WEEKLY",
				"count": null,
				"until": ""
			}
		},
		"rRule": {
			"type": "string",
			"default": ""
		},
		"syncWithEvent": {
			"type": "boolean",
			"default": false
		}
	},
	"providesContext": {
		"fair-calendar-button/eventData": "attributes"
	},
	"editorScript": "file:./editor.js",
	"viewScript": "file:./frontend.js",
	"render": "file:./render.php",
	"viewStyle": "file:./frontend.css",
	"editorStyle": "file:./editor.css"
}
