# Hotel Integration
## Aruba ED Card Website
The first diagram portrays the process of using the Aruba ED Card Website.
It assumes the traveler has already received a DTC credential.
```plantuml
skinparam backgroundColor #fff
skinparam handwritten false
skinparam BoxPadding 10
skinparam ParticipantPadding 10
skinparam NoteFontSize 24
skinparam NoteBorderColor #f80
skinparam NoteBackgroundColor #fea
skinparam sequenceArrowThickness 1
skinparam sequence {
BoxFontSize 36
BoxBorderColor #555
BoxBackgroundColor #fbfbfb
ActorFontColor #333
ActorFontSize 24
ActorFontName Arial
ActorBorderColor #555
ActorBackgroundColor #ccc
ParticipantFontName Arial
ParticipantFontSize 24
ParticipantFontColor #333
ParticipantBorderColor #555
ParticipantBackgroundColor #eee
LifeLineBorderColor #ccc
LifeLineBackgroundColor #000
ArrowFontSize 24
ArrowColor #f80
DividerFontSize 24
}
actor User
participant "Mobile App" as Mobile
participant "ED Card Website" as Website
participant "Government Agent" as Government
note over Mobile: DTC stored on Mobile App
Website -> Mobile: Display QR Code
note over Mobile: Scan QR Code
Mobile -> Government: Connect
Government -> Mobile: Request DTC
Mobile -> Government: Send DTC
Government -> Website: Evaluate DTC and send info
Website -> User: Update display, request additional information
User -> Website: Submit additional information
note over Website: Evaluate and store information
Website -> User: Send email with link
note over Website: If the hotel is DTC capable,\nthe email link points to the Hotel Agent
Website -> Government: Request issuance of Trusted Traveler credential
Government -> Mobile: Issue Trusted Traveler credential
```
## Hotel Check In Process
The second diagram portrays the process of checking in using the Hotel Verifier Agent which combines the functionality of an ED Card-style webpage and a verifying agent.
```plantuml
skinparam backgroundColor #fff
skinparam handwritten false
skinparam BoxPadding 10
skinparam ParticipantPadding 10
skinparam NoteFontSize 24
skinparam NoteBorderColor #f80
skinparam NoteBackgroundColor #fea
skinparam sequenceArrowThickness 1
skinparam sequence {
BoxFontSize 36
BoxBorderColor #555
BoxBackgroundColor #fbfbfb
ActorFontColor #333
ActorFontSize 24
ActorFontName Arial
ActorBorderColor #555
ActorBackgroundColor #ccc
ParticipantFontName Arial
ParticipantFontSize 24
ParticipantFontColor #333
ParticipantBorderColor #555
ParticipantBackgroundColor #eee
LifeLineBorderColor #ccc
LifeLineBackgroundColor #000
ArrowFontSize 24
ArrowColor #f80
DividerFontSize 24
}
actor User
participant "Mobile App" as Mobile
participant "Hotel Agent" as HotelAgent
participant "Hotel Systems" as HotelSystem
HotelAgent -> Mobile: Display QR Code
note over Mobile: Scan QR Code
Mobile -> HotelAgent: Connect
HotelAgent -> Mobile: Request DTC
Mobile -> HotelAgent: Send DTC
note over HotelAgent: Evaluate DTC
HotelAgent -> User: Update display, request additional information
User -> HotelAgent: Submit additional information
note over HotelAgent: Evaluate and store information
HotelAgent -> HotelSystem: Submit information via API
HotelAgent -> User: Success or error message
```