{
    "action": "add_pagedata_structure",
    "pagedata": [
        {
            "name": "Content title",
            "order": "0",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Content title",
                            "order": "0"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Content",
            "order": "1",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Content",
                            "order": "0",
                            "type": "textarea",
                            "css_class": "tinymce"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Addresses",
            "type": "text",
            "order": "2",
            "items": [
                {
                    "order": "0",
                    "data": [
                        {
                            "name": "Location",
                            "order": "1"
                        },
                        {
                            "name": "Email Address",
                            "order": "2"
                        },
                        {
                            "name": "Telephone Number",
                            "order": "3"
                        },
                        {
                            "name": "Street Address",
                            "order": "4"
                        },
                        {
                            "name": "Street Address 2",
                            "order": "5"
                        },
                        {
                            "name": "City",
                            "order": "6"
                        },
                        {
                            "name": "Country",
                            "order": "7"
                        },
                        {
                            "name": "Postcode",
                            "order": "8"
                        },
                        {
                            "name": "Opening hours",
                            "order": "9",
                            "type": "textarea",
                            "css_class": "simpleTinymce"
                        },
                        {
                            "name": "View Map Link",
                            "order": "10"
                        },
                        {
                            "name": "Map Coordinates",
                            "order": "11",
                            "regex": "\/^-?[0-9]+\\.[0-9]+,-?[0-9]+\\.[0-9]+$\/",
                            "css_class": "coordinates"
                        }
                    ]
                }
            ]
        }
    ]
}