{
  "formId": "menugroup",
  "entity": "MenuGroup",
  "title": "Menu Group",
  "idField": "MenuGroupId",
  "pages": [
    {
      "pageId": "General",
      "pageName": "General",
      "sections": [
        {
          "sectionId": "GeneralInfo",
          "sectionName": "Group Properties",
          "layout": { "columns": 12 },
          "fields": [
            { "fieldId": "MenuGroupId", "type": "number", "DefaultValue": 0, "PostData": true, "IsVisible": false },
            { "fieldId": "ParentGroupId", "type": "number", "DefaultValue": -1, "PostData": true, "IsVisible": false },
            { "fieldId": "MenuSetId", "type": "number", "PostData": true, "IsVisible": false },
            {
              "fieldId": "GroupCode",
              "label": "Group Code",
              "type": "string",
              "mandatory": true,
              "MaxLength": 20,
              "layout": { "colSpan": 4 }
            },
            {
              "fieldId": "GroupName",
              "label": "Group Name",
              "type": "string",
              "mandatory": true,
              "MaxLength": 100,
              "layout": { "colSpan": 8 }
            },
            {
              "fieldId": "IconName",
              "label": "Icon Name",
              "type": "string",
              "MaxLength": 50,
              "layout": { "colSpan": 4 }
            },
            {
              "fieldId": "SortOrder",
              "label": "Sort Order",
              "type": "number",
              "DefaultValue": 9999,
              "layout": { "colSpan": 4 }
            },
            {
              "fieldId": "Status",
              "label": "Status",
              "type": "combobox",
              "DefaultValue": 1,
              "PickLists": [
                { "key": 0, "value": "Pending" },
                { "key": 1, "value": "Active" },
                { "key": 2, "value": "Deleted" },
                { "key": 3, "value": "Amended" },
                { "key": 4, "value": "Inactive" },
                { "key": 5, "value": "Archived" }
              ],
              "layout": { "colSpan": 4 }
            },
            {
              "fieldId": "Remarks",
              "label": "Remarks",
              "type": "string",
              "MaxLength": 200,
              "layout": { "colSpan": 12 }
            }
          ]
        }
      ]
    }
  ],
  "api": {
    "save": "Framework.MenuGroup.Save",
    "update": "Framework.MenuGroup.Save",
    "delete": "Framework.MenuGroup.Delete"
  }
}
