{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Hero Block",
  "description": "Large hero section with headline and optional CTA",
  "type": "object",
  "properties": {
    "headline": {
      "type": "string",
      "title": "Headline",
      "description": "Main headline text",
      "x-editor": "text"
    },
    "subheadline": {
      "type": "string",
      "title": "Subheadline",
      "description": "Supporting text below the headline",
      "x-editor": "textarea"
    },
    "background_url": {
      "type": "string",
      "title": "Background Image URL",
      "description": "URL for the background image",
      "x-editor": "url"
    },
    "cta_text": {
      "type": "string",
      "title": "CTA Button Text",
      "description": "Text for the call-to-action button",
      "x-editor": "text"
    },
    "cta_url": {
      "type": "string",
      "title": "CTA Button URL",
      "description": "Link for the call-to-action button",
      "x-editor": "url"
    }
  },
  "required": ["headline"]
}
