{
  "page_ir": {
    "page_id": "admin_dashboard",
    "page_goal": "Admin dashboard overview showing key metrics, upcoming schedules, recent bookings, and quick navigation to all admin management sections",
    "style": {
      "tone": "professional",
      "theme": "light",
      "density": "comfortable",
      "color_intent": "blue-primary with status-colored badges"
    },
    "accessibility": {
      "required_labels": [
        "stat_cards",
        "upcoming_schedules_table",
        "recent_bookings_table",
        "sidebar_navigation",
        "logout_button"
      ],
      "skip_navigation": true,
      "focus_management": true,
      "announce_changes": []
    },
    "responsive": {
      "breakpoints": {
        "xs": 480,
        "sm": 576,
        "md": 768,
        "lg": 992,
        "xl": 1200
      },
      "collapse_rules": [
        "sidebar collapses to hamburger menu below md",
        "two-column tables stack vertically below lg",
        "stat cards wrap to 2 per row below md, 1 per row below sm"
      ],
      "hidden_on_small": [
        "sidebar_nav"
      ],
      "stack_on_small": []
    },
    "constraints": [
      "Only accessible by admin role users",
      "Data refreshes on mount",
      "Sidebar navigation persists across admin pages"
    ],
    "seo_title": null,
    "seo_description": null
  },
  "data_ir": {
    "types": {},
    "state": {
      "bookings": {
        "type": "array",
        "initial": [],
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "schedules": {
        "type": "array",
        "initial": [],
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "routes": {
        "type": "array",
        "initial": [],
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "buses": {
        "type": "array",
        "initial": [],
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "activeReservations": {
        "type": "array",
        "initial": [],
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "loadingStats": {
        "type": "boolean",
        "initial": true,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "loadingSchedules": {
        "type": "boolean",
        "initial": true,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "loadingBookings": {
        "type": "boolean",
        "initial": true,
        "required": false,
        "constraints": {},
        "item_type": null
      }
    },
    "derived": {
      "todaysBookingsCount": {
        "type": "number",
        "expr": "state.bookings.filter(b => new Date(b.booking_datetime).toDateString() === new Date().toDateString()).length",
        "deps": []
      },
      "todaysRevenue": {
        "type": "number",
        "expr": "state.bookings.filter(b => new Date(b.booking_datetime).toDateString() === new Date().toDateString() && b.payment_status === 'COMPLETED').reduce((sum, b) => sum + Number(b.total_amount), 0)",
        "deps": []
      },
      "activeReservationsCount": {
        "type": "number",
        "expr": "state.activeReservations.length",
        "deps": []
      },
      "totalBusesCount": {
        "type": "number",
        "expr": "state.buses.length",
        "deps": []
      },
      "totalRoutesCount": {
        "type": "number",
        "expr": "state.routes.length",
        "deps": []
      },
      "upcomingSchedules": {
        "type": "array",
        "expr": "state.schedules.filter(s => new Date(s.departure_datetime) > new Date() && s.status === 'SCHEDULED').sort((a, b) => new Date(a.departure_datetime) - new Date(b.departure_datetime)).slice(0, 10)",
        "deps": []
      },
      "recentBookings": {
        "type": "array",
        "expr": "state.bookings.sort((a, b) => new Date(b.booking_datetime) - new Date(a.booking_datetime)).slice(0, 10)",
        "deps": []
      }
    }
  },
  "data_fetch_ir": {
    "endpoints": {
      "f88370f5b8a54cce97c04e633b3b41e9": {
        "endpoint_id": "f88370f5b8a54cce97c04e633b3b41e9",
        "module": "Booking Management",
        "endpoint": "/bookings/",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "limit": 50,
          "offset": 0
        },
        "body": null,
        "fields": [
          "id",
          "reservation_id",
          "user_id",
          "schedule_id",
          "booking_datetime",
          "total_amount",
          "payment_status",
          "booking_reference",
          "status",
          "created_at",
          "updated_at"
        ],
        "response_target": "bookings",
        "response_transform": null,
        "trigger": "on_mount",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "24e22b59eab6401bad72bdb9b31a7346": {
        "endpoint_id": "24e22b59eab6401bad72bdb9b31a7346",
        "module": "Schedule Management",
        "endpoint": "/schedules/",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "limit": 50,
          "offset": 0
        },
        "body": null,
        "fields": [
          "id",
          "bus_id",
          "route_id",
          "departure_datetime",
          "arrival_datetime",
          "base_price",
          "available_seats",
          "status",
          "created_at",
          "updated_at"
        ],
        "response_target": "schedules",
        "response_transform": null,
        "trigger": "on_mount",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "841a5eddafb444259320c6566fc2a559": {
        "endpoint_id": "841a5eddafb444259320c6566fc2a559",
        "module": "Routes",
        "endpoint": "/routes/",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "limit": 100,
          "offset": 0,
          "is_active": true
        },
        "body": null,
        "fields": [
          "id",
          "origin_city",
          "destination_city",
          "distance_km",
          "estimated_duration_minutes",
          "is_active",
          "created_at",
          "updated_at"
        ],
        "response_target": "routes",
        "response_transform": null,
        "trigger": "on_mount",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "26c78332505a4421b6ae8f7db6f97ab0": {
        "endpoint_id": "26c78332505a4421b6ae8f7db6f97ab0",
        "module": "Bus Management",
        "endpoint": "/buses/",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "limit": 100,
          "offset": 0
        },
        "body": null,
        "fields": [
          "id",
          "bus_number",
          "bus_type",
          "total_seats",
          "is_active",
          "created_at",
          "updated_at"
        ],
        "response_target": "buses",
        "response_transform": null,
        "trigger": "on_mount",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "43bc25b74aa841938f7db4da2032418a": {
        "endpoint_id": "43bc25b74aa841938f7db4da2032418a",
        "module": "Reservations",
        "endpoint": "/reservations/active",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "limit": 100,
          "offset": 0
        },
        "body": null,
        "fields": [
          "id",
          "user_id",
          "schedule_id",
          "reservation_datetime",
          "expiry_datetime",
          "status",
          "total_amount",
          "created_at",
          "updated_at"
        ],
        "response_target": "activeReservations",
        "response_transform": null,
        "trigger": "on_mount",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      }
    }
  },
  "data_model_ir": {
    "entities": {
      "booking": {
        "name": "Booking",
        "backend_module": "Booking Management",
        "fields": [
          "id",
          "reservation_id",
          "user_id",
          "schedule_id",
          "booking_datetime",
          "total_amount",
          "payment_status",
          "booking_reference",
          "status",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "booking_reference",
          "user_id",
          "schedule_id",
          "total_amount",
          "status",
          "payment_status",
          "booking_datetime"
        ],
        "search_fields": [],
        "filters": [
          "status",
          "payment_status"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "schedule": {
        "name": "Schedule",
        "backend_module": "Schedule Management",
        "fields": [
          "id",
          "bus_id",
          "route_id",
          "departure_datetime",
          "arrival_datetime",
          "base_price",
          "available_seats",
          "status",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "route_id",
          "departure_datetime",
          "bus_id",
          "available_seats",
          "status"
        ],
        "search_fields": [],
        "filters": [
          "status"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "route": {
        "name": "Route",
        "backend_module": "Routes",
        "fields": [
          "id",
          "origin_city",
          "destination_city",
          "distance_km",
          "estimated_duration_minutes",
          "is_active",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "origin_city",
          "destination_city"
        ],
        "search_fields": [],
        "filters": [
          "is_active"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "bus": {
        "name": "Bus",
        "backend_module": "Bus Management",
        "fields": [
          "id",
          "bus_number",
          "bus_type",
          "total_seats",
          "seat_layout_config",
          "amenities",
          "is_active",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "bus_number",
          "bus_type",
          "total_seats"
        ],
        "search_fields": [],
        "filters": [
          "is_active",
          "bus_type"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "reservation": {
        "name": "Reservation",
        "backend_module": "Reservations",
        "fields": [
          "id",
          "user_id",
          "schedule_id",
          "reservation_datetime",
          "expiry_datetime",
          "status",
          "total_amount",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "user_id",
          "schedule_id",
          "status",
          "expiry_datetime"
        ],
        "search_fields": [],
        "filters": [
          "status"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      }
    },
    "relationships": []
  },
  "behaviour_ir": {
    "events": {
      "onPageLoad": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.loadingStats",
            "expr": "true"
          },
          {
            "target": "state.loadingSchedules",
            "expr": "true"
          },
          {
            "target": "state.loadingBookings",
            "expr": "true"
          }
        ],
        "description": ""
      },
      "onDataLoaded": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.loadingStats",
            "expr": "false"
          },
          {
            "target": "state.loadingSchedules",
            "expr": "false"
          },
          {
            "target": "state.loadingBookings",
            "expr": "false"
          }
        ],
        "description": ""
      }
    },
    "actions": {
      "318ad6d246fa4b99a819dd323e7cd412": {
        "action_id": "318ad6d246fa4b99a819dd323e7cd412",
        "trigger": "button_click",
        "target_component_id": "btn_manage_routes",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/routes"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "93bb79b36d1745b5a685d131c78c64fc": {
        "action_id": "93bb79b36d1745b5a685d131c78c64fc",
        "trigger": "button_click",
        "target_component_id": "btn_manage_buses",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/buses"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "8facf17e905d4602a5c7cb4e61f4b429": {
        "action_id": "8facf17e905d4602a5c7cb4e61f4b429",
        "trigger": "button_click",
        "target_component_id": "btn_manage_schedules",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/schedules"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "0d99da1b31c947bd9af595363f82ec45": {
        "action_id": "0d99da1b31c947bd9af595363f82ec45",
        "trigger": "button_click",
        "target_component_id": "btn_view_bookings",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/bookings"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "870c87439dfd4692a5d11250421ee587": {
        "action_id": "870c87439dfd4692a5d11250421ee587",
        "trigger": "button_click",
        "target_component_id": "btn_view_reservations",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/reservations"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "9756b2f574ee4b7ba83afff570f9e708": {
        "action_id": "9756b2f574ee4b7ba83afff570f9e708",
        "trigger": "button_click",
        "target_component_id": "btn_activity_logs",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/activity-logs"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "ea7637518ecd4075b8dbbb864a6a2072": {
        "action_id": "ea7637518ecd4075b8dbbb864a6a2072",
        "trigger": "button_click",
        "target_component_id": "btn_manage_users",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/users"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "c7faddc09ac942999a0797a7d1f58ca7": {
        "action_id": "c7faddc09ac942999a0797a7d1f58ca7",
        "trigger": "button_click",
        "target_component_id": "btn_logout",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": true,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "reset_state",
            "config": {
              "target": "appContext.currentUser",
              "value": null
            }
          },
          {
            "type": "navigate",
            "config": {
              "path": "/login"
            }
          },
          {
            "type": "toast",
            "config": {
              "message": "Logged out successfully",
              "type": "success"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "3a7a8f7bcc154b68acf6bdbf7988dcea": {
        "action_id": "3a7a8f7bcc154b68acf6bdbf7988dcea",
        "trigger": "button_click",
        "target_component_id": "sidebar_menu",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "c8b82987a121488ca96cd36abde7bb50": {
        "action_id": "c8b82987a121488ca96cd36abde7bb50",
        "trigger": "button_click",
        "target_component_id": "sidebar_menu",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/routes"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "c9b391b28cd348b09a3651f731b35ec6": {
        "action_id": "c9b391b28cd348b09a3651f731b35ec6",
        "trigger": "button_click",
        "target_component_id": "sidebar_menu",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/buses"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "866cfe9c8f3046e9b7531b33581e9148": {
        "action_id": "866cfe9c8f3046e9b7531b33581e9148",
        "trigger": "button_click",
        "target_component_id": "sidebar_menu",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/schedules"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "80931a16dc7c4b49804a61484932f456": {
        "action_id": "80931a16dc7c4b49804a61484932f456",
        "trigger": "button_click",
        "target_component_id": "sidebar_menu",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/bookings"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "3db39c6a66d64c48a4ca45fcc1dec1dc": {
        "action_id": "3db39c6a66d64c48a4ca45fcc1dec1dc",
        "trigger": "button_click",
        "target_component_id": "sidebar_menu",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/reservations"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "f57eb90814684e9098e85cc2df856657": {
        "action_id": "f57eb90814684e9098e85cc2df856657",
        "trigger": "button_click",
        "target_component_id": "sidebar_menu",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/activity-logs"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "7e19403142ae4ab9bdccc7af2b2ecb14": {
        "action_id": "7e19403142ae4ab9bdccc7af2b2ecb14",
        "trigger": "button_click",
        "target_component_id": "sidebar_menu",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/admin/users"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      }
    },
    "feedback": {
      "318ad6d246fa4b99a819dd323e7cd412": {
        "action_id": "318ad6d246fa4b99a819dd323e7cd412",
        "loading_indicator": "none",
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "ui_updates": []
      },
      "93bb79b36d1745b5a685d131c78c64fc": {
        "action_id": "93bb79b36d1745b5a685d131c78c64fc",
        "loading_indicator": "none",
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "ui_updates": []
      },
      "8facf17e905d4602a5c7cb4e61f4b429": {
        "action_id": "8facf17e905d4602a5c7cb4e61f4b429",
        "loading_indicator": "none",
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "ui_updates": []
      },
      "0d99da1b31c947bd9af595363f82ec45": {
        "action_id": "0d99da1b31c947bd9af595363f82ec45",
        "loading_indicator": "none",
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "ui_updates": []
      },
      "870c87439dfd4692a5d11250421ee587": {
        "action_id": "870c87439dfd4692a5d11250421ee587",
        "loading_indicator": "none",
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "ui_updates": []
      },
      "9756b2f574ee4b7ba83afff570f9e708": {
        "action_id": "9756b2f574ee4b7ba83afff570f9e708",
        "loading_indicator": "none",
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "ui_updates": []
      },
      "ea7637518ecd4075b8dbbb864a6a2072": {
        "action_id": "ea7637518ecd4075b8dbbb864a6a2072",
        "loading_indicator": "none",
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "ui_updates": []
      },
      "c7faddc09ac942999a0797a7d1f58ca7": {
        "action_id": "c7faddc09ac942999a0797a7d1f58ca7",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Logged out successfully",
        "error_message": "Logout failed",
        "ui_updates": []
      }
    }
  },
  "component_ir": {
    "library": "antd",
    "theme": {
      "primaryColor": "#1677ff",
      "secondaryColor": "#000000",
      "successColor": null,
      "warningColor": null,
      "errorColor": null,
      "fontFamily": "sans-serif",
      "fontSize": null,
      "borderRadius": 6
    },
    "components": {
      "main_container": {
        "type": "Layout",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "minHeight": "100vh",
          "width": "100%"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "sidebar_container": {
        "type": "Layout.Sider",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "width": 240,
          "collapsible": true,
          "breakpoint": "md",
          "collapsedWidth": 0,
          "theme": "dark"
        },
        "dynamic_props": {},
        "styles": {
          "minHeight": "100vh"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "sidebar_logo": {
        "type": "Typography.Title",
        "label": "Bus Admin",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "level": 4
        },
        "dynamic_props": {},
        "styles": {
          "color": "#ffffff",
          "padding": "16px 24px",
          "margin": 0
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "sidebar_menu": {
        "type": "Menu",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "theme": "dark",
          "mode": "inline",
          "defaultSelectedKeys": [
            "dashboard"
          ],
          "items": [
            {
              "key": "dashboard",
              "icon": "DashboardOutlined",
              "label": "Dashboard"
            },
            {
              "key": "routes",
              "icon": "NodeIndexOutlined",
              "label": "Routes"
            },
            {
              "key": "buses",
              "icon": "CarOutlined",
              "label": "Buses"
            },
            {
              "key": "schedules",
              "icon": "ScheduleOutlined",
              "label": "Schedules"
            },
            {
              "key": "bookings",
              "icon": "BookOutlined",
              "label": "Bookings"
            },
            {
              "key": "reservations",
              "icon": "ClockCircleOutlined",
              "label": "Reservations"
            },
            {
              "key": "activity_logs",
              "icon": "FileTextOutlined",
              "label": "Activity Logs"
            },
            {
              "key": "users",
              "icon": "UserOutlined",
              "label": "Users"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "right_content_area": {
        "type": "Layout",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "flex": 1
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "top_header": {
        "type": "Layout.Header",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "background": "#ffffff",
          "padding": "0 24px",
          "display": "flex",
          "alignItems": "center",
          "justifyContent": "space-between",
          "borderBottom": "1px solid #f0f0f0",
          "height": "64px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "header_title": {
        "type": "Typography.Title",
        "label": "Admin Dashboard",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "level": 4
        },
        "dynamic_props": {},
        "styles": {
          "margin": 0
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "header_right_section": {
        "type": "Space",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "size": "middle",
          "align": "center"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "admin_name_display": {
        "type": "Typography.Text",
        "label": null,
        "description": null,
        "bind": "appContext.currentUser ? appContext.currentUser.firstName + ' ' + appContext.currentUser.lastName : 'Admin'",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "strong": true
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "admin_role_tag": {
        "type": "Tag",
        "label": "Admin",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "color": "blue"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "btn_logout": {
        "type": "Button",
        "label": "Logout",
        "description": null,
        "bind": null,
        "onClick": "logout",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "default",
          "danger": true,
          "icon": "LogoutOutlined",
          "size": "middle"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "content_area": {
        "type": "Layout.Content",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "padding": "24px",
          "background": "#f5f5f5",
          "minHeight": "calc(100vh - 64px)"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stats_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": [
            16,
            16
          ]
        },
        "dynamic_props": {},
        "styles": {
          "marginBottom": "24px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stat_col_bookings": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "xs": 24,
          "sm": 12,
          "md": 12,
          "lg": 8,
          "xl": 4
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stat_card_bookings": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "hoverable": true,
          "size": "small"
        },
        "dynamic_props": {},
        "styles": {
          "borderLeft": "4px solid #1677ff"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stat_bookings_icon": {
        "type": "Statistic",
        "label": "Today's Bookings",
        "description": null,
        "bind": "derived.todaysBookingsCount",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "prefix_icon": "BookOutlined",
          "valueStyle": {
            "color": "#1677ff",
            "fontSize": "28px"
          }
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stat_col_revenue": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "xs": 24,
          "sm": 12,
          "md": 12,
          "lg": 8,
          "xl": 5
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stat_card_revenue": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "hoverable": true,
          "size": "small"
        },
        "dynamic_props": {},
        "styles": {
          "borderLeft": "4px solid #52c41a"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stat_revenue_value": {
        "type": "Statistic",
        "label": "Today's Revenue",
        "description": null,
        "bind": "derived.todaysRevenue",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "prefix": "₹",
          "precision": 2,
          "valueStyle": {
            "color": "#52c41a",
            "fontSize": "28px"
          }
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stat_col_reservations": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "xs": 24,
          "sm": 12,
          "md": 12,
          "lg": 8,
          "xl": 5
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stat_card_reservations": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "hoverable": true,
          "size": "small"
        },
        "dynamic_props": {},
        "styles": {
          "borderLeft": "4px solid #faad14"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stat_reservations_value": {
        "type": "Statistic",
        "label": "Active Reservations",
        "description": null,
        "bind": "derived.activeReservationsCount",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "suffix_icon": "SyncOutlined",
          "valueStyle": {
            "color": "#faad14",
            "fontSize": "28px"
          }
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stat_col_buses": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "xs": 24,
          "sm": 12,
          "md": 12,
          "lg": 8,
          "xl": 5
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stat_card_buses": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "hoverable": true,
          "size": "small"
        },
        "dynamic_props": {},
        "styles": {
          "borderLeft": "4px solid #722ed1"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stat_buses_value": {
        "type": "Statistic",
        "label": "Total Buses",
        "description": null,
        "bind": "derived.totalBusesCount",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "prefix_icon": "CarOutlined",
          "valueStyle": {
            "color": "#722ed1",
            "fontSize": "28px"
          }
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stat_col_routes": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "xs": 24,
          "sm": 12,
          "md": 12,
          "lg": 8,
          "xl": 5
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stat_card_routes": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "hoverable": true,
          "size": "small"
        },
        "dynamic_props": {},
        "styles": {
          "borderLeft": "4px solid #13c2c2"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "stat_routes_value": {
        "type": "Statistic",
        "label": "Total Routes",
        "description": null,
        "bind": "derived.totalRoutesCount",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "prefix_icon": "NodeIndexOutlined",
          "valueStyle": {
            "color": "#13c2c2",
            "fontSize": "28px"
          }
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "tables_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": [
            16,
            16
          ]
        },
        "dynamic_props": {},
        "styles": {
          "marginBottom": "24px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "schedules_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "xs": 24,
          "lg": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "upcoming_schedules_card": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "title": "Upcoming Schedules",
          "extra_link": {
            "text": "View All",
            "action": "navigateToSchedules"
          },
          "size": "small"
        },
        "dynamic_props": {},
        "styles": {
          "height": "100%"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "upcoming_schedules_table": {
        "type": "Table",
        "label": null,
        "description": null,
        "bind": "derived.upcomingSchedules",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "size": "small",
          "pagination": false,
          "scroll": {
            "x": 600
          },
          "columns": [
            {
              "title": "Route",
              "dataIndex": "route_id",
              "key": "route_id",
              "render": "route_lookup"
            },
            {
              "title": "Departure",
              "dataIndex": "departure_datetime",
              "key": "departure_datetime",
              "render": "datetime_format"
            },
            {
              "title": "Bus",
              "dataIndex": "bus_id",
              "key": "bus_id",
              "render": "bus_lookup"
            },
            {
              "title": "Available",
              "dataIndex": "available_seats",
              "key": "available_seats"
            },
            {
              "title": "Status",
              "dataIndex": "status",
              "key": "status",
              "render": "status_tag"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "bookings_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "xs": 24,
          "lg": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "recent_bookings_card": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "title": "Recent Bookings",
          "extra_link": {
            "text": "View All",
            "action": "navigateToBookings"
          },
          "size": "small"
        },
        "dynamic_props": {},
        "styles": {
          "height": "100%"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "recent_bookings_table": {
        "type": "Table",
        "label": null,
        "description": null,
        "bind": "derived.recentBookings",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "size": "small",
          "pagination": false,
          "scroll": {
            "x": 700
          },
          "columns": [
            {
              "title": "Reference",
              "dataIndex": "booking_reference",
              "key": "booking_reference",
              "render": "monospace_text"
            },
            {
              "title": "User",
              "dataIndex": "user_id",
              "key": "user_id"
            },
            {
              "title": "Amount",
              "dataIndex": "total_amount",
              "key": "total_amount",
              "render": "currency_format"
            },
            {
              "title": "Status",
              "dataIndex": "status",
              "key": "status",
              "render": "booking_status_tag"
            },
            {
              "title": "Payment",
              "dataIndex": "payment_status",
              "key": "payment_status",
              "render": "payment_status_tag"
            },
            {
              "title": "Date",
              "dataIndex": "booking_datetime",
              "key": "booking_datetime",
              "render": "datetime_format"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "quick_actions_card": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "title": "Quick Actions",
          "size": "small"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "quick_actions_row": {
        "type": "Space",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "wrap": true,
          "size": "middle"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "btn_manage_routes": {
        "type": "Button",
        "label": "Manage Routes",
        "description": null,
        "bind": null,
        "onClick": "navigateToRoutes",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "primary",
          "icon": "NodeIndexOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "btn_manage_buses": {
        "type": "Button",
        "label": "Manage Buses",
        "description": null,
        "bind": null,
        "onClick": "navigateToBuses",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "primary",
          "icon": "CarOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "btn_manage_schedules": {
        "type": "Button",
        "label": "Manage Schedules",
        "description": null,
        "bind": null,
        "onClick": "navigateToSchedules",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "primary",
          "icon": "ScheduleOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "btn_view_bookings": {
        "type": "Button",
        "label": "View All Bookings",
        "description": null,
        "bind": null,
        "onClick": "navigateToBookings",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "default",
          "icon": "BookOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "btn_view_reservations": {
        "type": "Button",
        "label": "View Reservations",
        "description": null,
        "bind": null,
        "onClick": "navigateToReservations",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "default",
          "icon": "ClockCircleOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "btn_activity_logs": {
        "type": "Button",
        "label": "Activity Logs",
        "description": null,
        "bind": null,
        "onClick": "navigateToActivityLogs",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "default",
          "icon": "FileTextOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "btn_manage_users": {
        "type": "Button",
        "label": "Manage Users",
        "description": null,
        "bind": null,
        "onClick": "navigateToUsers",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "default",
          "icon": "UserOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      }
    }
  },
  "layout_ir": {
    "root": "main_container",
    "children": {
      "main_container": [
        "sidebar_container",
        "right_content_area"
      ],
      "sidebar_container": [
        "sidebar_logo",
        "sidebar_menu"
      ],
      "right_content_area": [
        "top_header",
        "content_area"
      ],
      "top_header": [
        "header_title",
        "header_right_section"
      ],
      "header_right_section": [
        "admin_name_display",
        "admin_role_tag",
        "btn_logout"
      ],
      "content_area": [
        "stats_row",
        "tables_row",
        "quick_actions_card"
      ],
      "stats_row": [
        "stat_col_bookings",
        "stat_col_revenue",
        "stat_col_reservations",
        "stat_col_buses",
        "stat_col_routes"
      ],
      "stat_col_bookings": [
        "stat_card_bookings"
      ],
      "stat_card_bookings": [
        "stat_bookings_icon"
      ],
      "stat_col_revenue": [
        "stat_card_revenue"
      ],
      "stat_card_revenue": [
        "stat_revenue_value"
      ],
      "stat_col_reservations": [
        "stat_card_reservations"
      ],
      "stat_card_reservations": [
        "stat_reservations_value"
      ],
      "stat_col_buses": [
        "stat_card_buses"
      ],
      "stat_card_buses": [
        "stat_buses_value"
      ],
      "stat_col_routes": [
        "stat_card_routes"
      ],
      "stat_card_routes": [
        "stat_routes_value"
      ],
      "tables_row": [
        "schedules_col",
        "bookings_col"
      ],
      "schedules_col": [
        "upcoming_schedules_card"
      ],
      "upcoming_schedules_card": [
        "upcoming_schedules_table"
      ],
      "bookings_col": [
        "recent_bookings_card"
      ],
      "recent_bookings_card": [
        "recent_bookings_table"
      ],
      "quick_actions_card": [
        "quick_actions_row"
      ],
      "quick_actions_row": [
        "btn_manage_routes",
        "btn_manage_buses",
        "btn_manage_schedules",
        "btn_view_bookings",
        "btn_view_reservations",
        "btn_activity_logs",
        "btn_manage_users"
      ]
    },
    "layout": {
      "main_container": {
        "type": "horizontal",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "sidebar_container": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "right_content_area": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "top_header": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "header_right_section": {
        "type": "horizontal",
        "gap": 12,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "content_area": {
        "type": "vertical",
        "gap": 24,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "stats_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "stat_col_bookings": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "stat_card_bookings": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "stat_col_revenue": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "stat_card_revenue": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "stat_col_reservations": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "stat_card_reservations": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "stat_col_buses": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "stat_card_buses": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "stat_col_routes": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "stat_card_routes": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "tables_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "schedules_col": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "upcoming_schedules_card": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "bookings_col": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "recent_bookings_card": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "quick_actions_card": {
        "type": "vertical",
        "gap": 12,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "quick_actions_row": {
        "type": "horizontal",
        "gap": 12,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      }
    },
    "layout_zones": [
      {
        "zone_id": "sidebar_zone",
        "component": "sidebar_container",
        "anchor": "top-left",
        "size_hint": "240px",
        "z_layer": "base",
        "notes": "Fixed left sidebar navigation for admin pages"
      },
      {
        "zone_id": "header_zone",
        "component": "top_header",
        "anchor": "top-left",
        "size_hint": "full-width",
        "z_layer": "base",
        "notes": "Top header bar with admin info and logout"
      },
      {
        "zone_id": "content_zone",
        "component": "content_area",
        "anchor": "top-left",
        "size_hint": "full-width",
        "z_layer": "base",
        "notes": "Main scrollable content area with stats, tables, and quick actions"
      }
    ],
    "responsive_overrides": []
  },
  "navigation_ir": {
    "tabs": [],
    "modals": {},
    "drawers": {},
    "routes": [],
    "breadcrumb": null,
    "default_tab": null
  },
  "realtime_ir": {
    "timers": {},
    "polling": {}
  },
  "metadata": {
    "ir_version": "3.5",
    "generated_at": "",
    "source_prompt": null,
    "schema_session_id": null,
    "warnings": []
  },
  "page_data_contract": null,
  "schema_ir": null
}
