themes-earthen/schemas/donation_cta.schema.json
Alex Dunmow 49401f1b41 initial: theme plugin earthen
Bootstrapped during the 2026-06-06 BlockNinja consolidation. Was previously
an unversioned directory inside ~/src/blockninja-themes/earthen.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-06 14:11:27 +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"
}
}
}