Fires after a submitted claim's save records, changes or removes a driver's status on it. One event per driver whose status changed (ClaimDriverService.raise_status_changes). It carries ids only, never the driver's name: the payload is logged, sent to the integration point and passed to the workflow walk. policy_id is the policy the status was taken from (the previous one for a status a policy change removed). vehicle_ids are the first-party vehicles the driver drives after the save, or for a removal the ones they drove before it. A driver recorded without a last name has no contact: unnamed_driver_vehicle_id names the claim vehicle their details are on.
Field
Value
Topic
claims.driver_status_changed
Schema ID
BritecoreDriverStatusChanged.v1
Version
1.0.0
Payload schema
Code
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://docs.britecore.com/schemas/events/driver_status_changed.json", "title": "DriverStatusChangedEvent", "description": "Fires after a submitted claim's save records, changes or removes a driver's status on it. One event per driver whose status changed (``ClaimDriverService.raise_status_changes``). It carries ids only, never the driver's name: the payload is logged, sent to the integration point and passed to the workflow walk. ``policy_id`` is the policy the status was taken from (the previous one for a status a policy change removed). ``vehicle_ids`` are the first-party vehicles the driver drives after the save, or for a removal the ones they drove before it. A driver recorded without a last name has no contact: ``unnamed_driver_vehicle_id`` names the claim vehicle their details are on.", "type": "object", "properties": { "event_id": { "type": "string", "format": "uuid", "description": "Unique identifier for this event instance." }, "event_date": { "type": "string", "format": "date-time", "description": "Timestamp the event was emitted (UTC)." }, "schema_id": { "type": "string", "description": "Schema identifier. Stable per event type.", "const": "BritecoreDriverStatusChanged.v1" }, "version": { "type": "string", "description": "Schema version.", "const": "1.0.0" }, "topic": { "type": "string", "description": "Topic the event was published on." }, "triggering_user": { "type": "object", "description": "User that triggered the event.", "properties": { "id": { "type": "string" }, "external_system_reference": { "type": "string" } } }, "data": { "type": "object", "properties": { "claim_id": { "type": "string" }, "claim_number": { "type": "string" }, "policy_id": { "type": "string" }, "contact_id": { "type": "string" }, "unnamed_driver_vehicle_id": { "type": "string" }, "vehicle_ids": { "type": "string" }, "old_status": { "type": "string" }, "new_status": { "type": "string" } }, "required": [ "claim_id", "claim_number", "contact_id", "unnamed_driver_vehicle_id", "vehicle_ids", "old_status", "new_status" ] } }, "required": [ "event_id", "event_date", "schema_id", "version", "topic", "data" ]}
The schema is also published as a standalone JSON Schema artefact you can
fetch and consume programmatically. See schemas/events/driver_status_changed.json
on the published portal.