{
    "name": "facilities",
    "label_en": "Facilities & Events",
    "label_ar": "المرافق والفعاليات",
    "version": "1.0.0",
    "description": "Facility management, bookings, events, swimming pools, and parking",
    "sort_order": 80,
    "icon": "fas fa-building",
    "routes_file": "routes.php",
    "css_files": ["css/facilities.css"],
    "js_files": ["js/facilities.js"],
    "menu": [
        {
            "label_en": "Facilities",
            "label_ar": "المرافق",
            "icon": "fas fa-building",
            "permission": "facilities.view",
            "sort_order": 80,
            "children": [
                {
                    "label_en": "All Facilities",
                    "label_ar": "جميع المرافق",
                    "route": "/facilities",
                    "permission": "facilities.view",
                    "sort_order": 1
                },
                {
                    "label_en": "Facility Types",
                    "label_ar": "أنواع المرافق",
                    "route": "/facilities/types",
                    "permission": "facilities.manage",
                    "sort_order": 2
                },
                {
                    "label_en": "Bookings",
                    "label_ar": "الحجوزات",
                    "route": "/bookings",
                    "permission": "bookings.view",
                    "sort_order": 3
                },
                {
                    "label_en": "Events",
                    "label_ar": "الفعاليات",
                    "route": "/events",
                    "permission": "events.view",
                    "sort_order": 4
                },
                {
                    "label_en": "Swimming Pools",
                    "label_ar": "حمامات السباحة",
                    "route": "/facilities/pools",
                    "permission": "facilities.view",
                    "sort_order": 5
                },
                {
                    "label_en": "Parking",
                    "label_ar": "مواقف السيارات",
                    "route": "/facilities/parking",
                    "permission": "facilities.view",
                    "sort_order": 6
                }
            ]
        }
    ],
    "dashboard_widgets": [
        {
            "widget_id": "facilities_todays_bookings",
            "label_en": "Today's Bookings",
            "label_ar": "حجوزات اليوم",
            "permission": "bookings.view",
            "partial": "views/widgets/todays_bookings.php",
            "size": "col-md-4",
            "sort_order": 80
        },
        {
            "widget_id": "facilities_upcoming_events",
            "label_en": "Upcoming Events",
            "label_ar": "الفعاليات القادمة",
            "permission": "events.view",
            "partial": "views/widgets/upcoming_events.php",
            "size": "col-md-4",
            "sort_order": 81
        },
        {
            "widget_id": "facilities_status",
            "label_en": "Facility Status",
            "label_ar": "حالة المرافق",
            "permission": "facilities.view",
            "partial": "views/widgets/facility_status.php",
            "size": "col-md-4",
            "sort_order": 82
        }
    ]
}