{
  "title": "Employee Directory",
  "header": [
    { "type": "html", "html": "<h3 class=\"text-lg font-bold\">Directory</h3>" }
  ],
  "body": [
    {
      "type": "table",
      "options": {
        "tableName": "employees",
        "editFormId": 5,
        "syncManager": {},
        "rowActions": [
          { "label": "Profile", "formId": 10 },
          { "label": "Activate", "workflow": "employee.activate" }
        ]
      }
    },
    {
      "type": "form",
      "formId": 5,
      "options": { "submitText": "Add" }
    }
  ],
  "footer": [
    { "type": "button", "label": "Close", "onClick": "closeModal" },
    { "type": "button", "label": "Submit", "api": { "url": "/api/employees", "method": "POST" } }
  ]
}
