{
  "page_ir": {
    "page_id": "trucks_list",
    "page_goal": "List all truck entries in a data table with search, filter, pagination, and CRUD actions including add, edit, archive, and delete trucks.",
    "style": {
      "tone": "professional",
      "theme": "light",
      "density": "comfortable",
      "color_intent": "neutral with blue accents"
    },
    "accessibility": {
      "required_labels": [
        "search_input",
        "status_filter",
        "purpose_filter",
        "date_range_filter",
        "trucks_table",
        "add_truck_button"
      ],
      "skip_navigation": true,
      "focus_management": true,
      "announce_changes": []
    },
    "responsive": {
      "breakpoints": {
        "sm": 576,
        "md": 768,
        "lg": 1024,
        "xl": 1200
      },
      "collapse_rules": [
        "filters_section collapses vertically on sm"
      ],
      "hidden_on_small": [
        "notes_column"
      ],
      "stack_on_small": []
    },
    "constraints": [
      "Table must support pagination",
      "Row click navigates to truck detail",
      "Archive requires confirmation"
    ],
    "seo_title": null,
    "seo_description": null
  },
  "data_ir": {
    "types": {},
    "state": {
      "trucks": {
        "type": "array",
        "initial": [],
        "required": true,
        "constraints": {},
        "item_type": null
      },
      "trucksLoading": {
        "type": "boolean",
        "initial": false,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "searchText": {
        "type": "string",
        "initial": "",
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "filterPurpose": {
        "type": "string",
        "initial": "",
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "filterDateRange": {
        "type": "array",
        "initial": [],
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "pagination": {
        "type": "object",
        "initial": {
          "current": 1,
          "pageSize": 20,
          "total": 0
        },
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "addModalVisible": {
        "type": "boolean",
        "initial": false,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "editModalVisible": {
        "type": "boolean",
        "initial": false,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "archiveModalVisible": {
        "type": "boolean",
        "initial": false,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "selectedTruckId": {
        "type": "number",
        "initial": null,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "truckPurposes": {
        "type": "array",
        "initial": [],
        "required": false,
        "constraints": {},
        "item_type": null
      }
    },
    "derived": {
      "totalPages": {
        "type": "number",
        "expr": "Math.ceil(state.pagination.total / state.pagination.pageSize)",
        "deps": []
      }
    }
  },
  "data_fetch_ir": {
    "endpoints": {
      "13a039ae1e91487284ad87aa584abecb": {
        "endpoint_id": "13a039ae1e91487284ad87aa584abecb",
        "module": "Operations",
        "endpoint": "/trucks/",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "limit": "$state.pagination.pageSize",
          "offset": "($state.pagination.current - 1) * $state.pagination.pageSize",
          "truck_number": "$state.searchText",
          "container_number": "$state.searchText"
        },
        "body": null,
        "fields": [
          "id",
          "submenu_id",
          "asn",
          "container_number",
          "truck_number",
          "driver_name",
          "purpose_id",
          "notes",
          "metadata",
          "version",
          "created_at",
          "updated_at"
        ],
        "response_target": "trucks",
        "response_transform": null,
        "trigger": "on_mount",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "9da5bdc0d0074a26bdd47b7377b845a7": {
        "endpoint_id": "9da5bdc0d0074a26bdd47b7377b845a7",
        "module": "Configuration",
        "endpoint": "/configuration/truck-purposes",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "is_active": true,
          "limit": 100
        },
        "body": null,
        "fields": [
          "id",
          "cfg_truck_purpose_id",
          "code",
          "label",
          "is_active"
        ],
        "response_target": "truckPurposes",
        "response_transform": null,
        "trigger": "on_mount",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "fc2250eaacc4452e822646c5f4404917": {
        "endpoint_id": "fc2250eaacc4452e822646c5f4404917",
        "module": "Operations",
        "endpoint": "/trucks/",
        "method": "POST",
        "path_params": {},
        "query_params": {},
        "body": {},
        "fields": [
          "id",
          "truck_number",
          "driver_name",
          "purpose_id",
          "notes",
          "created_at"
        ],
        "response_target": "createTruck_data",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "e54dcb4b13484a5680d330edec67e302": {
        "endpoint_id": "e54dcb4b13484a5680d330edec67e302",
        "module": "Operations",
        "endpoint": "/trucks/{truck_id}",
        "method": "PUT",
        "path_params": {
          "truck_id": "$state.selectedTruckId"
        },
        "query_params": {},
        "body": {},
        "fields": [
          "id",
          "truck_number",
          "driver_name",
          "purpose_id",
          "notes",
          "updated_at"
        ],
        "response_target": "updateTruck_data",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "a7b30a5003834c4eb71991bd19651985": {
        "endpoint_id": "a7b30a5003834c4eb71991bd19651985",
        "module": "Operations",
        "endpoint": "/trucks/{truck_id}/archive",
        "method": "POST",
        "path_params": {
          "truck_id": "$state.selectedTruckId"
        },
        "query_params": {
          "changed_by": "$appContext.currentUser.id"
        },
        "body": null,
        "fields": [
          "id",
          "truck_number",
          "deleted_at"
        ],
        "response_target": "archiveTruck_data",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "fd78c9e9cbc14231afdd05a529488f4f": {
        "endpoint_id": "fd78c9e9cbc14231afdd05a529488f4f",
        "module": "Operations",
        "endpoint": "/trucks/{truck_id}",
        "method": "DELETE",
        "path_params": {
          "truck_id": "$state.selectedTruckId"
        },
        "query_params": {},
        "body": null,
        "fields": [],
        "response_target": "fd78c9e9cbc14231afdd05a529488f4f_data",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      }
    }
  },
  "data_model_ir": {
    "entities": {
      "truck": {
        "name": "Truck",
        "backend_module": "Operations",
        "fields": [
          "id",
          "submenu_id",
          "asn",
          "container_number",
          "truck_number",
          "driver_name",
          "purpose_id",
          "notes",
          "metadata",
          "version",
          "deleted_at",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "id",
          "truck_number",
          "driver_name",
          "purpose_id",
          "created_at"
        ],
        "search_fields": [],
        "filters": [
          "truck_number",
          "asn",
          "container_number"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "truckPurpose": {
        "name": "TruckPurpose",
        "backend_module": "Configuration",
        "fields": [
          "id",
          "cfg_truck_purpose_id",
          "code",
          "label",
          "description",
          "is_active",
          "submenu_id",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "label",
          "code"
        ],
        "search_fields": [],
        "filters": [
          "is_active"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      }
    },
    "relationships": []
  },
  "behaviour_ir": {
    "events": {
      "onSearchChange": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.searchText",
            "expr": "event.target.value"
          }
        ],
        "description": ""
      },
      "onPurposeFilterChange": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.filterPurpose",
            "expr": "value"
          }
        ],
        "description": ""
      },
      "onDateRangeChange": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.filterDateRange",
            "expr": "dates"
          }
        ],
        "description": ""
      },
      "onPaginationChange": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.pagination.current",
            "expr": "page"
          },
          {
            "target": "state.pagination.pageSize",
            "expr": "pageSize"
          }
        ],
        "description": ""
      },
      "openAddModal": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.addModalVisible",
            "expr": "true"
          }
        ],
        "description": ""
      },
      "closeAddModal": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.addModalVisible",
            "expr": "false"
          }
        ],
        "description": ""
      },
      "openEditModal": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.editModalVisible",
            "expr": "true"
          },
          {
            "target": "state.selectedTruckId",
            "expr": "record.id"
          }
        ],
        "description": ""
      },
      "closeEditModal": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.editModalVisible",
            "expr": "false"
          },
          {
            "target": "state.selectedTruckId",
            "expr": "null"
          }
        ],
        "description": ""
      },
      "openArchiveModal": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.archiveModalVisible",
            "expr": "true"
          },
          {
            "target": "state.selectedTruckId",
            "expr": "record.id"
          }
        ],
        "description": ""
      },
      "closeArchiveModal": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.archiveModalVisible",
            "expr": "false"
          },
          {
            "target": "state.selectedTruckId",
            "expr": "null"
          }
        ],
        "description": ""
      },
      "onRowClick": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.selectedTruckId",
            "expr": "record.id"
          }
        ],
        "description": ""
      }
    },
    "actions": {
      "77ef804390b34d6d9aacc4db225488a0": {
        "action_id": "77ef804390b34d6d9aacc4db225488a0",
        "trigger": "form_submit",
        "target_component_id": "add_truck_modal",
        "operation": "create",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [
          {
            "rule_id": "val_0",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"truck_number\", \"message\": \"Truck number is required\", \"rule_id\": \"val_truck_number\", \"type\": \"required\"}",
            "message": "{\"field\": \"truck_number\", \"message\": \"Truck number is required\", \"rule_id\": \"val_truck_number\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_1",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"driver_name\", \"message\": \"Driver name is required\", \"rule_id\": \"val_driver_name\", \"type\": \"required\"}",
            "message": "{\"field\": \"driver_name\", \"message\": \"Driver name is required\", \"rule_id\": \"val_driver_name\", \"type\": \"required\"}"
          }
        ],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.addModalVisible",
            "expr": "false"
          }
        ],
        "api_endpoint": "fc2250eaacc4452e822646c5f4404917",
        "api_body": "{ submenu_id: formValues.submenu_id, asn: formValues.asn || '', container_number: formValues.container_number || '', truck_number: formValues.truck_number, driver_name: formValues.driver_name, purpose_id: formValues.purpose_id, notes: formValues.notes }",
        "side_effects": [
          {
            "type": "toast",
            "config": {
              "message": "Truck added successfully",
              "type": "success"
            }
          },
          {
            "type": "refresh",
            "config": {
              "target": "fetchTrucks"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "f1a8bb05a9894645a2c3b23e6b620caf": {
        "action_id": "f1a8bb05a9894645a2c3b23e6b620caf",
        "trigger": "form_submit",
        "target_component_id": "edit_truck_modal",
        "operation": "update",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [
          {
            "rule_id": "val_0",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"truck_number\", \"message\": \"Truck number is required\", \"rule_id\": \"val_edit_truck_number\", \"type\": \"required\"}",
            "message": "{\"field\": \"truck_number\", \"message\": \"Truck number is required\", \"rule_id\": \"val_edit_truck_number\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_1",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"driver_name\", \"message\": \"Driver name is required\", \"rule_id\": \"val_edit_driver_name\", \"type\": \"required\"}",
            "message": "{\"field\": \"driver_name\", \"message\": \"Driver name is required\", \"rule_id\": \"val_edit_driver_name\", \"type\": \"required\"}"
          }
        ],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.editModalVisible",
            "expr": "false"
          },
          {
            "target": "state.selectedTruckId",
            "expr": "null"
          }
        ],
        "api_endpoint": "e54dcb4b13484a5680d330edec67e302",
        "api_body": "{ truck_number: formValues.truck_number, driver_name: formValues.driver_name, purpose_id: formValues.purpose_id, notes: formValues.notes }",
        "side_effects": [
          {
            "type": "toast",
            "config": {
              "message": "Truck updated successfully",
              "type": "success"
            }
          },
          {
            "type": "refresh",
            "config": {
              "target": "fetchTrucks"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "b2508affc0634ce68fedd55c88786dc8": {
        "action_id": "b2508affc0634ce68fedd55c88786dc8",
        "trigger": "button_click",
        "target_component_id": "archive_confirm_button",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": true,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.archiveModalVisible",
            "expr": "false"
          },
          {
            "target": "state.selectedTruckId",
            "expr": "null"
          }
        ],
        "api_endpoint": "a7b30a5003834c4eb71991bd19651985",
        "api_body": null,
        "side_effects": [
          {
            "type": "toast",
            "config": {
              "message": "Truck archived successfully",
              "type": "success"
            }
          },
          {
            "type": "refresh",
            "config": {
              "target": "fetchTrucks"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "fd78c9e9cbc14231afdd05a529488f4f": {
        "action_id": "fd78c9e9cbc14231afdd05a529488f4f",
        "trigger": "button_click",
        "target_component_id": "delete_action_button",
        "operation": "delete",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": true,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": "fd78c9e9cbc14231afdd05a529488f4f",
        "api_body": null,
        "side_effects": [
          {
            "type": "toast",
            "config": {
              "message": "Truck deleted successfully",
              "type": "success"
            }
          },
          {
            "type": "refresh",
            "config": {
              "target": "fetchTrucks"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "220ca1d174fc4a5ba756a8f724df7ccf": {
        "action_id": "220ca1d174fc4a5ba756a8f724df7ccf",
        "trigger": "row_click",
        "target_component_id": "trucks_table",
        "operation": "read",
        "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": "/trucks/:truckId",
              "params": {
                "truckId": "$record.id"
              }
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "25b27a60994046d088a29223ed2e645c": {
        "action_id": "25b27a60994046d088a29223ed2e645c",
        "trigger": "button_click",
        "target_component_id": "driver_licenses_link",
        "operation": "read",
        "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": "/driver-licenses"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      }
    },
    "feedback": {
      "77ef804390b34d6d9aacc4db225488a0": {
        "action_id": "77ef804390b34d6d9aacc4db225488a0",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Truck added successfully",
        "error_message": "Failed to add truck",
        "ui_updates": []
      },
      "f1a8bb05a9894645a2c3b23e6b620caf": {
        "action_id": "f1a8bb05a9894645a2c3b23e6b620caf",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Truck updated successfully",
        "error_message": "Failed to update truck",
        "ui_updates": []
      },
      "b2508affc0634ce68fedd55c88786dc8": {
        "action_id": "b2508affc0634ce68fedd55c88786dc8",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Truck archived successfully",
        "error_message": "Failed to archive truck",
        "ui_updates": []
      },
      "fd78c9e9cbc14231afdd05a529488f4f": {
        "action_id": "fd78c9e9cbc14231afdd05a529488f4f",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Truck deleted successfully",
        "error_message": "Failed to delete truck",
        "ui_updates": []
      },
      "220ca1d174fc4a5ba756a8f724df7ccf": {
        "action_id": "220ca1d174fc4a5ba756a8f724df7ccf",
        "loading_indicator": null,
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "ui_updates": []
      },
      "25b27a60994046d088a29223ed2e645c": {
        "action_id": "25b27a60994046d088a29223ed2e645c",
        "loading_indicator": null,
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "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%",
          "padding": "24px",
          "background": "#f5f5f5"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "page_header": {
        "type": "div",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "display": "flex",
          "justifyContent": "space-between",
          "alignItems": "center",
          "marginBottom": "16px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "page_title": {
        "type": "Typography.Title",
        "label": "Truck Operations",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "level": 2
        },
        "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_actions": {
        "type": "Space",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "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
      },
      "add_truck_button": {
        "type": "Button",
        "label": "Add Truck",
        "description": null,
        "bind": null,
        "onClick": "openAddModal",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "primary",
          "icon": "PlusOutlined"
        },
        "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
      },
      "driver_licenses_link": {
        "type": "Button",
        "label": "Driver Licenses",
        "description": null,
        "bind": null,
        "onClick": "navigateToDriverLicenses",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "default"
        },
        "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
      },
      "filters_section": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "bordered": false
        },
        "dynamic_props": {},
        "styles": {
          "marginBottom": "16px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "filters_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": {
          "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
      },
      "search_input": {
        "type": "Input.Search",
        "label": "Search trucks",
        "description": null,
        "bind": "state.searchText",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Search by truck number or container...",
          "allowClear": true,
          "style": {
            "width": 280
          }
        },
        "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
      },
      "purpose_filter": {
        "type": "Select",
        "label": "Purpose",
        "description": null,
        "bind": "state.filterPurpose",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Filter by Purpose",
          "allowClear": true,
          "style": {
            "width": 200
          },
          "options": "state.truckPurposes.map(p => ({ label: p.label, value: p.cfg_truck_purpose_id }))"
        },
        "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
      },
      "date_range_filter": {
        "type": "DatePicker.RangePicker",
        "label": "Date Range",
        "description": null,
        "bind": "state.filterDateRange",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": [
            "Start Date",
            "End Date"
          ]
        },
        "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
      },
      "trucks_table_card": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "bordered": false
        },
        "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
      },
      "trucks_table": {
        "type": "Table",
        "label": "Trucks Table",
        "description": null,
        "bind": "state.trucks",
        "onClick": "navigateToDetail",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "rowKey": "id",
          "loading": "state.trucksLoading",
          "pagination": {
            "current": "state.pagination.current",
            "pageSize": "state.pagination.pageSize",
            "total": "state.pagination.total",
            "showSizeChanger": true,
            "showTotal": true
          },
          "columns": [
            {
              "title": "Truck ID",
              "dataIndex": "id",
              "key": "id",
              "width": 80
            },
            {
              "title": "License Plate",
              "dataIndex": "truck_number",
              "key": "truck_number"
            },
            {
              "title": "Driver",
              "dataIndex": "driver_name",
              "key": "driver_name"
            },
            {
              "title": "Purpose",
              "dataIndex": "purpose_id",
              "key": "purpose_id"
            },
            {
              "title": "Container",
              "dataIndex": "container_number",
              "key": "container_number"
            },
            {
              "title": "Arrival Time",
              "dataIndex": "created_at",
              "key": "created_at"
            },
            {
              "title": "Actions",
              "key": "actions",
              "fixed": "right",
              "width": 280
            }
          ],
          "onRow": "navigateToDetail"
        },
        "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
      },
      "view_detail_button": {
        "type": "Button",
        "label": "View",
        "description": null,
        "bind": null,
        "onClick": "navigateToDetail",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "link",
          "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
      },
      "edit_action_button": {
        "type": "Button",
        "label": "Edit",
        "description": null,
        "bind": null,
        "onClick": "openEditModal",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "link",
          "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
      },
      "archive_action_button": {
        "type": "Button",
        "label": "Archive",
        "description": null,
        "bind": null,
        "onClick": "openArchiveModal",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "link",
          "size": "small",
          "danger": false
        },
        "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
      },
      "delete_action_button": {
        "type": "Button",
        "label": "Delete",
        "description": null,
        "bind": null,
        "onClick": "deleteTruck",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "link",
          "size": "small",
          "danger": 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
      },
      "add_truck_modal": {
        "type": "Modal",
        "label": "Add Truck",
        "description": null,
        "bind": "state.addModalVisible",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "title": "Add New Truck",
          "okText": "Create",
          "cancelText": "Cancel",
          "destroyOnClose": 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
      },
      "add_truck_form": {
        "type": "Form",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "layout": "vertical"
        },
        "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
      },
      "add_form_truck_number": {
        "type": "Form.Item",
        "label": "License Plate / Truck Number",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "truck_number",
          "rules": [
            {
              "required": true,
              "message": "Please enter truck number"
            }
          ]
        },
        "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
      },
      "add_form_truck_number_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter license plate or truck number"
        },
        "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
      },
      "add_form_driver_name": {
        "type": "Form.Item",
        "label": "Driver Name",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "driver_name",
          "rules": [
            {
              "required": true,
              "message": "Please enter driver name"
            }
          ]
        },
        "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
      },
      "add_form_driver_name_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter driver name"
        },
        "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
      },
      "add_form_purpose": {
        "type": "Form.Item",
        "label": "Purpose",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "purpose_id"
        },
        "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
      },
      "add_form_purpose_select": {
        "type": "Select",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Select purpose",
          "allowClear": true,
          "options": "state.truckPurposes.map(p => ({ label: p.label, value: p.cfg_truck_purpose_id }))"
        },
        "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
      },
      "add_form_asn": {
        "type": "Form.Item",
        "label": "ASN",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "asn"
        },
        "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
      },
      "add_form_asn_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter ASN number"
        },
        "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
      },
      "add_form_container": {
        "type": "Form.Item",
        "label": "Container Number",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "container_number"
        },
        "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
      },
      "add_form_container_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter container number"
        },
        "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
      },
      "add_form_notes": {
        "type": "Form.Item",
        "label": "Notes",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "notes"
        },
        "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
      },
      "add_form_notes_input": {
        "type": "Input.TextArea",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter any notes",
          "rows": 3
        },
        "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
      },
      "edit_truck_modal": {
        "type": "Modal",
        "label": "Edit Truck",
        "description": null,
        "bind": "state.editModalVisible",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "title": "Edit Truck",
          "okText": "Save",
          "cancelText": "Cancel",
          "destroyOnClose": 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
      },
      "edit_truck_form": {
        "type": "Form",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "layout": "vertical"
        },
        "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
      },
      "edit_form_truck_number": {
        "type": "Form.Item",
        "label": "License Plate / Truck Number",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "truck_number",
          "rules": [
            {
              "required": true,
              "message": "Please enter truck number"
            }
          ]
        },
        "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
      },
      "edit_form_truck_number_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter license plate or truck number"
        },
        "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
      },
      "edit_form_driver_name": {
        "type": "Form.Item",
        "label": "Driver Name",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "driver_name",
          "rules": [
            {
              "required": true,
              "message": "Please enter driver name"
            }
          ]
        },
        "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
      },
      "edit_form_driver_name_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter driver name"
        },
        "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
      },
      "edit_form_purpose": {
        "type": "Form.Item",
        "label": "Purpose",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "purpose_id"
        },
        "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
      },
      "edit_form_purpose_select": {
        "type": "Select",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Select purpose",
          "allowClear": true,
          "options": "state.truckPurposes.map(p => ({ label: p.label, value: p.cfg_truck_purpose_id }))"
        },
        "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
      },
      "edit_form_notes": {
        "type": "Form.Item",
        "label": "Notes",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "notes"
        },
        "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
      },
      "edit_form_notes_input": {
        "type": "Input.TextArea",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter any notes",
          "rows": 3
        },
        "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
      },
      "archive_modal": {
        "type": "Modal",
        "label": "Archive Truck",
        "description": null,
        "bind": "state.archiveModalVisible",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "title": "Confirm Archive",
          "okText": "Archive",
          "cancelText": "Cancel",
          "okButtonProps": {
            "danger": 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
      },
      "archive_modal_content": {
        "type": "Typography.Text",
        "label": "Are you sure you want to archive this truck? This action will move the truck to archived status and create a history record.",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "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
      },
      "archive_confirm_button": {
        "type": "Button",
        "label": "Confirm Archive",
        "description": null,
        "bind": null,
        "onClick": "confirmArchiveTruck",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "primary",
          "danger": 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
      }
    }
  },
  "layout_ir": {
    "root": "main_container",
    "children": {
      "main_container": [
        "page_header",
        "filters_section",
        "trucks_table_card",
        "add_truck_modal",
        "edit_truck_modal",
        "archive_modal"
      ],
      "page_header": [
        "page_title",
        "header_actions"
      ],
      "header_actions": [
        "add_truck_button",
        "driver_licenses_link"
      ],
      "filters_section": [
        "filters_row"
      ],
      "filters_row": [
        "search_input",
        "purpose_filter",
        "date_range_filter"
      ],
      "trucks_table_card": [
        "trucks_table"
      ],
      "add_truck_modal": [
        "add_truck_form"
      ],
      "add_truck_form": [
        "add_form_truck_number",
        "add_form_driver_name",
        "add_form_purpose",
        "add_form_asn",
        "add_form_container",
        "add_form_notes"
      ],
      "add_form_truck_number": [
        "add_form_truck_number_input"
      ],
      "add_form_driver_name": [
        "add_form_driver_name_input"
      ],
      "add_form_purpose": [
        "add_form_purpose_select"
      ],
      "add_form_asn": [
        "add_form_asn_input"
      ],
      "add_form_container": [
        "add_form_container_input"
      ],
      "add_form_notes": [
        "add_form_notes_input"
      ],
      "edit_truck_modal": [
        "edit_truck_form"
      ],
      "edit_truck_form": [
        "edit_form_truck_number",
        "edit_form_driver_name",
        "edit_form_purpose",
        "edit_form_notes"
      ],
      "edit_form_truck_number": [
        "edit_form_truck_number_input"
      ],
      "edit_form_driver_name": [
        "edit_form_driver_name_input"
      ],
      "edit_form_purpose": [
        "edit_form_purpose_select"
      ],
      "edit_form_notes": [
        "edit_form_notes_input"
      ],
      "archive_modal": [
        "archive_modal_content"
      ]
    },
    "layout": {
      "main_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
      },
      "page_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_actions": {
        "type": "horizontal",
        "gap": 8,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "filters_section": {
        "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
      },
      "filters_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
      },
      "trucks_table_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
      },
      "add_truck_form": {
        "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
      },
      "edit_truck_form": {
        "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
      },
      "archive_modal": {
        "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
      }
    },
    "layout_zones": [
      {
        "zone_id": "main_zone",
        "component": "main_container",
        "anchor": "top-left",
        "size_hint": "full-width",
        "z_layer": "base",
        "notes": "Main page container"
      },
      {
        "zone_id": "add_modal_zone",
        "component": "add_truck_modal",
        "anchor": "center",
        "size_hint": "auto",
        "z_layer": "overlay",
        "notes": "Add truck modal overlay"
      },
      {
        "zone_id": "edit_modal_zone",
        "component": "edit_truck_modal",
        "anchor": "center",
        "size_hint": "auto",
        "z_layer": "overlay",
        "notes": "Edit truck modal overlay"
      },
      {
        "zone_id": "archive_modal_zone",
        "component": "archive_modal",
        "anchor": "center",
        "size_hint": "auto",
        "z_layer": "overlay",
        "notes": "Archive confirmation modal overlay"
      }
    ],
    "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
}
