{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "rooster/plan",
	"version": "2.0.0",
	"title": "Plan",
	"category": "theme",
	"icon": "money-alt",
	"description": "A plan or a price: the price card with its marks, the product plan with the one to pick ringed, or the tier led by its toned tag with its volume table. Never deferred: prices are content people search for.",
	"keywords": [
		"plan",
		"price",
		"pricing",
		"tier"
	],
	"textdomain": "ai-eshop-optimizer",
	"attributes": {
		"variant": {
			"type": "string",
			"enum": [
				"price",
				"plan"
			],
			"default": "price"
		},
		"layout": {
			"type": "string",
			"enum": [
				"",
				"card",
				"row",
				"tier"
			],
			"default": ""
		},
		"tone": {
			"type": "string",
			"default": ""
		},
		"name": {
			"type": "string",
			"default": ""
		},
		"tagline": {
			"type": "string",
			"default": ""
		},
		"price": {
			"type": "string",
			"default": ""
		},
		"period": {
			"type": "string",
			"default": ""
		},
		"note": {
			"type": "string",
			"default": ""
		},
		"features": {
			"type": "string",
			"default": ""
		},
		"ctaText": {
			"type": "string",
			"default": ""
		},
		"ctaHref": {
			"type": "string",
			"default": ""
		},
		"highlighted": {
			"type": "boolean",
			"default": false
		},
		"badge": {
			"type": "string",
			"default": ""
		},
		"level": {
			"type": "integer",
			"default": 3
		},
		"volume": {
			"type": "string",
			"default": ""
		},
		"volumeCaption": {
			"type": "string",
			"default": ""
		},
		"volumeNote": {
			"type": "string",
			"default": ""
		},
		"ctaStyle": {
			"type": "string",
			"enum": [
				"primary",
				"outline"
			],
			"default": "primary"
		}
	},
	"supports": {
		"html": false,
		"anchor": true,
		"spacing": {
			"margin": [
				"top",
				"bottom"
			]
		},
		"rooster": {
			"defer": {
				"allowed": false
			}
		}
	},
	"rooster": {
		"variants": [
			"price",
			"plan"
		],
		"ui": {
			"variant": {
				"label": "Variant (the look)"
			},
			"layout": {
				"label": "Layout inside the variant (empty: the variant's first)"
			},
			"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"
			},
			"name": {
				"label": "price: Plan name; plan: Name"
			},
			"tagline": {
				"label": "price: Tagline (a line under the name); plan: a line under the name (card), the tier's heading (tier)"
			},
			"price": {
				"label": "price: Price (as shown, with the currency); plan: Price"
			},
			"period": {
				"label": "price: Period (per month, forever); plan: Period (a month)"
			},
			"note": {
				"label": "price: Note under the price; plan: Note (or $190 a year)"
			},
			"features": {
				"control": "textarea",
				"label": "price: Features, one per line (a leading - marks one not included); plan: Features, one per line (a line ## Name: a group's heading over the lines that follow)"
			},
			"ctaText": {
				"label": "price: Button text; plan: Button text"
			},
			"ctaHref": {
				"control": "url",
				"label": "price: Button link; plan: Button link"
			},
			"highlighted": {
				"label": "price: Highlighted (the plan to pick); plan: Ringed, the plan to pick (card and tier)"
			},
			"badge": {
				"label": "price: Badge (Most popular); plan: Its badge over the ring (card and tier; none without one)"
			},
			"level": {
				"label": "Heading level (2 to 6): the name's (price, plan card), the tier's heading"
			},
			"volume": {
				"control": "textarea",
				"label": "plan: Tier's volume table: one row per line, cells by bars, the first the head"
			},
			"volumeCaption": {
				"label": "plan: Over the volume table"
			},
			"volumeNote": {
				"control": "textarea",
				"label": "plan: Under the volume table"
			},
			"ctaStyle": {
				"label": "plan: Tier's button: filled or outlined"
			}
		}
	},
	"render": "file:./render.php"
}
