Regulatory API
Status
Reserved namespace. Deliberately undefined.
/api/v1/regulatory is separated from the application API so that when an authority integration is agreed, it lands in its own boundary rather than being woven into consumer endpoints.
No endpoint in this namespace is defined by this project. Any list below is an illustration of shape, not a specification.
Do not invent these endpoints
The platform must not assume that RTA — or any authority — requires any particular API, data feed or integration pattern. Guessing an interface and building against it produces a system that cannot be reconciled with the real contract.
The actual integration contract is defined by the authority. See Regulatory Model.
Possible future interfaces
GET /api/v1/regulatory/drivers/:id
GET /api/v1/regulatory/vehicles/:id
GET /api/v1/regulatory/journeys/:id
GET /api/v1/regulatory/incidents
GET /api/v1/regulatory/compliance-events
GET /api/v1/regulatory/reports
POST /api/v1/regulatory/verification
POST /api/v1/regulatory/statusInformation that may be exposed
Subject to agreement:
- verified drivers
- verified vehicles
- active journeys
- completed journeys
- bookings
- compliance events
- safety incidents
- suspended accounts
- policy versions
- audit records
- aggregated geographic activity
Access model
Whenever the interface is defined, access is:
- role-based
- least-privilege
- audited
- encrypted
- time-limited where appropriate
Implementation constraint
Regulatory integrations are adapters. They sit at the edge of the core application and translate between the agreed external contract and the internal model.
Khawi
Users / Drivers / Vehicles / Journeys
Matching / Compliance / Audit
│
│ Approved Integration
▼
RTA / Regulatory SystemsThey must not be deeply coupled to the core. A change to an external contract must not require restructuring internal tables, and an internal refactor must not assume the external contract.
