Task
TaskCreatedEvent
Event emitted by BriteCore (BritecoreTaskCreated.v1).
| Field | Value |
|---|---|
| Topic | task.task_created |
| Schema ID | BritecoreTaskCreated.v1 |
| Version | 1.0.0 |
Payload schema
Code{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://docs.britecore.com/schemas/events/task_created.json", "title": "TaskCreatedEvent", "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": "BritecoreTaskCreated.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": { "task_id": { "type": "integer" }, "task_number": { "type": "integer" }, "task_definition_id": { "type": "integer" }, "task_type_name": { "type": "string" }, "policy_id": { "type": "integer" }, "claim_id": { "type": "integer" }, "assignee_id": { "type": "integer" }, "added_by_id": { "type": "integer" }, "status": { "type": "string" }, "priority": { "type": "string" }, "description": { "type": "string" }, "due_date": { "type": "string", "format": "date-time" }, "date_added": { "type": "string", "format": "date-time" } }, "required": [ "task_id", "task_number", "status", "priority", "description", "date_added" ] } }, "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/task_created.json
on the published portal.
Example payload
Code{ "event_id": "00000000-0000-0000-0000-000000000000", "event_date": "2026-01-01T00:00:00Z", "schema_id": "BritecoreTaskCreated.v1", "version": "1.0.0", "topic": "task.task_created", "data": { "task_id": 0, "task_number": 0, "task_definition_id": 0, "task_type_name": "string", "policy_id": 0, "claim_id": 0, "assignee_id": 0, "added_by_id": 0, "status": "string", "priority": "string", "description": "string", "due_date": "2026-01-01T00:00:00Z", "date_added": "2026-01-01T00:00:00Z" } }
