Skip to content

Commit

Permalink
Change @id format from "uri" to "ur-reference"
Browse files Browse the repository at this point in the history
  • Loading branch information
jwen-adobe committed Aug 21, 2018
1 parent 4c77ed4 commit f81e953
Show file tree
Hide file tree
Showing 50 changed files with 685 additions and 927 deletions.
46 changes: 16 additions & 30 deletions extensions/adobe/experience/campaign/mutationevent.schema.json
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 All @@ -28,47 +28,40 @@
"title": "Timestamp",
"type": "string",
"format": "date-time",
"description":
"The time when the first event of the interaction occurred."
"description": "The time when the first event of the interaction occurred."
},
"xdm:endUserIDs": {
"title": "End User IDs",
"$ref": "https://ns.adobe.com/xdm/context/enduserids",
"description":
"Condensed, normalized encapsulation of all end user identifiers.\n"
"description": "Condensed, normalized encapsulation of all end user identifiers.\n"
},
"xdm:environment": {
"title": "Environment",
"$ref": "https://ns.adobe.com/xdm/context/environment",
"description":
"Information about the surrounding situation the event observation occurred in, specifically detailing transitory information such as the network or software versions."
"description": "Information about the surrounding situation the event observation occurred in, specifically detailing transitory information such as the network or software versions."
},
"xdm:productListItems": {
"title": "Product List Items",
"type": "array",
"description":
"A list of items representing a product selected by a customer with specific options and pricing that are for that usage context at a specific point of time and may differ from the product record.",
"description": "A list of items representing a product selected by a customer with specific options and pricing that are for that usage context at a specific point of time and may differ from the product record.",
"items": {
"$ref": "https://ns.adobe.com/xdm/content/productlistitem"
}
},
"xdm:device": {
"title": "Device",
"$ref": "https://ns.adobe.com/xdm/context/device",
"description":
"An identified Device/Application or Device/Browser instance that is trackable across sessions, normally by cookies."
"description": "An identified Device/Application or Device/Browser instance that is trackable across sessions, normally by cookies."
},
"xdm:commerce": {
"title": "Commerce",
"$ref": "https://ns.adobe.com/xdm/context/commerce",
"description":
"The commerce specific data related to this interaction."
"description": "The commerce specific data related to this interaction."
},
"xdm:application": {
"title": "Application",
"$ref": "https://ns.adobe.com/xdm/context/application",
"description":
"The application related to the event observation. It could be either the application targeted by the event like the send of a push notification or the application originating the event such as a click, or a login."
"description": "The application related to the event observation. It could be either the application targeted by the event like the send of a push notification or the application originating the event such as a click, or a login."
},
"xdm:search": {
"title": "Search",
Expand All @@ -78,38 +71,32 @@
"xdm:web": {
"title": "Web",
"$ref": "https://ns.adobe.com/xdm/context/webinfo",
"description":
"The information related to web page and link of the ExperienceEvent."
"description": "The information related to web page and link of the ExperienceEvent."
},
"xdm:directMarketing": {
"title": "Direct Marketing",
"$ref": "https://ns.adobe.com/xdm/context/direct-marketing",
"description":
"The events and properties related to direct/outbound marketing such as email, direct mail, texts and in-app notifications."
"description": "The events and properties related to direct/outbound marketing such as email, direct mail, texts and in-app notifications."
},
"xdm:marketing": {
"title": "Marketing",
"$ref": "https://ns.adobe.com/xdm/context/marketing",
"description":
"The information related to marketing activities that are active with the touchpoint."
"description": "The information related to marketing activities that are active with the touchpoint."
},
"xdm:placeContext": {
"title": "Place Context",
"$ref": "https://ns.adobe.com/xdm/context/placecontext",
"description":
"The transient circumstances related to the observation. Examples include locale specific information such as weather, local time, traffic, day of the week, workday vs. holiday, working hours."
"description": "The transient circumstances related to the observation. Examples include locale specific information such as weather, local time, traffic, day of the week, workday vs. holiday, working hours."
},
"xdm:channel": {
"title": "Experience Channel",
"description":
"The experience channel related to this ExperienceEvent.",
"description": "The experience channel related to this ExperienceEvent.",
"$ref": "https://ns.adobe.com/xdm/channels/channel"
},
"xdm:advertising": {
"title": "Advertising",
"$ref": "https://ns.adobe.com/xdm/context/advertising",
"description":
"The information related to advertising activity related to the experience event"
"description": "The information related to advertising activity related to the experience event"
}
}
}
Expand All @@ -119,9 +106,8 @@
"$ref": "#/definitions/experienceevent"
},
{
"$ref":
"https://ns.adobe.com/experience/campaign/experienceevent#/definitions/experienceevent"
"$ref": "https://ns.adobe.com/experience/campaign/experienceevent#/definitions/experienceevent"
}
],
"meta:status": "experimental"
}
}
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"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,49 +11,46 @@
"meta:extensible": true,
"type": "object",
"title": "Eligibility Rule",
"description":
"An EligibilityRule is a named reusable predicate used in the domain of audience segmentation and message personalization. The Profile Query Language forms the foundation of those predicates. The prodicate operates not only over profile fields but also over contextual data objects provided at the time of decisioning.",
"description": "An EligibilityRule is a named reusable predicate used in the domain of audience segmentation and message personalization. The Profile Query Language forms the foundation of those predicates. The prodicate operates not only over profile fields but also over contextual data objects provided at the time of decisioning.",
"definitions": {
"eligibility-rule": {
"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."
"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."
},
"xdm:name": {
"type": "string",
"title": "Name",
"description":
"EligibilityRule name that is used to locate this object in a search operation"
"description": "EligibilityRule name that is used to locate this object in a search operation"
},
"xdm:value": {
"type": "object",
"title": "Expression over XDM instances",
"description":
"Contains the expression over a collection of context XDM instances. When the expression evaluates to true the offer refering to this eligibility rule will be included in the decisioning otherwise included. Central context instances include the profile and the experience events associtaed with the profile.",
"$ref":
"https://ns.adobe.com/experience/offer-management/filter-expression"
"description": "Contains the expression over a collection of context XDM instances. When the expression evaluates to true the offer refering to this eligibility rule will be included in the decisioning otherwise included. Central context instances include the profile and the experience events associtaed with the profile.",
"$ref": "https://ns.adobe.com/experience/offer-management/filter-expression"
},
"xdm:modelUsage": {
"title": "Used Properties",
"description":
"An list of Model Usage objects, one per model, that lists the fully qualified path to every used property from the model.",
"description": "An list of Model Usage objects, one per model, that lists the fully qualified path to every used property from the model.",
"type": "array",
"items": {
"$ref":
"https://ns.adobe.com/experience/offer-management/model-usage"
"$ref": "https://ns.adobe.com/experience/offer-management/model-usage"
}
}
},
"required": ["xdm:name", "xdm:value", "xdm:modelUsage"]
"required": [
"xdm:name",
"xdm:value",
"xdm:modelUsage"
]
}
},
"allOf": [
{
"$ref": "#/definitions/eligibility-rule"
}
]
}
}
Loading

0 comments on commit f81e953

Please sign in to comment.