# Towards a Reference Architecture for Cargo Ports
## 3 Building a Reference Architecture (RA) for a Cargo Port
### Use Cases (UCs)  
A description of the use cases in the system follows. The relationship of these use cases to the process patterns in the previous section is shown in Figure 5, where patterns are delineated by dashed colored lines.  
_UC1--Assign Drayage Truck Drivers:_ Actions taken by the drayage company truck driver scheduler to assign truck drivers to drop off or pick up containers from the cargo port. The drayage company may be assigned by the terminal operator (leasing company) or the shipping line. Actors: terminal operator (leasing company), drayage company truck driver, scheduler.  
_UC2--Drop off Export Container:_ Actions taken by the drayage truck driver and the gate operations manager to allow entrance to the port and drop off an export container.Actors: gate operations manager, drayage truck driver.  
_UC3--Pickup Import Container:_ Actions taken by the drayage truck driver and the gate operations manager to allow entrance to the port and pick up an import container. Actors: gate operations manager, drayage truck driver.  
_UC4--Assign Container Location:_ Actions taken by the terminal operations manager or port operations manager controlling the logistics of the container terminal to assign container locations. Actors: terminal operations manager; port operations manager.  
_UC5--Assign Trailer Drivers:_ Actions taken by the port operations manager to assign trailer/shuttle drivers to take the containers from the STS cranes to the drop-off point in the storage yard. Actors: port operations manager.  
_UC6--Move Container to Ship:_ Actions taken by the trailer/shuttle driver to take the container from the storage yard to the ship. Actors: trailer driver.  
_UC7--Load Container to Ship:_ Actions taken by crane operators to load outbound containers onto ships utilizing STS cranes. Actors: crane operator.  
_UC8--Unload Container from Ship:_ Actions taken by crane operators to offload inbound containers from ships utilizing STS cranes. Actors: crane operator.  
_UC9--Move Container to Storage:_ Actions taken by the trailer/shuttle driver to take the container from the ship to the storage yard. Actors: trailer driver.  
_UC10--Assign Crane Operator:_ Actions taken by the crane operator scheduler to assign a crane operator to a specific STS crane. One crane operator may be assigned more than one STS crane. Actors: crane operator scheduler.  
_UC11--Enter Physical Zone:_ Actions taken by an operations officer, a security officer, or an employee to have access to a specific area in the cargo port. Actors: operations officer, security officer, employee.  
_UC12--Assign Access to Zone:_ Actions taken by the port operations manager to allow access by an individual to a specific zone. Actors: port operations manager.  
_UC13--Remove Access to Zone:_ Actions taken by the port operations manager to remove access for an individual to a specific zone. Actors: port operations manager.  
_UC14--Exit Physical Zone:_ Actions taken by an operations officer, a security officer, or an employee to exit a specific area in the cargo port. Actors: operations officer, security officer, employee.  
_UC15--Assign Harbor Master:_ Actions taken by port operations to assign a harbor master to schedule vessel arrivals, departures, and berthing assignments. Actors: port authority.  
_UC16--Assign Marine Pilot:_ Actions taken by the harbor master to assign a marine pilot to direct the ship to the port area. Actors: harbor master.  
_UC17--Assign Tugboat Pilot:_ Actions taken by the harbor master to assign a tugboat pilot in case the ship requires the assistance of a tugboat for performing maneuvers in the port area and completing entrance and mooring operations. Actors: harbor master.  
_UC18--Ship Arrival:_ Actions taken by the harbor master, marine pilot, and tugboat pilot to bring the ship to port. Actors: harbor master, marine pilot, tugboat pilot.  
_UC19--Ship Departure:_ Actions taken by the harbor master, marine pilot, and tugboat pilot when the ship is departing the port. Actors: harbor master, marine pilot, tugboat pilot.