{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "rooster-docs/download",
	"version": "1.0.0",
	"title": "Manual download card",
	"category": "theme",
	"icon": "download",
	"description": "The card under a manual's chapters that leads to the product (the Get the plugin card: wordpress.org for the Rooster One and Rooster LMS manuals). The texts come from the manual (AIEO_Docs::card()) unless set here. No DOCX: the legacy site had none.",
	"keywords": [ "manual", "documentation", "download", "get the plugin", "docs" ],
	"textdomain": "ai-eshop-optimizer",
	"attributes": {
		"title": { "type": "string", "default": "" },
		"text": { "type": "string", "default": "" },
		"cta": { "type": "string", "default": "" },
		"sub": { "type": "string", "default": "" },
		"href": { "type": "string", "default": "" },
		"badge": { "type": "string", "default": "" }
	},
	"supports": {
		"html": false,
		"rooster": { "defer": { "allowed": false } }
	},
	"rooster": {
		"ui": {
			"title": { "label": "Title (empty: the manual's)" },
			"text": { "control": "textarea", "label": "Text" },
			"cta": { "label": "Button text" },
			"sub": { "label": "Line under the button text" },
			"href": { "control": "url", "label": "Link" },
			"badge": { "label": "Line under the button" }
		}
	},
	"style": "file:./style.css",
	"render": "file:./render.php"
}
