Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change @id format uri to uri-reference #486

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@id": {
"title": "Identifier",
"type": "string",
"format": "uri",
"format": "uri-reference",
"description": "The unique identifier for the ExperienceEvent."
},
"xdm:dataSource": {
Expand Down
81 changes: 35 additions & 46 deletions extensions/adobe/experience/campaign/orchestration/reportingevent.schema.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"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/campaign/orchestration/reportingevent",
"$id": "https://ns.adobe.com/experience/campaign/orchestration/reportingevent",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "User journey reporting event",
"type": "object",
Expand All @@ -29,47 +28,45 @@
"title": "Unique identifier of data entity",
"type": "string",
"format": "uri",
"description":
"The identifier for the data entity used for data enrichment"
"description": "The identifier for the data entity used for data enrichment"
},
"xdm:orgUnit": {
"title": "Organizational Unit",
"$ref": "https://ns.adobe.com/xdm/common/orgunit",
"description":
"The unit within the organization owning this journey version."
"description": "The unit within the organization owning this journey version."
},
"xdm:flowControlType": {
"title": "Flow control",
"type": "string",
"description": "Flow control in the journey triggered by the event.",
"enum": ["end", "jump", "timer", "condition"],
"enum": [
"end",
"jump",
"timer",
"condition"
],
"meta:enum": {
"end": "if the 'end' step has been reached, if this step exists",
"jump": "if a jump has been taken",
"timer":
"if a transition has been applied, implying a scheduler notification",
"timer": "if a transition has been applied, implying a scheduler notification",
"condition": "if a conditional step has been processed"
}
},
"xdm:flowControlID": {
"title": "Unique identifier for the flow control",
"type": "string",
"format": "uri",
"description":
"The identifier of the flow control in a journey version"
"description": "The identifier of the flow control in a journey version"
},
"xdm:eventMetrics": {
"title": "Metrics to be reported",
"$ref":
"https://ns.adobe.com/experience/campaign/orchestration/reportingeventmetrics",
"description":
"The metrics for actions performed during this observation."
"$ref": "https://ns.adobe.com/experience/campaign/orchestration/reportingeventmetrics",
"description": "The metrics for actions performed during this observation."
},
"https://ns.adobe.com/experience/campaign/orchestrationAction": {
"title": "Action on step transition",
"type": "object",
"description":
"Action taken during a step transition happening for an user in state machine",
"description": "Action taken during a step transition happening for an user in state machine",
"properties": {
"xdm:actionID": {
"title": "Action identifier",
Expand All @@ -82,30 +79,21 @@
"type": "string",
"description": "The type of action to be performed.",
"meta:enum": {
"scheduled_notification":
"This action type allows to specify scheduled notifications and wait for the notifications as incoming events for steps",
"http_call":
"This action type is for a HTTP call on an external system",
"action_with_personalization":
"This action type describes an action with personalization that will be resolved at runtime for each voyager instance",
"parameterized_action":
"This action type describes an action with parameterization",
"send_journey_notification":
"This action type is to send notification for another journey",
"acs_writer":
"The ACS writer action performs REST calls to an Adobe campaign standard instance to write data",
"acs_message_center":
"The ACS message center action performs REST calls to an Adobe campaign standard instance to send messages with Message Center"
"scheduled_notification": "This action type allows to specify scheduled notifications and wait for the notifications as incoming events for steps",
"http_call": "This action type is for a HTTP call on an external system",
"action_with_personalization": "This action type describes an action with personalization that will be resolved at runtime for each voyager instance",
"parameterized_action": "This action type describes an action with parameterization",
"send_journey_notification": "This action type is to send notification for another journey",
"acs_writer": "The ACS writer action performs REST calls to an Adobe campaign standard instance to write data",
"acs_message_center": "The ACS message center action performs REST calls to an Adobe campaign standard instance to send messages with Message Center"
}
}
}
},
"https://ns.adobe.com/experience/campaign/orchestrationExternalEvent": {
"title": "external event received",
"$ref":
"https://ns.adobe.com/experience/campaign/orchestration/reportingexternalevent",
"description":
"External event received, triggering the state transition"
"$ref": "https://ns.adobe.com/experience/campaign/orchestration/reportingexternalevent",
"description": "External event received, triggering the state transition"
},
"https://ns.adobe.com/experience/campaign/journey": {
"title": "Journey for users",
Expand All @@ -115,28 +103,29 @@
"@id": {
"title": "Journey unique identifier",
"type": "string",
"format": "uri",
"description":
"The unique identifier of the journey created by the marketer."
"format": "uri-reference",
"description": "The unique identifier of the journey created by the marketer."
}
},
"required": ["@id"]
"required": [
"@id"
]
},
"https://ns.adobe.com/experience/campaign/journeyVersion": {
"title": "Journey version",
"type": "object",
"description":
"Schema for describing the version of a journey, where version holds the state machine",
"description": "Schema for describing the version of a journey, where version holds the state machine",
"properties": {
"@id": {
"title": "Journey version identifier",
"type": "string",
"format": "uri",
"description":
"The unique identifier denoting the version of journey on which the user is active"
"format": "uri-reference",
"description": "The unique identifier denoting the version of journey on which the user is active"
}
},
"required": ["@id"]
"required": [
"@id"
]
}
}
}
Expand All @@ -153,4 +142,4 @@
}
],
"meta:status": "stabilizing"
}
}
42 changes: 16 additions & 26 deletions extensions/adobe/experience/campaign/orchestration/reportingeventmetrics.schema.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"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/campaign/orchestration/reportingeventmetrics",
"$id": "https://ns.adobe.com/experience/campaign/orchestration/reportingeventmetrics",
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "User journey reporting event metrics",
"type": "object",
"meta:extends": ["https://ns.adobe.com/xdm/data/metrics"],
"description":
"For state transitions, we capture certain metrics along with the dimensions. This schema hold the metrics associated with reporting of state transition",
"meta:extends": [
"https://ns.adobe.com/xdm/data/metrics"
],
"description": "For state transitions, we capture certain metrics along with the dimensions. This schema hold the metrics associated with reporting of state transition",
"definitions": {
"reportingeventmetrics": {
"properties": {
Expand All @@ -29,26 +29,22 @@
"https://ns.adobe.com/experience/campaign/orchestrationErrorInJourneyInstance": {
"title": "Error in Journey Instance",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Set to 1 when an error is raised in a journey instance"
"description": "Set to 1 when an error is raised in a journey instance"
},
"https://ns.adobe.com/experience/campaign/orchestrationErrorInEventProcessing": {
"title": "Eroor in step processing",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Set to 1 when an error occurs during an event processing, that is during a step processing"
"description": "Set to 1 when an error occurs during an event processing, that is during a step processing"
},
"https://ns.adobe.com/experience/campaign/orchestrationErrorInActionExecution": {
"title": "Error in action execution",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Set to 1 when an error occurs during an action execution"
"description": "Set to 1 when an error occurs during an action execution"
},
"https://ns.adobe.com/experience/campaign/orchestrationErrorInJumpActionExecution": {
"title": "Error in jump action",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Set to 1 when an error occurs during the jump action execution"
"description": "Set to 1 when an error occurs during the jump action execution"
},
"https://ns.adobe.com/experience/campaign/orchestrationErrorInEnrichment": {
"title": "Error in enrichment",
Expand All @@ -58,38 +54,32 @@
"https://ns.adobe.com/experience/campaign/orchestrationExecutedEvent": {
"title": "Event processed",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Set to 1 when an event as triggered a transition in a journey instance"
"description": "Set to 1 when an event as triggered a transition in a journey instance"
},
"https://ns.adobe.com/experience/campaign/orchestrationExecutedAction": {
"title": "Action executed",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Set to 1 when an action is executed successfully in a journey instance"
"description": "Set to 1 when an action is executed successfully in a journey instance"
},
"https://ns.adobe.com/experience/campaign/orchestrationExecutedFlowControl": {
"title": "Flow control executed",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Set to 1 when an action is executed successfully in a journey instance"
"description": "Set to 1 when an action is executed successfully in a journey instance"
},
"https://ns.adobe.com/experience/campaign/orchestrationExecutedJumpAction": {
"title": "Executed jump action",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Set to 1 when a jump action is executed successfully in a journey instance"
"description": "Set to 1 when a jump action is executed successfully in a journey instance"
},
"https://ns.adobe.com/experience/campaign/orchestrationExecutedEnrichment": {
"title": "Enrichment made successfully ",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Set to 1 when an enrichment is executed successfully in a journey instance"
"description": "Set to 1 when an enrichment is executed successfully in a journey instance"
},
"https://ns.adobe.com/experience/campaign/orchestrationJumpToJourney": {
"title": "Jump action executed successfully",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description":
"Set to 1 when a jump to another journey instance is made"
"description": "Set to 1 when a jump to another journey instance is made"
}
}
}
Expand All @@ -100,4 +90,4 @@
}
],
"meta:status": "stabilizing"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "external event received",
"type": "object",
"meta:extends": ["https://ns.adobe.com/xdm/context/experienceevent"],
"meta:extends": [
"https://ns.adobe.com/xdm/context/experienceevent"
],
"description": "",
"definitions": {
"reportingexternalevent": {
Expand All @@ -34,4 +36,4 @@
}
],
"meta:status": "stabilizing"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"properties": {
"@id": {
"type": "string",
"format": "uri",
"format": "uri-reference",
"title": "ID",
"description":
"The unique identifier of the EligibilityRule. This identifier is assigned by clients or services that use the repository and is not generated by the repository itself. This @id must be unique within a repository container for objects that are not the same, otherwise it is interpreted as referring to the same object. The @id is used in link relationships. For example an Offer's selection constraint object references an EligibilityRule object."
Expand Down
Loading