{
        "category": "operations",
        "route": "/fleet-management",
        "permissions": ["fleet.view", "fleet.manage"],
        "dataSources": {
            "fleet_vehicles": {
                "table": "fleet_vehicles",
                "columns": ["id", "vehicle_number", "registration_number", "make", "model", "status", "current_mileage", "assigned_driver_id"],
                "filters": ["status", "vehicle_type"],
                "searchable": ["vehicle_number", "registration_number", "make", "model"]
            },
            "fleet_drivers": {
                "table": "fleet_drivers",
                "columns": ["id", "driver_code", "first_name", "last_name", "phone", "license_number", "status"],
                "filters": ["status", "employment_status"],
                "searchable": ["driver_code", "first_name", "last_name", "phone"]
            },
            "fleet_maintenance": {
                "table": "fleet_maintenance",
                "columns": ["id", "maintenance_number", "vehicle_id", "maintenance_type", "scheduled_date", "status", "total_cost"],
                "filters": ["status", "maintenance_type"],
                "searchable": ["maintenance_number"]
            },
            "fleet_trips": {
                "table": "fleet_trips",
                "columns": ["id", "trip_number", "vehicle_id", "driver_id", "start_location", "end_location", "status", "distance_km"],
                "filters": ["status", "trip_type"],
                "searchable": ["trip_number"]
            },
            "fleet_fuel_logs": {
                "table": "fleet_fuel_logs",
                "columns": ["id", "vehicle_id", "log_date", "quantity_liters", "total_cost", "fuel_efficiency"],
                "filters": [],
                "searchable": []
            }
        },
        "views": [
            {
                "name": "vehicles",
                "label": "Vehicles",
                "type": "table",
                "dataSource": "fleet_vehicles",
                "rowActions": [
                    {"label": "Track Location", "icon": "fa-map-marker-alt", "action": "fleet:track-vehicle"},
                    {"label": "Schedule Maintenance", "icon": "fa-wrench", "action": "fleet:schedule-maintenance"},
                    {"label": "View History", "icon": "fa-history", "action": "fleet:vehicle-history"}
                ]
            },
            {
                "name": "drivers",
                "label": "Drivers",
                "type": "table",
                "dataSource": "fleet_drivers",
                "rowActions": [
                    {"label": "Assign Vehicle", "icon": "fa-truck", "action": "fleet:assign-vehicle"},
                    {"label": "View Performance", "icon": "fa-chart-line", "action": "fleet:driver-performance"}
                ]
            },
            {
                "name": "maintenance",
                "label": "Maintenance",
                "type": "table",
                "dataSource": "fleet_maintenance",
                "rowActions": [
                    {"label": "Complete", "icon": "fa-check", "action": "fleet:complete-maintenance", "condition": "status == \"in-progress\""},
                    {"label": "View Details", "icon": "fa-eye", "action": "view"}
                ]
            },
            {
                "name": "trips",
                "label": "Trips",
                "type": "table",
                "dataSource": "fleet_trips",
                "rowActions": [
                    {"label": "View Route", "icon": "fa-route", "action": "fleet:view-route"},
                    {"label": "Trip Report", "icon": "fa-file-alt", "action": "fleet:trip-report"}
                ]
            },
            {
                "name": "fuel",
                "label": "Fuel Logs",
                "type": "table",
                "dataSource": "fleet_fuel_logs"
            }
        ]
    }