{
  "name": "Appointment Booking Form",
  "description": "A form to book appointments by selecting a preferred date and time slot.",
  "category": "Booking",
  "tags": ["appointment", "booking", "schedule", "consultation"],
  "version": 1,
  "form_data": {
    "name": "Appointment Booking Form",
    "heading": "Book Your Appointment",
    "description": "Fill in your details and select a suitable time slot.",
    "formpages": [1],
    "pages": [
      {
        "id": 1,
        "name": "Appointment Details",
        "heading": "Appointment Booking",
        "description": "Provide your details and choose a preferred time.",
        "folder": "0",
        "pagerows": [1, 2, 3, 4],
        "rows": [
          {
            "id": 1,
            "name": "Personal Info",
            "heading": "Your Details",
            "description": "Help us schedule your appointment and reach out if needed.",
            "folder": "0",
            "rowcolumns": [1, 2],
            "columns": [
              {
                "id": 1,
                "name": "Column 1",
                "fields": [1],
                "width": 6,
                "field_data": [
                  {
                    "id": 1,
                    "field_type": "inputtext",
                    "name": "Full Name",
                    "heading": "Full Name",
                    "description": "Enter your full name.",
                    "is_required": 1,
                    "placeholder": "Jane Doe"
                  }
                ]
              },
              {
                "id": 2,
                "name": "Column 2",
                "fields": [2],
                "width": 6,
                "field_data": [
                  {
                    "id": 2,
                    "field_type": "inputemail",
                    "name": "Email Address",
                    "heading": "Email Address",
                    "description": "Enter your email for correspondence.",
                    "is_required": 1,
                    "placeholder": "jane@example.com"
                  }
                ]
              }
            ]
          },
          {
            "id": 2,
            "name": "Schedule",
            "heading": "Preferred Slot",
            "description": "Select a date and a preferred 30-minute time slot.",
            "folder": "0",
            "rowcolumns": [3, 4],
            "columns": [
              {
                "id": 3,
                "name": "Column 1",
                "fields": [3],
                "width": 6,
                "field_data": [
                  {
                    "id": 3,
                    "field_type": "inputdate",
                    "name": "Appointment Date",
                    "heading": "Date",
                    "description": "Select a preferred date.",
                    "is_required": 1
                  }
                ]
              },
              {
                "id": 4,
                "name": "Column 2",
                "fields": [4],
                "width": 6,
                "field_data": [
                  {
                    "id": 4,
                    "field_type": "selectfield",
                    "name": "Time Slot",
                    "heading": "Time Slot",
                    "description": "Select your preferred time.",
                    "is_required": 1,
                    "field_options": "{\"Morning\": {\"09:00 AM\": \"09:00\",\"09:30 AM\": \"09:30\",\"10:00 AM\": \"10:00\",\"10:30 AM\": \"10:30\",\"11:00 AM\": \"11:00\",\"11:30 AM\": \"11:30\"},\"Afternoon\": {\"12:00 PM\": \"12:00\",\"12:30 PM\": \"12:30\",\"01:00 PM\": \"13:00\",\"01:30 PM\": \"13:30\",\"02:00 PM\": \"14:00\",\"02:30 PM\": \"14:30\",\"03:00 PM\": \"15:00\",\"03:30 PM\": \"15:30\",\"04:00 PM\": \"16:00\",\"04:30 PM\": \"16:30\"},\"Evening\": {\"05:00 PM\": \"17:00\",\"05:30 PM\": \"17:30\",\"06:00 PM\": \"18:00\",\"06:30 PM\": \"18:30\",\"07:00 PM\": \"19:00\",\"07:30 PM\": \"19:30\",\"08:00 PM\": \"20:00\"}}"
                  }
                ]
              }
            ]
          },
          {
            "id": 3,
            "name": "Additional Notes",
            "heading": "Notes (Optional)",
            "description": "Add any specific request or reason for your appointment.",
            "folder": "0",
            "rowcolumns": [5],
            "columns": [
              {
                "id": 5,
                "name": "Column 1",
                "fields": [5],
                "width": 12,
                "field_data": [
                  {
                    "id": 5,
                    "field_type": "textarea",
                    "name": "Notes",
                    "heading": "Additional Notes",
                    "description": "Any specific instructions or reason for the appointment.",
                    "is_required": 0,
                    "placeholder": "e.g., Consultation topic or preferences..."
                  }
                ]
              }
            ]
          },
          {
            "id": 4,
            "name": "Consent",
            "heading": "Confirm & Submit",
            "description": "Allow us to confirm or reschedule via email.",
            "folder": "0",
            "rowcolumns": [6],
            "columns": [
              {
                "id": 6,
                "name": "Column 1",
                "fields": [6],
                "width": 12,
                "field_data": [
                  {
                    "id": 6,
                    "field_type": "inputcheckbox",
                    "name": "Permission to Contact",
                    "heading": "I agree to be contacted",
                    "description": "Tick if you consent to receive appointment-related communication.",
                    "is_required": 0,
                    "field_options": "[{\"Yes\": \"yes\"}]"
                  }
                ]
              }
            ]
          }
        ]
      }
    ],
    "user_action": {
      "type": "show_success_message",
      "message": "Your appointment request has been submitted. We will contact you soon!",
      "url": ""
    }
  }
}
