Policies
PolicyReinstatedEvent
Event emitted by BriteCore (BritecorePolicyReinstated.v1).
| Field | Value |
|---|---|
| Topic | policies.policy_reinstated |
| Schema ID | BritecorePolicyReinstated.v1 |
| Version | 1.0.0 |
Payload schema
Code{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://docs.britecore.com/schemas/events/policy_reinstated.json", "title": "PolicyReinstatedEvent", "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": "BritecorePolicyReinstated.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": { "policy_id": { "type": "integer" }, "revision_id": { "type": "integer" }, "policy_term_id": { "type": "integer" }, "policy_term_start_date": { "type": "string", "format": "date-time" }, "policy_term_end_date": { "type": "string", "format": "date-time" }, "policy_term_external_system_reference": { "type": "string" }, "revision_external_system_reference": { "type": "string" }, "reinstatement_date": { "type": "string", "format": "date-time" } }, "required": [ "policy_id", "revision_id", "policy_term_id", "policy_term_external_system_reference", "revision_external_system_reference", "reinstatement_date" ] } }, "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/policy_reinstated.json
on the published portal.
Example payload
Code{ "event_id": "00000000-0000-0000-0000-000000000000", "event_date": "2026-01-01T00:00:00Z", "schema_id": "BritecorePolicyReinstated.v1", "version": "1.0.0", "topic": "policies.policy_reinstated", "data": { "policy_id": 0, "revision_id": 0, "policy_term_id": 0, "policy_term_start_date": "2026-01-01T00:00:00Z", "policy_term_end_date": "2026-01-01T00:00:00Z", "policy_term_external_system_reference": "string", "revision_external_system_reference": "string", "reinstatement_date": "2026-01-01T00:00:00Z" } }
