From b5b980bd39a9fdabef615f9fd6e1d7597fe19ce4 Mon Sep 17 00:00:00 2001 From: Naveen Patil Date: Fri, 13 Mar 2026 14:13:07 +0530 Subject: [PATCH] Add WhatsApp message event types (directMarketing.whatsApp*) - Add whatsapp-message-events schema with event types aligned to email naming - directMarketing.whatsAppSent, whatsAppDelivered, whatsAppRead, whatsAppBounced, whatsAppDelayed, whatsAppDenylist, whatsAppDuplicate, whatsAppError, whatsAppExcluded - Register event types in time-series schema meta:enum - Add example JSONs for sent, delivered, read Made-with: Cursor --- components/behaviors/time-series.schema.json | 9 +++ .../whatsapp-message-events.example.1.json | 3 + .../whatsapp-message-events.example.2.json | 3 + .../whatsapp-message-events.example.3.json | 3 + .../whatsapp-message-events.schema.json | 62 +++++++++++++++++++ 5 files changed, 80 insertions(+) create mode 100644 extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.example.1.json create mode 100644 extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.example.2.json create mode 100644 extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.example.3.json create mode 100644 extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.schema.json diff --git a/components/behaviors/time-series.schema.json b/components/behaviors/time-series.schema.json index f7d4ff8299..7131906b64 100644 --- a/components/behaviors/time-series.schema.json +++ b/components/behaviors/time-series.schema.json @@ -96,6 +96,15 @@ "directMarketing.emailOpened": "Direct Marketing Email Opened", "directMarketing.emailClicked": "Direct Marketing Email Clicked", "directMarketing.emailSent": "Direct Marketing Email Sent", + "directMarketing.whatsAppSent": "Direct Marketing WhatsApp Sent", + "directMarketing.whatsAppDelivered": "Direct Marketing WhatsApp Delivered", + "directMarketing.whatsAppRead": "Direct Marketing WhatsApp Read", + "directMarketing.whatsAppBounced": "Direct Marketing WhatsApp Bounced", + "directMarketing.whatsAppDelayed": "Direct Marketing WhatsApp Delayed", + "directMarketing.whatsAppDenylist": "Direct Marketing WhatsApp Denylist", + "directMarketing.whatsAppDuplicate": "Direct Marketing WhatsApp Duplicate", + "directMarketing.whatsAppError": "Direct Marketing WhatsApp Error", + "directMarketing.whatsAppExcluded": "Direct Marketing WhatsApp Excluded", "opportunityEvent.removeFromOpportunity": "Opportunity Event Remove From Opportunity", "opportunityEvent.addToOpportunity": "Opportunity Event Add To Opportunity", "opportunityEvent.opportunityUpdated": "Opportunity Event Opportunity Updated", diff --git a/extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.example.1.json b/extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.example.1.json new file mode 100644 index 0000000000..791b2ceaa6 --- /dev/null +++ b/extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.example.1.json @@ -0,0 +1,3 @@ +{ + "https://ns.adobe.com/experience/customerJourneyManagement/whatsAppMessageEvents/eventType": "directMarketing.whatsAppSent" +} diff --git a/extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.example.2.json b/extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.example.2.json new file mode 100644 index 0000000000..5b0be9ee17 --- /dev/null +++ b/extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.example.2.json @@ -0,0 +1,3 @@ +{ + "https://ns.adobe.com/experience/customerJourneyManagement/whatsAppMessageEvents/eventType": "directMarketing.whatsAppDelivered" +} diff --git a/extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.example.3.json b/extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.example.3.json new file mode 100644 index 0000000000..852af9cdc4 --- /dev/null +++ b/extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.example.3.json @@ -0,0 +1,3 @@ +{ + "https://ns.adobe.com/experience/customerJourneyManagement/whatsAppMessageEvents/eventType": "directMarketing.whatsAppRead" +} diff --git a/extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.schema.json b/extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.schema.json new file mode 100644 index 0000000000..59b9d20392 --- /dev/null +++ b/extensions/adobe/experience/customerJourneyManagement/whatsapp-message-events.schema.json @@ -0,0 +1,62 @@ +{ + "meta:license": [ + "Copyright 2020 Adobe Systems Incorporated. All rights reserved.", + "This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license", + "you may not use this file except in compliance with the License. You may obtain a copy", + "of the License at https://creativecommons.org/licenses/by/4.0/" + ], + "$id": "https://ns.adobe.com/experience/customerJourneyManagement/whatsapp-message-events", + "$schema": "http://json-schema.org/draft-06/schema#", + "title": "Adobe CJM ExperienceEvent - WhatsApp Message Event Details", + "description": "Defines event types for WhatsApp message lifecycle events. Use with message profile and message delivery feedback when the channel is WhatsApp.", + "type": "object", + "meta:extensible": true, + "meta:abstract": true, + "meta:intendedToExtend": ["https://ns.adobe.com/xdm/context/experienceevent"], + "definitions": { + "whatsappMessageEvents": { + "properties": { + "https://ns.adobe.com/experience/customerJourneyManagement/whatsAppMessageEvents/eventType": { + "title": "WhatsApp Message Event Type", + "type": "string", + "description": "The type of WhatsApp message lifecycle event. Maps to delivery feedback states when channel is WhatsApp. Aligns with directMarketing event type naming (e.g. directMarketing.emailSent).", + "enum": [ + "directMarketing.whatsAppSent", + "directMarketing.whatsAppDelivered", + "directMarketing.whatsAppRead", + "directMarketing.whatsAppBounced", + "directMarketing.whatsAppDelayed", + "directMarketing.whatsAppDenylist", + "directMarketing.whatsAppDuplicate", + "directMarketing.whatsAppError", + "directMarketing.whatsAppExcluded" + ], + "meta:enum": { + "directMarketing.whatsAppSent": "Direct Marketing WhatsApp Sent", + "directMarketing.whatsAppDelivered": "Direct Marketing WhatsApp Delivered", + "directMarketing.whatsAppRead": "Direct Marketing WhatsApp Read", + "directMarketing.whatsAppBounced": "Direct Marketing WhatsApp Bounced", + "directMarketing.whatsAppDelayed": "Direct Marketing WhatsApp Delayed", + "directMarketing.whatsAppDenylist": "Direct Marketing WhatsApp Denylist", + "directMarketing.whatsAppDuplicate": "Direct Marketing WhatsApp Duplicate", + "directMarketing.whatsAppError": "Direct Marketing WhatsApp Error", + "directMarketing.whatsAppExcluded": "Direct Marketing WhatsApp Excluded" + }, + "meta:titleId": "whatsapp-message-events##https://ns.adobe.com/experience/customerJourneyManagement/whatsAppMessageEvents/eventType##title##1", + "meta:descriptionId": "whatsapp-message-events##https://ns.adobe.com/experience/customerJourneyManagement/whatsAppMessageEvents/eventType##description##1" + } + } + } + }, + "allOf": [ + { + "$ref": "https://ns.adobe.com/xdm/common/extensible#/definitions/@context" + }, + { + "$ref": "#/definitions/whatsappMessageEvents" + } + ], + "meta:status": "stable", + "meta:titleId": "whatsapp-message-events##title##1", + "meta:descriptionId": "whatsapp-message-events##description##1" +}