{
  "schemaVersion": 1,
  "purpose": "UI configuration for future WordForm free-version upgrade screens, comparison tables, and upsell cards.",
  "dataSources": {
    "basic": "basic-features.json",
    "pro": "pro-features.json"
  },
  "uiSections": [
    {
      "key": "hero",
      "label": "Why Upgrade to Pro",
      "style": "hero_cards",
      "items": [
        {
          "key": "unlock_integrations",
          "title": "Connect More Apps",
          "description": "Unlock Google Calendar, Zapier, Slack, Make, and CRM / marketing app sync.",
          "featureKeys": [
            "google_calendar",
            "zapier",
            "slack",
            "make",
            "mailchimp",
            "hubspot",
            "salesforce"
          ]
        },
        {
          "key": "unlock_advanced_fields",
          "title": "Use Premium Input Elements",
          "description": "Unlock email, phone, rating, datetime, signature, matrix survey, and rich text fields for more serious business workflows.",
          "featureKeys": [
            "email",
            "tel",
            "rating",
            "datetime",
            "likert",
            "signature",
            "richeditor"
          ]
        },
        {
          "key": "unlock_checkout",
          "title": "Upgrade Your Checkout Flows",
          "description": "Unlock more gateways, coupon workflows, and deeper payment reporting.",
          "featureKeys": [
            "square_gateway",
            "authorizenet_gateway",
            "payment-coupon",
            "payment_reporting_dashboard"
          ]
        }
      ]
    },
    {
      "key": "comparison_table",
      "label": "Basic vs Pro Comparison",
      "style": "table",
      "rows": [
        {
          "group": "Builder",
          "items": [
            "drag_drop_builder",
            "multi_step_forms",
            "responsive_field_widths",
            "starter_templates"
          ]
        },
        {
          "group": "Fields",
          "items": [
            "upload",
            "rating",
            "likert",
            "signature",
            "richeditor",
            "date",
            "datetime",
            "email",
            "tel"
          ]
        },
        {
          "group": "Spam & Security",
          "items": [
            "numeric_captcha",
            "hcaptcha",
            "google_recaptcha"
          ]
        },
        {
          "group": "Payments",
          "items": [
            "stripe_gateway",
            "paypal_gateway",
            "square_gateway",
            "authorizenet_gateway",
            "payment_coupon",
            "payment_reporting_dashboard"
          ]
        },
        {
          "group": "Integrations",
          "items": [
            "custom_webhook",
            "google_sheets",
            "google_calendar",
            "zapier",
            "slack",
            "make",
            "mailchimp",
            "hubspot",
            "salesforce"
          ]
        },
        {
          "group": "Reporting & Support",
          "items": [
            "store_submissions",
            "form_submission_export",
            "connection_send_logs"
          ]
        }
      ]
    },
    {
      "key": "limited_features_cards",
      "label": "Included in Basic with Limits",
      "style": "notice_cards",
      "items": [
        {
          "featureKey": "upload",
          "title": "Upload in Basic",
          "description": "Basic includes single image upload only. Pro unlocks more file types, richer restrictions, and expanded upload workflows."
        },
        {
          "featureKey": "date",
          "title": "Date in Basic",
          "description": "Basic includes picker UI and formatting. Pro unlocks min/max rules, disable past/future, and calendar theming."
        },
        {
          "featureKey": "submit_button_styling",
          "title": "Styling in Basic",
          "description": "Basic includes core button colors. Pro unlocks deeper form presentation and styling controls."
        }
      ]
    },
    {
      "key": "cta",
      "label": "Upgrade Call To Action",
      "style": "cta_panel",
      "copy": {
        "title": "Unlock WordForm Pro",
        "description": "Get premium fields, advanced integrations, deeper checkout tools, richer reporting, and business-ready diagnostics.",
        "primaryButtonLabel": "Buy WordForm Pro",
        "secondaryButtonLabel": "Compare Features"
      }
    }
  ]
}
