{
    "action": "add_pagedata_structure",
    "pagedata": [
        {
            "name": "Category 1 Name",
            "type": "text",
            "order": 0,
            "items": [
                {
                    "order": 0,
                    "data": [
                        {
                            "name": "Category 1 Name",
                            "order": 0
                        }
                    ]
                }
            ]
        },
        {
            "name": "Category 1",
            "type": "text",
            "order": 1,
            "allow_more": 1,
            "items": [
                {
                    "order": 0,
                    "data": [
                        {
                            "name": "Question",
                            "order": 0
                        },
                        {
                            "name": "Answer",
                            "order": 1,
                            "type": "textarea",
                            "css_class": "tinymce"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Category 2 Name",
            "type": "text",
            "order": 2,
            "items": [
                {
                    "order": 0,
                    "data": [
                        {
                            "name": "Category 2 Name",
                            "order": 0
                        }
                    ]
                }
            ]
        },
        {
            "name": "Category 2",
            "order": 3,
            "allow_more": 1,
            "items": [
                {
                    "order": 0,
                    "data": [
                        {
                            "name": "Question",
                            "order": 0
                        },
                        {
                            "name": "Answer",
                            "order": 1,
                            "type": "textarea",
                            "css_class": "tinymce"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Category 3 Name",
            "type": "text",
            "order": 4,
            "items": [
                {
                    "order": 0,
                    "data": [
                        {
                            "name": "Category 3 Name",
                            "order": 0
                        }
                    ]
                }
            ]
        },
        {
            "name": "Category 3",
            "order": 5,
            "allow_more": 1,
            "items": [
                {
                    "order": 0,
                    "data": [
                        {
                            "name": "Question",
                            "order": 0
                        },
                        {
                            "name": "Answer",
                            "order": 1,
                            "type": "textarea",
                            "css_class": "tinymce"
                        }
                    ]
                }
            ]
        },
        {
            "name": "Category 4 Name",
            "type": "text",
            "order": 6,
            "items": [
                {
                    "order": 0,
                    "data": [
                        {
                            "name": "Category 4 Name",
                            "order": 0
                        }
                    ]
                }
            ]
        },
        {
            "name": "Category 4",
            "order": 7,
            "allow_more": 1,
            "items": [
                {
                    "order": 0,
                    "data": [
                        {
                            "name": "Question",
                            "order": 0
                        },
                        {
                            "name": "Answer",
                            "order": 1,
                            "type": "textarea",
                            "css_class": "tinymce"
                        }
                    ]
                }
            ]
        }
    ]
}