{
    "action": "add_pagedata_structure",
    "pagedata": [
        {
            "name": "Title Banner",
            "type": "text",
            "order": "0",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Title",
                            "order": "0"
                        },
                        {
                            "name": "Subtitle",
                            "order": "1"
                        },
                        {
                            "name": "Content",
                            "order": "2",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        },
                        {
                            "name": "Button Text",
                            "order": "3"
                        },
                        {
                            "name": "Button Link",
                            "order": "4"
                        },
                        {
                            "name": "Button 2 Text",
                            "order": "5"
                        },
                        {
                            "name": "Button 2 Link",
                            "order": "6"
                        },
                        {
                            "name": "Show Login Link",
                            "info": "If checked, this will overwrite button 2 with a link to the login page.",
                            "order": "7",
                            "type": "checkbox",
                            "setup": "1"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Title Banner with image",
            "type": "text",
            "order": "1",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Banner Image",
                            "info": "Recommended Image Size:  847px x 640px ",
                            "order": "0",
                            "type": "image",
                            "mime": "^image\\\/(jpeg|bmp|gif|png)$",
                            "settings": "{\"crop_adjust\":[\"title_banner\",\"title_banner_mobile\", \"title_banner_tall\"], \"image_sizes\":[\"title_banner\",\"title_banner_mobile\",\"title_banner_tall\"]}",
                            "css_class": "imageUploadifive",
                            "data2": "Online Doctor Banner Image"
                        },
                        {
                            "name": "Title",
                            "order": "1"
                        },
                        {
                            "name": "Subtitle",
                            "order": "2"
                        },
                        {
                            "name": "Content",
                            "order": "3",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        },
                        {
                            "name": "Button Text",
                            "order": "4"
                        },
                        {
                            "name": "Button Link",
                            "order": "5"
                        },
                        {
                            "name": "Button 2 Text",
                            "order": "6"
                        },
                        {
                            "name": "Button 2 Link",
                            "order": "7"
                        },
                        {
                            "name": "Show Login Link",
                            "info": "If checked, this will overwrite button 2 with a link to the login page.",
                            "order": "8",
                            "type": "checkbox",
                            "setup": "1"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Title Banner with graphic",
            "type": "text",
            "order": "2",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Title",
                            "order": "0"
                        },
                        {
                            "name": "Subtitle",
                            "order": "1"
                        },
                        {
                            "name": "Content",
                            "order": "2",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        },
                        {
                            "name": "Button Text",
                            "order": "3"
                        },
                        {
                            "name": "Button Link",
                            "order": "4"
                        },
                        {
                            "name": "Button 2 Text",
                            "order": "5"
                        },
                        {
                            "name": "Button 2 Link",
                            "order": "6"
                        },
                        {
                            "name": "Show Login Link",
                            "info": "If checked, this will overwrite button 2 with a link to the login page.",
                            "order": "7",
                            "type": "checkbox",
                            "setup": "1"
                        }
                    ]
                }
            ]
        },
        {
            "name": "About Icons",
            "order": "3",
            "allow_more": "1",
            "allow_more_max": "3",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Service Icon",
                            "order": "0",
                            "type": "select",
                            "setup": "1",
                            "options": "json_url:\/sites\/default\/admin\/svgicons.php"
                        },
                        {
                            "name": "Service Name",
                            "order": "1"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Title Banner with image (Alt)",
            "type": "text",
            "order": "4",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Banner Image",
                            "info": "Recommended Image Size:  847px x 640px ",
                            "order": "0",
                            "type": "image",
                            "mime": "^image\\\/(jpeg|bmp|gif|png)$",
                            "settings": "{\"crop_adjust\":[\"title_banner\",\"title_banner_mobile\", \"title_banner_tall\"], \"image_sizes\":[\"title_banner\",\"title_banner_mobile\",\"title_banner_tall\"]}",
                            "css_class": "imageUploadifive",
                            "data2": "Online Doctor Banner Image"
                        },
                        {
                            "name": "Title",
                            "order": "1"
                        },
                        {
                            "name": "Subtitle",
                            "order": "2"
                        },
                        {
                            "name": "Content",
                            "order": "3",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        },
                        {
                            "name": "Button Text",
                            "order": "4"
                        },
                        {
                            "name": "Button Link",
                            "order": "5"
                        },
                        {
                            "name": "Button 2 Text",
                            "order": "6"
                        },
                        {
                            "name": "Button 2 Link",
                            "order": "7"
                        },
                        {
                            "name": "Show Login Link",
                            "info": "If checked, this will overwrite button 2 with a link to the login page.",
                            "order": "8",
                            "type": "checkbox",
                            "setup": "1"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Title",
            "type": "text",
            "order": "5",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Title",
                            "order": "0"
                        },
                        {
                            "name": "Subtitle",
                            "order": "1"
                        },
                        {
                            "name": "Content",
                            "order": "2",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Conditions Intro",
            "order": "6",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Title",
                            "order": "0"
                        },
                        {
                            "name": "Content",
                            "order": "1",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Conditions",
            "order": "7",
            "allow_more": "1",
            "allow_more_max": "7",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Name",
                            "order": "0"
                        },
                        {
                            "name": "Linked Category",
                            "order": "1",
                            "type": "select",
                            "setup": "1",
                            "options": "json_url:\/cms\/admin\/content_manager\/ajax\/json_shop_categories.php"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Services Into",
            "order": "8",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Title",
                            "order": "0"
                        },
                        {
                            "name": "Content",
                            "order": "1",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Services",
            "order": "9",
            "allow_more": "1",
            "allow_more_max": "3",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Service Icon",
                            "order": "0",
                            "type": "select",
                            "setup": "1",
                            "options": "json_url:\/sites\/default\/admin\/svgicons.php"
                        },
                        {
                            "name": "Service Name",
                            "order": "1"
                        },
                        {
                            "name": "Service Description",
                            "order": "2",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Content Sections",
            "order": "10",
            "allow_more": "1",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Title",
                            "order": "0"
                        },
                        {
                            "name": "Content",
                            "order": "1",
                            "type": "textarea",
                            "css_class": "tinymce"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Large CTA Banner",
            "type": "text",
            "order": "11",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Title",
                            "order": "0"
                        },
                        {
                            "name": "Content",
                            "order": "1",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        },
                        {
                            "name": "Button Text",
                            "order": "2"
                        },
                        {
                            "name": "Button Link",
                            "order": "3"
                        }
                    ]
                }
            ]
        },
        {
            "name": "CTA Banner",
            "type": "text",
            "order": "12",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Title",
                            "order": "0"
                        },
                        {
                            "name": "Content",
                            "order": "1",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        },
                        {
                            "name": "Button Text",
                            "order": "2"
                        },
                        {
                            "name": "Button Link",
                            "order": "3"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Image Banner",
            "type": "text",
            "order": "13",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Banner Image",
                            "info": "Recommended Image Size:  847px x 640px ",
                            "order": "0",
                            "type": "image",
                            "mime": "^image\\\/(jpeg|bmp|gif|png)$",
                            "settings": "{\"crop_adjust\":[\"title_banner\",\"title_banner_mobile\", \"title_banner_tall\"], \"image_sizes\":[\"title_banner\",\"title_banner_mobile\",\"title_banner_tall\"]}",
                            "css_class": "imageUploadifive",
                            "data2": "Online Doctor Banner Image"
                        },
                        {
                            "name": "Logo",
                            "info": "Min height: 64px",
                            "order": "1",
                            "type": "image",
                            "mime": "^image\\\/(jpeg|bmp|gif|png)$",
                            "settings": "{\"image_sizes\":[\"title_logo\"]}",
                            "css_class": "imageUploadifive",
                            "data2": "Example Blocks Logo"
                        },
                        {
                            "name": "Title",
                            "order": "2"
                        },
                        {
                            "name": "Content",
                            "order": "3",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        },
                        {
                            "name": "Button Text",
                            "order": "4"
                        },
                        {
                            "name": "Button Link",
                            "order": "5"
                        }
                    ]
                }
            ]
        },
        {
            "name": "CTA Boxes",
            "type": "text",
            "order": "14",
            "allow_more_max": "2",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Image",
                            "info": "Min Width: 1000px Min Height: 702px",
                            "order": "0",
                            "type": "image",
                            "mime": "^image\\\/(jpeg|bmp|gif|png)$",
                            "settings": "{\"crop_adjust\":[\"cta_box\",\"cta_box_wide\",\"cta_box_mobile\",\"cta_box_mobile_tall\"], \"image_sizes\":[\"cta_box\",\"cta_box_wide\",\"cta_box_mobile\",\"cta_box_mobile_tall\"]}",
                            "css_class": "imageUploadifive",
                            "data2": "Example Blocks Image"
                        },
                        {
                            "name": "Title",
                            "order": "1"
                        },
                        {
                            "name": "Content",
                            "order": "2",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        },
                        {
                            "name": "Button Text",
                            "order": "3"
                        },
                        {
                            "name": "Link URL",
                            "order": "4"
                        },
                        {
                            "name": "Dark Text",
                            "order": "5",
                            "type": "checkbox"
                        },
                        {
                            "name": "Dark Overlay",
                            "order": "6",
                            "type": "checkbox"
                        }
                    ]
                }
            ]
        },
        {
            "name": "CTA Boxes (with Tabs)",
            "type": "text",
            "order": "15",
            "allow_more": "1",
            "allow_more_max": "24",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Tab Title",
                            "order": "0"
                        },
                        {
                            "name": "Image",
                            "info": "Min Width: 1000px Min Height: 702px",
                            "order": "1",
                            "type": "image",
                            "mime": "^image\\\/(jpeg|bmp|gif|png)$",
                            "settings": "{\"crop_adjust\":[\"cta_box\",\"cta_box_wide\",\"cta_box_mobile\",\"cta_box_mobile_tall\"], \"image_sizes\":[\"cta_box\",\"cta_box_wide\",\"cta_box_mobile\",\"cta_box_mobile_tall\"]}",
                            "css_class": "imageUploadifive",
                            "data2": "Example Blocks Image"
                        },
                        {
                            "name": "Title",
                            "order": "2"
                        },
                        {
                            "name": "Content",
                            "order": "3",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        },
                        {
                            "name": "Button Text",
                            "order": "4"
                        },
                        {
                            "name": "Link URL",
                            "order": "5"
                        },
                        {
                            "name": "Dark Text",
                            "order": "6",
                            "type": "checkbox"
                        },
                        {
                            "name": "Dark Overlay",
                            "order": "7",
                            "type": "checkbox"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Information Banner",
            "order": "16",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Title",
                            "order": "0"
                        },
                        {
                            "name": "Content",
                            "order": "1",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        },
                        {
                            "name": "Image",
                            "info": "Width: 2000px Height: 1000px",
                            "order": "2",
                            "type": "image",
                            "mime": "^image\\\/(jpeg|bmp|gif|png)$",
                            "settings": "{\"crop_adjust\":[\"information_banner\",\"information_banner_square\",\"information_banner_mobile\"], \"image_sizes\":[\"information_banner\",\"information_banner_square\",\"information_banner_mobile\"]}",
                            "css_class": "imageUploadifive",
                            "data2": "Example Blocks Image"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Information Banner Items",
            "order": "17",
            "allow_more": "1",
            "allow_more_max": "4",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Icon",
                            "order": "0",
                            "type": "select",
                            "setup": "1",
                            "options": "json_url:\/sites\/default\/admin\/svgicons.php"
                        },
                        {
                            "name": "Title",
                            "order": "1"
                        },
                        {
                            "name": "Content",
                            "order": "2",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Slideshow",
            "order": "18",
            "allow_more": "1",
            "allow_more_max": "4",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Image",
                            "info": "Width: 1392px Height: 559px",
                            "order": "0",
                            "type": "image",
                            "mime": "^image\\\/(jpeg|bmp|gif|png)$",
                            "settings": "{\"crop_adjust\":[\"slide_boxed\",\"slide_boxed_tablet\",\"slide_boxed_tablet_small\",\"slide_boxed_mobile\"], \"image_sizes\":[\"slide_boxed\",\"slide_boxed_tablet\",\"slide_boxed_tablet_small\",\"slide_boxed_mobile\"]}",
                            "css_class": "imageUploadifive",
                            "data2": "Example Blocks Image"
                        },
                        {
                            "name": "Title",
                            "info": "Supports bold text by wrapping text within a <strong> tag. e.g <strong>This will be bold<\/strong>",
                            "order": "1",
                            "setup": "1"
                        },
                        {
                            "name": "Content",
                            "order": "2",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        },
                        {
                            "name": "Dark Overlay",
                            "order": "3",
                            "type": "checkbox"
                        },
                        {
                            "name": "White Text",
                            "order": "4",
                            "type": "checkbox"
                        },
                        {
                            "name": "Link",
                            "order": "5"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Testimonials",
            "order": "19",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Image",
                            "info": "Width: 232px Height: 232px",
                            "order": "0",
                            "type": "image",
                            "mime": "^image\\\/(jpeg|bmp|gif|png)$",
                            "settings": "{\"crop_adjust\":[\"testimonial_box\"], \"image_sizes\":[\"testimonial_box\"]}",
                            "css_class": "imageUploadifive",
                            "data2": "Example Blocks Image"
                        },
                        {
                            "name": "Title",
                            "order": "1"
                        },
                        {
                            "name": "Testimonial",
                            "order": "2",
                            "type": "textarea",
                            "setup": "1",
                            "css_class": "simpleTinymce"
                        },
                        {
                            "name": "Quote by",
                            "order": "3"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Video Banner",
            "type": "text",
            "order": "20",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Youtube URL",
                            "order": "0"
                        },
                        {
                            "name": "Image",
                            "order": "1",
                            "type": "image",
                            "mime": "^image\\\/(jpeg|bmp|gif|png)$",
                            "settings": "{\"crop_adjust\":[\"video_banner\",\"video_banner_mobile\"], \"image_sizes\":[\"video_banner\",\"video_banner_mobile\"]}",
                            "css_class": "imageUploadifive",
                            "data2": "Example Blocks Image"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Stats Banner",
            "type": "text",
            "order": "21",
            "allow_more": "1",
            "allow_more_max": "5",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Value",
                            "order": "0"
                        },
                        {
                            "name": "Suffix",
                            "info": "e.g + | % | \/100",
                            "order": "1",
                            "setup": "1"
                        },
                        {
                            "name": "Title",
                            "order": "2"
                        },
                        {
                            "name": "Animate",
                            "order": "3",
                            "type": "checkbox"
                        }
                    ]
                }
            ]
        },
        {
            "name": "FAQs",
            "order": "22",
            "allow_more": "1",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Question",
                            "order": "0"
                        },
                        {
                            "name": "Answer",
                            "order": "1",
                            "type": "textarea",
                            "css_class": "tinymce"
                        }
                    ]
                }
            ]
        },
        {
            "name": "About Banner Intro",
            "order": "23",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Title",
                            "order": "0"
                        },
                        {
                            "name": "Content",
                            "order": "1",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Cutoff Time",
            "order": "24",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Cutoff Time",
                            "order": "0",
                            "regex": "\/^([0-9]{2}\\\/[0-9]{2}\\\/[0-9]{4} [0-9]{2}:[0-9]{2})|([0-9]{2}\\\/[0-9]{2}\\\/[0-9]{4})|([0-9]{2}:[0-9]{2})$\/",
                            "settings": "d\/m\/Y H:i",
                            "css_class": "datetime"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Timer Text",
            "type": "text",
            "order": "25",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Timer Text",
                            "order": "0"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Hide Pharmacy Items",
            "type": "checkbox",
            "order": "26",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Hide Pharmacy Items",
                            "order": "0",
                            "type": "checkbox"
                        }
                    ]
                }
            ]
        }
    ]
}
