{
    "name": "admin",
    "version": "1.0.0",
    "description_en": "System Administration Module",
    "description_ar": "وحدة إدارة النظام",
    "sort_order": 99,
    "routes_file": "routes.php",
    "css_files": ["css/admin.css"],
    "js_files": ["js/admin.js"],
    "menu": [
        {
            "label_en": "Administration",
            "label_ar": "الإدارة",
            "icon": "fas fa-cogs",
            "sort_order": 90,
            "children": [
                {"label_en": "Users", "label_ar": "المستخدمين", "route": "/admin/users", "permission": "users.view", "sort_order": 1},
                {"label_en": "Roles", "label_ar": "الأدوار", "route": "/admin/roles", "permission": "roles.manage", "sort_order": 2},
                {"label_en": "Departments", "label_ar": "الأقسام", "route": "/admin/departments", "permission": "staff.view", "sort_order": 3},
                {"label_en": "Staff", "label_ar": "الموظفين", "route": "/admin/staff", "permission": "staff.view", "sort_order": 4},
                {"label_en": "Settings", "label_ar": "الإعدادات", "route": "/admin/settings", "permission": "settings.view", "sort_order": 5},
                {"label_en": "Lookups", "label_ar": "القوائم المرجعية", "route": "/admin/lookups", "permission": "settings.manage", "sort_order": 6},
                {"label_en": "Translations", "label_ar": "الترجمات", "route": "/admin/translations", "permission": "settings.manage", "sort_order": 7},
                {"label_en": "System Jobs", "label_ar": "مهام النظام", "route": "/admin/jobs", "permission": "settings.manage", "sort_order": 8},
                {"label_en": "Audit Log", "label_ar": "سجل التدقيق", "route": "/admin/audit-log", "permission": "audit.view", "sort_order": 9},
                {"label_en": "Login Log", "label_ar": "سجل الدخول", "route": "/admin/login-log", "permission": "audit.view", "sort_order": 10},
                {"label_en": "Data Quality", "label_ar": "جودة البيانات", "route": "/admin/data-quality", "permission": "settings.manage", "sort_order": 11},
                {"label_en": "Import", "label_ar": "استيراد البيانات", "route": "/admin/import", "permission": "import.execute", "sort_order": 12},
                {"label_en": "Export Log", "label_ar": "سجل التصدير", "route": "/admin/export-log", "permission": "export.execute", "sort_order": 13},
                {"label_en": "Recycle Bin", "label_ar": "سلة المحذوفات", "route": "/admin/recycle-bin", "permission": "settings.manage", "sort_order": 14},
                {"label_en": "Form Numbers", "label_ar": "أرقام النماذج", "route": "/admin/form-numbers", "permission": "settings.manage", "sort_order": 15},
                {"label_en": "Sequences", "label_ar": "التسلسلات", "route": "/admin/sequences", "permission": "settings.manage", "sort_order": 16},
                {"label_en": "System Health", "label_ar": "صحة النظام", "route": "/admin/system-health", "permission": "settings.view", "sort_order": 17}
            ]
        }
    ],
    "dashboard_widgets": [
        {
            "label_en": "System Health",
            "label_ar": "صحة النظام",
            "partial": "views/widgets/system_health.php",
            "permission": "settings.view",
            "size": "col-md-6",
            "sort_order": 95
        },
        {
            "label_en": "Data Quality",
            "label_ar": "جودة البيانات",
            "partial": "views/widgets/data_quality.php",
            "permission": "settings.manage",
            "size": "col-md-6",
            "sort_order": 96
        }
    ]
}