@startuml
title Trip — components
component "Ride-sharing Platform" as Platform {
 component "Trip API" as API
 component "Trip workflow" as Workflow
 component "Trip repository" as Repo
 component "Integration adapter" as Adapter
}
component "Driver" as Partner
component "Stripe Connect" as Gateway
API --> Workflow : validate command
Workflow --> Repo : persist lifecycle
Workflow --> Adapter : integration request
Adapter --> Partner : Accept pickup
Adapter --> Gateway : external contract
note bottom of Platform : Proposed internal decomposition; C4 defines the surrounding system boundaries.
@enduml
