{
    "action": "add_pagedata_structure",
    "pagedata": [
        {
            "name": "Title Banner with image",
            "type": "text",
            "order": "0",
            "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": "Services Intro",
            "order": "1",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Title",
                            "order": "0"
                        },
                        {
                            "name": "Content",
                            "order": "1",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Services",
            "order": "2",
            "allow_more": "1",
            "allow_more_max": "3",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Service Icon",
                            "order": "0",
                            "type": "select",
                            "setup": "1",
                            "options": "json_url:\/sites\/pharmacy\/admin\/svgicons.php"
                        },
                        {
                            "name": "Service Name",
                            "order": "1"
                        },
                        {
                            "name": "Service Description",
                            "order": "2",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        }
                    ]
                }
            ]
        },
        {
            "name": "CTA Banner",
            "type": "text",
            "order": "3",
            "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": "Information Banner",
            "order": "4",
            "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": "5",
            "allow_more": "1",
            "allow_more_max": "4",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Icon",
                            "order": "0",
                            "type": "select",
                            "setup": "1",
                            "options": "json_url:\/sites\/pharmacy\/admin\/svgicons.php"
                        },
                        {
                            "name": "Title",
                            "order": "1"
                        },
                        {
                            "name": "Content",
                            "order": "2",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        }
                    ]
                }
            ]
        },
        {
            "name": "NHS Prescription Form Help",
            "type": "text",
            "info": "Oved within the \"Help\" overlay within NHS prescription forms.",
            "order": "6",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Title",
                            "order": "0"
                        },
                        {
                            "name": "Content",
                            "order": "1",
                            "type": "textarea",
                            "css_class": "tinymce"
                        }
                    ]
                }
            ]
        }
    ]
}