{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "oryx-bookings/booking-form",
	"version": "1.0.0",
	"title": "Oryx - Booking Form",
	"category": "oryx-bookings",
	"icon": "calendar-alt",
	"description": "Display a booking form with multiple template styles.",
	"keywords": ["booking", "appointment", "reservation", "schedule", "oryx", "form"],
	"textdomain": "oryx-bookings",
	"attributes": {
		"templateStyle": {
			"type": "string",
			"default": "grid"
		},
		"filterType": {
			"type": "string",
			"default": "all"
		},
		"categories": {
			"type": "array",
			"default": [],
			"items": { "type": "string" }
		},
		"services": {
			"type": "array",
			"default": [],
			"items": { "type": "string" }
		},
		"showServiceImage": {
			"type": "string",
			"default": "yes"
		},
		"showServiceDescription": {
			"type": "string",
			"default": "yes"
		},
		"showPrice": {
			"type": "string",
			"default": "yes"
		},
		"showDuration": {
			"type": "string",
			"default": "yes"
		},
		"showStaffImage": {
			"type": "string",
			"default": "yes"
		},
		"currencySymbol": {
			"type": "string",
			"default": "$"
		},
		"currencyPosition": {
			"type": "string",
			"default": "after"
		},
		"labelServices": {
			"type": "string",
			"default": "Select Service"
		},
		"labelStaff": {
			"type": "string",
			"default": "Select Staff"
		},
		"labelDate": {
			"type": "string",
			"default": "Select Date"
		},
		"labelTime": {
			"type": "string",
			"default": "Select Time"
		},
		"labelInfo": {
			"type": "string",
			"default": "Your Information"
		},
		"labelSubmit": {
			"type": "string",
			"default": "Confirm Booking"
		},
		"successMessage": {
			"type": "string",
			"default": "Booking confirmed! Your booking ID is: {booking_id}"
		},
		"timeFormat": {
			"type": "string",
			"default": "12h"
		},
		"dateFormat": {
			"type": "string",
			"default": "Y-m-d"
		},
		"redirectUrl": {
			"type": "string",
			"default": ""
		},
		"customClass": {
			"type": "string",
			"default": ""
		},
		"colorPrimary": {
			"type": "string",
			"default": ""
		},
		"colorAccent": {
			"type": "string",
			"default": ""
		},
		"colorText": {
			"type": "string",
			"default": ""
		}
	},
	"supports": {
		"html": false,
		"multiple": true,
		"align": ["wide", "full"]
	},
	"editorScript": "file:./assets/editor.js",
	"editorStyle": "file:./assets/editor.css",
	"render": "file:./render.php"
}
