{
  "$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"
    }
  }
}
