{"body": [{"type": "table", "options": {"tableName": "policies", "editFormId": 1, "rowActions": [{"label": "Edit", "formId": 1}, {"label": "Delete", "action": "delete"}], "syncManager": {}, "showGlobalSearch": true}}, {"type": "form", "formId": 1, "options": {"submitText": "Save Policy"}, "elements": [{"label": "Title", "type_id": 1, "required": true, "field_name": "title", "data_column": "title", "order_index": 1}, {"label": "Content", "type_id": 7, "field_name": "content", "data_column": "content", "order_index": 2}, {"label": "Content Type", "options": ["html", "pdf"], "type_id": 9, "field_name": "content_type", "data_column": "content_type", "order_index": 3, "options_table": null}, {"label": "Policy Type", "type_id": 1, "field_name": "policy_type", "data_column": "policy_type", "order_index": 4}, {"label": "PDF URL", "type_id": 1, "field_name": "pdf_url", "data_column": "pdf_url", "order_index": 5}, {"label": "Language Code", "default": "en", "type_id": 1, "field_name": "language_code", "data_column": "language_code", "order_index": 6}, {"label": "Expiry Date", "type_id": 4, "field_name": "expiry_date", "data_column": "expiry_date", "order_index": 7}, {"label": "Renewal Status", "type_id": 1, "field_name": "renewal_status", "data_column": "renewal_status", "order_index": 8}, {"label": "Visible to Roles", "type_id": 1, "field_name": "visible_to_roles", "data_column": "visible_to_roles", "order_index": 9}, {"label": "Visible to Group", "type_id": 1, "field_name": "visible_to_group", "data_column": "visible_to_group", "order_index": 10}, {"label": "Visible to All", "type_id": 3, "field_name": "visible_to_all", "data_column": "visible_to_all", "order_index": 11}, {"label": "Version", "default": 1, "type_id": 2, "field_name": "version", "data_column": "version", "order_index": 12}]}], "title": "Policies", "footer": [{"type": "button", "label": "Close", "onClick": "closeModal"}, {"api": {"url": "/api/policies", "method": "POST"}, "type": "button", "label": "Submit"}], "header": [{"html": "<h3 class=\"text-lg font-bold\">Policies Management</h3>", "type": "html"}]}