{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Membership Tiers",
  "description": "Side-by-side membership cards with a brass-framed feature list.",
  "type": "object",
  "properties": {
    "eyebrow": { "type": "string", "title": "Eyebrow", "x-editor": "text", "default": "Membership" },
    "title": { "type": "string", "title": "Section title", "x-editor": "text", "default": "Join the house" },
    "intro": { "type": "string", "title": "Intro", "x-editor": "textarea", "default": "" },
    "tiers": {
      "type": "array",
      "title": "Tiers",
      "x-editor": "array",
      "default": [],
      "items": {
        "type": "object",
        "properties": {
          "name": { "type": "string", "title": "Name", "x-editor": "text" },
          "price": { "type": "string", "title": "Price", "x-editor": "text" },
          "cadence": { "type": "string", "title": "Cadence", "x-editor": "text" },
          "description": { "type": "string", "title": "Description", "x-editor": "textarea" },
          "featured": { "type": "boolean", "title": "Featured", "x-editor": "boolean", "default": false },
          "applyLabel": { "type": "string", "title": "Apply label", "x-editor": "text" },
          "applyUrl": { "type": "string", "title": "Apply URL", "x-editor": "link" },
          "features": {
            "type": "array",
            "title": "Features",
            "x-editor": "array",
            "items": {
              "type": "object",
              "properties": {
                "label": { "type": "string", "title": "Label", "x-editor": "text" }
              }
            }
          }
        }
      }
    }
  }
}
