Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
8.2 kB
3
Indexable
{
    "status": true,
    "jsonData": {
        "1": {
            "package": {
                "type": "select",
                "label": "Please choose the type of stay",
                "placeholder": "Please Select Package",
                "package": {
                    "3": "Gold - CHF 911.00 per day",
                    "9": "prime - CHF 1677.60 per day",
                    "12": "Silver - CHF 817.72 per day"
                }
            },
            "noofdays": {
                "type": "text",
                "label": "How many days",
                "placeholder": "Enter No Of Days"
            },
            "arrivaldate": {
                "type": "text",
                "label": "Preferred Arrival Date",
                "placeholder": "Select Arrival Date"
            },
            "departuredate": {
                "type": "text",
                "label": "Preferred Departure Date",
                "placeholder": "Select Departure Date"
            },
            "email": {
                "type": "email",
                "label": "Email",
                "placeholder": "Enter Email"
            },
            "phone": {
                "type": "text",
                "label": "Phone",
                "placeholder": "Enter Phone Number"
            }
        },
        "2": {
            "1": {
                "service": {
                    "label": "Sport Choice",
                    "placeholder": "Please Select Service",
                    "service_type_id": [
                        "5"
                    ],
                    "type": "radio",
                    "service_id": {
                        "20": "Ski",
                        "21": "Snowboard"
                    }
                }
            },
            "2": {
                "service": {
                    "label": "Level",
                    "placeholder": "Please Select Service",
                    "service_type_id": [
                        "2"
                    ],
                    "type": "radio",
                    "service_id": {
                        "22": "Begineer",
                        "23": "Intermediate",
                        "24": "Advanced"
                    }
                }
            }
        },
        "3": {
            "1": {
                "service": {
                    "label": "Options",
                    "placeholder": "Please Select Service",
                    "service_type_id": [
                        "3"
                    ],
                    "type": "checkbox",
                    "service_id": {
                        "25": "Conversational language program / per week +CHF 50.00",
                        "26": "Purchase of equipment package +CHF 190.00",
                        "27": "Pick-up & Drop-off service in Verbier +CHF 40.00",
                        "28": "Helmet / per week +CHF 15.00",
                        "29": "3-min HD Individual ski movie +CHF 285.00"
                    }
                }
            },
            "language": {
                "type": "radio",
                "label": "Language",
                "placeholder": "Please Select Language",
                "language": {
                    "3": "German",
                    "2": "French",
                    "1": "English"
                },
                "mutiselect": "0"
            }
        },
        "4": {
            "parent": {
                "type": "Parent Details",
                "label": "Parent Details",
                "fields": [
                    {
                        "label": "Prefix",
                        "type": "select",
                        "parent_prefix": "1"
                    },
                    {
                        "label": "First Name",
                        "type": "text",
                        "parent_first": "1"
                    },
                    {
                        "label": "Last Name",
                        "type": "text",
                        "parent_last": "1"
                    },
                    {
                        "label": "City",
                        "type": "text"
                    },
                    {
                        "label": "Country",
                        "type": "select"
                    },
                    {
                        "label": "Street Address",
                        "type": "text"
                    },
                    {
                        "label": "Zip / Postal Code",
                        "type": "text"
                    }
                ]
            }
        },
        "5": {
            "parent": {
                "type": "Address",
                "label": "Address",
                "fields": [
                    {
                        "label": "Prefix",
                        "type": "select"
                    },
                    {
                        "label": "First Name",
                        "type": "text"
                    },
                    {
                        "label": "Last Name",
                        "type": "text"
                    },
                    {
                        "label": "City",
                        "type": "text",
                        "parent_city": "1"
                    },
                    {
                        "label": "Country",
                        "type": "select",
                        "parent_country": "1"
                    },
                    {
                        "label": "Street Address",
                        "type": "text",
                        "parent_streetaddress": "1"
                    },
                    {
                        "label": "Zip / Postal Code",
                        "type": "text",
                        "parent_zipcode": "1"
                    }
                ]
            }
        },
        "6": {
            "child": {
                "type": "Child Details",
                "label": "Child Details",
                "fields": [
                    {
                        "label": "Child Prefix",
                        "type": "select",
                        "child_prefix": "1"
                    },
                    {
                        "label": "Child First Name",
                        "type": "text",
                        "child_first": "1"
                    },
                    {
                        "label": "Child Last Name",
                        "type": "text",
                        "child_last": "1"
                    },
                    {
                        "label": "Child City",
                        "type": "text"
                    },
                    {
                        "label": "Child Country",
                        "type": "select"
                    },
                    {
                        "label": "Child Street Address",
                        "type": "text"
                    },
                    {
                        "label": "Child ZipCode",
                        "type": "text"
                    },
                    {
                        "label": "Child Nationality And Language",
                        "type": "text",
                        "nationality": "1"
                    },
                    {
                        "label": "Child Date Of Birth",
                        "type": "text",
                        "date_of_birth": "1"
                    },
                    {
                        "label": "Child Passport No",
                        "type": "text",
                        "child_passport": "1"
                    },
                    {
                        "label": "Child's School",
                        "type": "text",
                        "child_school": "1"
                    }
                ]
            }
        },
        "7": {
            "comments": {
                "type": "textarea",
                "label": "Comments",
                "placeholder": "Enter comments"
            }
        }
    }
}