{
    "BulkEditor": {
        "pages": {
            "all": {
                "style": "profile",
                "layout": [
                    [
                        {
                            "type": "bb-tabs-panel",
                            "width": 12,
                            "index": 0,
                            "panel_params": {
                                "hide_single": false,
                                "tabs": [
                                    {
                                        "name": "Events",
                                        "path": ".views({sub_view: 'events'})"
                                    }
                                ]
                            }
                        }
                    ]
                ]
            },
            "events": {
                "style": "tab",
                "layout": [
                    [
                        {
                            "type": "bb-bulk-editor",
                            "width": 12,
                            "index": 0,
                            "panel_params": {
                                "type": "events",
                                "object": "event_chains",
                                "newObject": "new_event_chain",
                                "maxRows": 500,
                                "refs": [
                                    {"key": "person_id", "data": "person_ref", "title": "Person Ref", "lookup": "people"},
                                    {"key": "resource_id", "data": "resource_ref", "title": "Resource Ref", "lookup": "resources"}
                                ],
                                "skipDropdowns": ["events"],
                                "hiddenColumns": [
                                    "address_id",
                                    "description",
                                    "events",
                                    "events.duration",
                                    "events.datetime",
                                    "event_group_id",
                                    "max_advance_value",
                                    "max_advance_unit",
                                    "min_advance_value",
                                    "min_advance_unit",
                                    "min_cancel_value",
                                    "min_cancel_unit",
                                    "person_id",
                                    "person_ref",
                                    "reference",
                                    "repeat_type",
                                    "resource_id"
                                ],
                                "readOnlyColumns": [
                                    "resource_id",
                                    "person_id",
                                    "id"
                                ],
                                "columnWidths": {},
                                "allowPastEvents": false,
                                "loadDataOnInit": false,
                                "dataFormat": "DD/MM/YYYY",
                                "timeFormat": "HH:mm",
                                "datePickerFormat": "dd/MM/yyyy",
                                "timeFormatPlaceholder": "HH:mm",
                                "overrideForm": [
                                    {
                                        "key": "spaces",
                                        "default": 1
                                    }
                                ]
                            }
                        }
                    ]
                ]
            },
            "roles": [
                "parent-admin",
                "parent-owner",
                "owner",
                "admin"
            ]
        }
    }
}
