{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "rooster/questions",
	"version": "2.0.1",
	"title": "Questions",
	"category": "theme",
	"icon": "editor-help",
	"description": "Questions and their answers, each question a row that opens its answer: rows divided by a hairline, or each in its own rounded box, the first open.",
	"keywords": [
		"faq",
		"questions",
		"answers"
	],
	"textdomain": "ai-eshop-optimizer",
	"attributes": {
		"variant": {
			"type": "string",
			"enum": [
				"rows",
				"boxed"
			],
			"default": "rows"
		},
		"tone": {
			"type": "string",
			"default": ""
		},
		"items": {
			"type": "string",
			"default": ""
		},
		"open": {
			"type": "string",
			"enum": [
				"",
				"first"
			],
			"default": ""
		},
		"anchorPrefix": {
			"type": "string",
			"default": ""
		}
	},
	"supports": {
		"html": false,
		"anchor": true,
		"align": [
			"wide"
		],
		"spacing": {
			"margin": [
				"top",
				"bottom"
			]
		},
		"rooster": {
			"defer": {
				"allowed": true,
				"height": "560px"
			}
		}
	},
	"rooster": {
		"ui": {
			"variant": {
				"label": "Variant (rows: divided by a hairline; boxed: each in its own box, the first open)"
			},
			"tone": {
				"label": "Tone: A family's accent (zero, one, lms, panel, code, docs, kb, credits, lrs) or neutral, success, warning, danger; empty: the page's"
			},
			"items": {
				"control": "textarea",
				"label": "One question per line: Question | Answer; a line without a bar continues the answer above it as a further paragraph (a question without an answer: Question |); **bold**, `code` and // allowed in answers"
			},
			"open": {
				"label": "rows: Open the first question (first; the boxed variant always does)"
			},
			"anchorPrefix": {
				"label": "rows: Anchors (each question's id is the prefix and its number; empty: none)"
			}
		}
	},
	"style": "rooster-lib-questions",
	"render": "file:./render.php"
}
