{
    "entityType": "role",
    "title": "Role Request",
    "columns": 12,
    "sections": [
        {
            "id": "role-info",
            "title": "Role Information",
            "columns": 12,
            "rows": [
                {
                    "fields": [
                        {
                            "label": "Role Code",
                            "dataKey": "parsedData.RoleCode",
                            "type": "badge",
                            "span": 4
                        },
                        {
                            "label": "Role Name",
                            "dataKey": "parsedData.RoleName",
                            "type": "text",
                            "span": 8,
                            "styles": {
                                "valueClass": "entity-fw-bold entity-fs-5"
                            }
                        }
                    ]
                },
                {
                    "fields": [
                        {
                            "label": "Sort Order",
                            "dataKey": "parsedData.RoleSortOrder",
                            "type": "number",
                            "span": 4
                        },
                        {
                            "label": "Version",
                            "dataKey": "parsedData.RoleVersion",
                            "type": "number",
                            "span": 4
                        },
                        {
                            "label": "Status",
                            "dataKey": "parsedData.RoleStatus",
                            "type": "badge",
                            "span": 4,
                            "styles": {
                                "variantMap": {
                                    "0": "warning",
                                    "1": "success"
                                }
                            }
                        }
                    ]
                }
            ]
        },
        {
            "id": "role-description",
            "title": "Remarks",
            "columns": 12,
            "rows": [
                {
                    "fields": [
                        {
                            "label": "Role Remarks",
                            "dataKey": "parsedData.RoleRemarks",
                            "type": "textarea",
                            "span": 12
                        }
                    ]
                }
            ]
        },
        {
            "id": "role-metadata",
            "title": "Metadata",
            "columns": 12,
            "rows": [
                {
                    "fields": [
                        {
                            "label": "Created On",
                            "dataKey": "parsedData.RoleCreatedOn",
                            "type": "date",
                            "span": 4
                        },
                        {
                            "label": "Modified On",
                            "dataKey": "parsedData.RoleModifiedOn",
                            "type": "date",
                            "span": 4
                        },
                        {
                            "label": "Source Type",
                            "dataKey": "parsedData.RoleSourceType",
                            "type": "text",
                            "span": 4
                        }
                    ]
                }
            ]
        },
        {
            "id": "workflow",
            "title": "Workflow Details",
            "columns": 12,
            "rows": [
                {
                    "fields": [
                        {
                            "label": "Submitted By",
                            "dataKey": "SubmittedByName",
                            "type": "text",
                            "span": 4
                        },
                        {
                            "label": "Assigned To",
                            "dataKey": "AssignedToUserName",
                            "type": "text",
                            "span": 4
                        },
                        {
                            "label": "Status",
                            "dataKey": "WorkflowStatusName",
                            "type": "badge",
                            "span": 4,
                            "styles": {
                                "variantMap": {
                                    "Pending": "warning",
                                    "Approved": "success",
                                    "Rejected": "danger"
                                }
                            }
                        }
                    ]
                },
                {
                    "fields": [
                        {
                            "label": "Submitted On",
                            "dataKey": "SubmittedOn",
                            "type": "date",
                            "span": 4
                        },
                        {
                            "label": "Created On",
                            "dataKey": "CreatedOn",
                            "type": "date",
                            "span": 4
                        },
                        {
                            "label": "Task Status",
                            "dataKey": "WorkFlowTaskStatusName",
                            "type": "badge",
                            "span": 4
                        }
                    ]
                }
            ]
        }
    ]
}