This event provides a standardized way to report processing issues or warnings encountered by consumer systems when handling various types of objects, such as accounts or facilities. It is designed to be extensible and applicable across different domains, enabling consistent feedback on event processing outcomes. By emitting this event, consumer systems can inform source systems of problems or anomalies in a structured, programmatically consumable format. This facilitates better traceability, error handling, and system-to-system communication throughout the processing pipeline.
{
"entityType": "ACCOUNT",
"identifier": "ERP_ID_SINT011",
"source": "SPARK",
"severity": "ERROR",
"messages": [
{
"code": "ACCOUNT_STATUS_CLOSED",
"details": "Account ERP_ID_SINT011 is closed and cannot be modified"
}
],
"timestamp": "2025-06-10T14:22:00Z"
}
{
"entityType": "ACCOUNT",
"identifier": "ERP_ID_SINT012",
"source": "SPARK",
"severity": "WARNING",
"messages": [
{
"code": "ADDRESS_CONFLICT",
"details": "Address conflict detected for account ERP_ID_SINT012"
},
{
"code": "BILLING_ADDRESS_NOT_FOUND",
"details": "Billing address not found for account ERP_ID_SINT012"
}
],
"timestamp": "2025-07-15T09:45:30+02:00"
}
{
"entityType": "ACCOUNT",
"identifier": "ERP_ID_SINT013",
"source": "SPARK",
"severity": "ERROR",
"messages": [
{
"code": "ACCOUNT_VALIDATION_FAILED",
"details": "Account validation failed due to missing required fields"
}
],
"correlationsInfo": {
"integrationPattern": "EVENT",
"topic": "account",
"partition": 0,
"offset": 12345
},
"timestamp": "2025-08-20T18:10:05.123Z"
}
{
"entityType": "CONTACT",
"identifier": "user-12345",
"source": "SPARK",
"severity": "ERROR",
"messages": [
{
"code": "CONTACT_VALIDATION_FAILED",
"details": "Contact validation failed: email field is required"
}
],
"correlationsInfo": {
"integrationPattern": "EVENT",
"topic": "contacts",
"partition": 2,
"offset": 67890
},
"timestamp": "2025-10-22T11:30:45.123Z"
}
Type of the entity related to this feedback event. This can be an account, contact, facility, or any other entity type that the system supports.
"ACCOUNT"
"CONTACT"
Unique identifier of the object, like the accountId, the facilityId, etc.
Must match regular expression:^[A-Za-z0-9_-]+$
Must be at least 1 characters long
Must be at most 100 characters long
"ERP_ID_SINT009"
Source of the feedback event, indicating where it originated from. This first version only supports SPARK as the source.
"SPARK"
Severity level of the feedback. where
- WARNING indicates a warning that does not block processing.
- ERROR indicates a critical issue that prevents further processing.
"ERROR"
List of structured messages providing additional context or information about the feedback event
Must contain a minimum of 1 items
Must contain a maximum of 10 items
A structured message providing additional context or information about the feedback event
Message code representing the type of error or warning encountered. Each code is mapped to a specific processing issue or anomaly, enabling standardized feedback for consumer systems. See documentation for business context and usage of each code.
"INVALID_PARENT_STATE"
"CONTACT_VALIDATION_FAILED"
English detailed message providing context or information about the error or warning, not to be used for programmatic logic
Must be at least 1 characters long
Must be at most 1000 characters long
"Parent account ERP_ID_SINT009 not found in SPARK"
The integration pattern used for the event, indicating how it was published.
The topic to which the event was published to
"account"
The partition within the topic to which the event was published to
0
The offset within the partition to which the event was published to
123
Date and time when the feedback event occurred, in ISO 8601 format
Must be at least 20 characters long
Must be at most 35 characters long
"2025-05-08T21:44:32Z"
"2025-05-08T21:44:32.123Z"
"2025-12-01T10:30:15+02:00"
"2025-12-01T10:30:15.123+02:00"
"2025-05-08T21:44:32.123456789Z"
"2025-05-08T21:44:32.123456789+02:00"