themes-earthen/blocks/donation_cta.schema.json
Alex Dunmow 4aeddfe352 feat: convert to codeless .bnp — templates + manifest, Go/templ deleted (WO-WZ-021)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 15:32:18 +08:00

44 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Donation CTA",
"description": "Donation call-to-action with preset amount tiles and custom amount input",
"type": "object",
"properties": {
"headline": {
"type": "string",
"title": "Headline",
"description": "Headline above the amount tiles",
"x-editor": "text"
},
"body": {
"type": "string",
"title": "Body",
"description": "Supporting copy below the headline",
"x-editor": "richtext"
},
"amounts": {
"type": "array",
"title": "Preset Amounts",
"description": "Preset donation amounts shown as tiles",
"x-editor": "array",
"items": {
"type": "number"
},
"default": [25, 50, 100]
},
"buttonLabel": {
"type": "string",
"title": "Button Label",
"description": "Label on the submit button",
"x-editor": "text",
"default": "Donate"
},
"processorUrl": {
"type": "string",
"title": "Processor URL",
"description": "Donation processor URL (Stripe, Donorbox, etc.)",
"x-editor": "link"
}
}
}