Customer Notified
Published after a notification has been sent to a customer on one of their preferred channels.
1{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "title": "CustomerNotified",
4 "description": "Published after a notification has been sent to a customer",
5 "type": "object",
6 "properties": {
7 "notificationId": { "type": "string", "format": "uuid" },
8 "customerId": { "type": "string", "format": "uuid" },
9 "channel": { "type": "string", "enum": ["email", "sms", "push"] },
10 "template": { "type": "string", "description": "Template key, e.g. order-confirmed" },
11 "sourceEvent": { "type": "string", "description": "Name of the event that triggered the notification" },
12 "sentAt": { "type": "string", "format": "date-time" }
13 },
14 "required": ["notificationId", "customerId", "channel", "template", "sentAt"]
15}
16