From bc3c624345ff68f6859c0819c5c6aa6dd1702c8b Mon Sep 17 00:00:00 2001 From: Alexandru Tetelea Date: Thu, 24 Jul 2025 11:47:21 +0300 Subject: [PATCH 1/3] [CJM-107337] Make timestamp and id fields required in journeyStepEventClass.schema.json --- .../stepEvents/journeyStepEventClass.schema.json | 6 +++++- .../stepEvents/journeyStepEventClass.schema.md | 12 ++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.json b/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.json index caba18ae4e..0622d5c886 100644 --- a/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.json +++ b/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.json @@ -26,6 +26,10 @@ } } }, + "required": [ + "@id", + "xdm:timestamp" + ], "allOf": [ { "$ref": "https://ns.adobe.com/xdm/data/time-series" @@ -42,4 +46,4 @@ "https://ns.adobe.com/experience/journeyOrchestration/serviceType": "serviceEvents.segmentExportJob" } ] -} \ No newline at end of file +} diff --git a/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.md b/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.md index e70cf8e5b5..37ec435a8e 100644 --- a/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.md +++ b/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.md @@ -25,12 +25,12 @@ A time-series based Journey Step Event Class. # Journey Step Event Properties -| Property | Type | Required | Defined by | -|----------|------|----------|------------| -| [@id](#id) | `string` | Optional | [Time-series Schema](../../../../behaviors/time-series.schema.md#id) | -| [https://ns.adobe.com/experience/journeyOrchestration/serviceType](#httpsnsadobecomexperiencejourneyorchestrationservicetype) | `string` | Optional | Journey Step Event (this schema) | -| [xdm:eventType](#xdmeventtype) | `string` | Optional | [Time-series Schema](../../../../behaviors/time-series.schema.md#xdmeventtype) | -| [xdm:timestamp](#xdmtimestamp) | `string` | Optional | [Time-series Schema](../../../../behaviors/time-series.schema.md#xdmtimestamp) | +| Property | Type | Required | Defined by | +|----------|------|------------|------------| +| [@id](#id) | `string` | Required | [Time-series Schema](../../../../behaviors/time-series.schema.md#id) | +| [https://ns.adobe.com/experience/journeyOrchestration/serviceType](#httpsnsadobecomexperiencejourneyorchestrationservicetype) | `string` | Optional | Journey Step Event (this schema) | +| [xdm:eventType](#xdmeventtype) | `string` | Optional | [Time-series Schema](../../../../behaviors/time-series.schema.md#xdmeventtype) | +| [xdm:timestamp](#xdmtimestamp) | `string` | Required | [Time-series Schema](../../../../behaviors/time-series.schema.md#xdmtimestamp) | | `*` | any | Additional | this schema *allows* additional properties | ## @id From 0bb8e8aa65ae7e3d441a3cf26cb65ac2b2fbae3a Mon Sep 17 00:00:00 2001 From: Alexandru Tetelea Date: Thu, 24 Jul 2025 12:40:28 +0300 Subject: [PATCH 2/3] remove new line at the end --- .../stepEvents/journeyStepEventClass.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.json b/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.json index 0622d5c886..2545c0894f 100644 --- a/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.json +++ b/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.json @@ -46,4 +46,4 @@ "https://ns.adobe.com/experience/journeyOrchestration/serviceType": "serviceEvents.segmentExportJob" } ] -} +} \ No newline at end of file From 10af618d34d36240dc1c4d10418b88c0f4546413 Mon Sep 17 00:00:00 2001 From: Alexandru Tetelea Date: Thu, 24 Jul 2025 12:41:33 +0300 Subject: [PATCH 3/3] update doc --- .../stepEvents/journeyStepEventClass.schema.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.md b/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.md index 37ec435a8e..8a6ac3a35e 100644 --- a/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.md +++ b/docs/reference/adobe/experience/journeyOrchestration/stepEvents/journeyStepEventClass.schema.md @@ -39,7 +39,7 @@ A time-series based Journey Step Event Class. A unique identifier for the time-series event. `@id` -* is optional +* is required * type: `string` * defined in [Time-series Schema](../../../../behaviors/time-series.schema.md#id) @@ -185,7 +185,7 @@ The primary event type for this time-series record. The time when an event or observation occurred. `xdm:timestamp` -* is optional +* is required * type: `string` * defined in [Time-series Schema](../../../../behaviors/time-series.schema.md#xdmtimestamp)