From 5fa0d162f9049e51c4d252689412050faeb2b0d9 Mon Sep 17 00:00:00 2001 From: Kevin Streeter Date: Tue, 21 Aug 2018 15:49:47 -0700 Subject: [PATCH] fix linting issues in extensions folder --- .../adcloud/advertisement.example.1.json | 2 +- .../adcloud/advertisement.schema.json | 19 +- .../experience/adcloud/campaign.schema.json | 23 +- .../adcloud/experienceevent.schema.json | 12 +- .../adcloud/inventory.example.1.json | 5 +- .../experience/adcloud/inventory.schema.json | 17 +- .../experience/adcloud/segment.example.1.json | 5 +- .../experience/adcloud/segment.schema.json | 8 +- .../analytics/experienceevent.schema.json | 268 ++++++++++++------ .../analytics/keyedlist.schema.json | 4 +- .../experience/analytics/keyvalue.schema.json | 8 +- .../analytics/listdetails.schema.json | 6 +- .../experience/campaign/address.schema.json | 3 +- .../experienceevent.example.click.json | 3 +- .../campaign/experienceevent.schema.json | 30 +- .../campaign/mutationevent.schema.json | 10 +- .../capping-constraint.schema.json | 9 +- .../eligibility-rule.example.1.json | 15 +- .../eligibility-rule.schema.json | 21 +- .../fallback-offer.schema.json | 3 +- .../offer-management/model-usage.schema.json | 17 +- .../offer-activity.schema.json | 26 +- .../offer-management/offer-filter.schema.json | 15 +- .../offer-placement.schema.json | 15 +- .../offer-representation.example.1.json | 36 ++- .../offer-representation.example.2.json | 8 +- .../offer-representation.example.3.json | 8 +- .../offer-representation.schema.json | 41 +-- .../offer-management/offer.schema.json | 32 ++- .../personalized-offer.schema.json | 18 +- .../primary-key.descriptors.json | 30 +- .../offer-management/rank.schema.json | 3 +- .../relationship.descriptors.json | 57 ++-- .../selection-constraint.schema.json | 12 +- .../offer-management/tag.schema.json | 9 +- .../profile/experienceevent.schema.json | 2 +- .../experience/target/activity.schema.json | 17 +- .../target/experienceevent.schema.json | 7 +- package.json | 2 +- 39 files changed, 522 insertions(+), 304 deletions(-) diff --git a/extensions/adobe/experience/adcloud/advertisement.example.1.json b/extensions/adobe/experience/adcloud/advertisement.example.1.json index 1e009ccbe..a32d3114c 100644 --- a/extensions/adobe/experience/adcloud/advertisement.example.1.json +++ b/extensions/adobe/experience/adcloud/advertisement.example.1.json @@ -4,4 +4,4 @@ "xdm:adClass": "video", "xdm:adUnitType": "HTML5", "xdm:promotedAssetId": "4116761052" -} \ No newline at end of file +} diff --git a/extensions/adobe/experience/adcloud/advertisement.schema.json b/extensions/adobe/experience/adcloud/advertisement.schema.json index 07b346ee8..0cb5de8b6 100644 --- a/extensions/adobe/experience/adcloud/advertisement.schema.json +++ b/extensions/adobe/experience/adcloud/advertisement.schema.json @@ -17,16 +17,17 @@ "title": "Ad ID", "type": "string", "description": - "Unique identifier for the ad this event is associated with. Not to be confused with Ad-ID standard." + "Unique identifier for the ad this event is associated with. Not to be confused with Ad-ID standard." }, "xdm:runtime": { "title": "Runtime Type", "type": "string", - "description": "The runtime of the ad unit itself, not the runtime of the browser or the operating system.", + "description": + "The runtime of the ad unit itself, not the runtime of the browser or the operating system.", "meta:enum": { "unknown": "Unknown", "HTML5": "HTML5" - } + } }, "xdm:adClass": { "title": "Ad Class", @@ -36,12 +37,13 @@ "display": "Display", "video": "Video", "social": "Social" - } + } }, "xdm:adUnitType": { "title": "Ad Unit Type", "type": "string", - "description": "Unique identifier for the literal piece of code driving display of the ad in a browser/device.", + "description": + "Unique identifier for the literal piece of code driving display of the ad in a browser/device.", "meta:enum": { "linearVideo": "Linear video", "interactiveVideo": "Interactive video", @@ -52,16 +54,17 @@ "HTML5": "HTML5", "inPageVideo": "In page video", "inPageDisplay": "In page display", - "facebook":"Facebook", + "facebook": "Facebook", "twitter": "Twitter", "linearTv": "Linear TV", "vod": "Video on Demand" - } + } }, "xdm:promotedAssetId": { "title": "Promoted Asset ID", "type": "string", - "description": "Unique identifier for the underlying asset being promoted in the ad which this event is associated with." + "description": + "Unique identifier for the underlying asset being promoted in the ad which this event is associated with." } } } diff --git a/extensions/adobe/experience/adcloud/campaign.schema.json b/extensions/adobe/experience/adcloud/campaign.schema.json index a34a58e38..d700dedc5 100644 --- a/extensions/adobe/experience/adcloud/campaign.schema.json +++ b/extensions/adobe/experience/adcloud/campaign.schema.json @@ -17,44 +17,51 @@ "title": "Account ID", "type": "string", "description": - "Unique identifier for the account this event is associated with." + "Unique identifier for the account this event is associated with." }, "xdm:campaignId": { "title": "Campaign ID", "type": "string", - "description": "Unique identifier for the campaign which this event is associated with." + "description": + "Unique identifier for the campaign which this event is associated with." }, "xdm:placementId": { "title": "Placement ID", "type": "string", - "description": "Unique identifier for the placement which this event is associated with." + "description": + "Unique identifier for the placement which this event is associated with." }, "xdm:packageId": { "title": "Package ID", "type": "string", - "description": "Unique identifier for the package which this event is associated with." + "description": + "Unique identifier for the package which this event is associated with." }, "xdm:advertiserId": { "title": "Advertiser ID", "type": "string", - "description": "Unique identifier for the advertiser which this event is associated with." + "description": + "Unique identifier for the advertiser which this event is associated with." }, "xdm:experimentId": { "title": "Experiment ID", "type": "string", - "description": "Unique identifier for the experiment which this event is associated with." + "description": + "Unique identifier for the experiment which this event is associated with." }, "xdm:sampleGroupId": { "title": "Sample Group ID", "type": "string", - "description": "Unique identifier for the sample group which this event is associated with." + "description": + "Unique identifier for the sample group which this event is associated with." }, "xdm:currency": { "title": "Account Currency", "type": "string", "examples": ["USD", "EUR"], "pattern": "^[A-Z]{3}$", - "description": "The ISO 4217 billing currency code for the account this event is associated with." + "description": + "The ISO 4217 billing currency code for the account this event is associated with." } } } diff --git a/extensions/adobe/experience/adcloud/experienceevent.schema.json b/extensions/adobe/experience/adcloud/experienceevent.schema.json index 2dcee7c12..3bc7139ae 100644 --- a/extensions/adobe/experience/adcloud/experienceevent.schema.json +++ b/extensions/adobe/experience/adcloud/experienceevent.schema.json @@ -22,27 +22,25 @@ "https://ns.adobe.com/experience/adcloud/campaign": { "title": "Ad Campaign Details", "$ref": "https://ns.adobe.com/experience/adcloud/campaign", - "description": - "Adobe AdCloud ad campaign hierarchy details." + "description": "Adobe AdCloud ad campaign hierarchy details." }, "https://ns.adobe.com/experience/adcloud/inventory": { "title": "Ad Inventory Details", "$ref": "https://ns.adobe.com/experience/adcloud/inventory", - "description": - "Adobe AdCloud inventory details." + "description": "Adobe AdCloud inventory details." }, "https://ns.adobe.com/experience/adcloud/advertisement": { "title": "Ad Asset Details", "$ref": "https://ns.adobe.com/experience/adcloud/advertisement", - "description": - "Digital advertisement details" + "description": "Digital advertisement details" } } } }, "allOf": [ { - "$ref": "https://ns.adobe.com/xdm/context/experienceevent#/definitions/experienceevent" + "$ref": + "https://ns.adobe.com/xdm/context/experienceevent#/definitions/experienceevent" }, { "$ref": "#/definitions/experienceevent" diff --git a/extensions/adobe/experience/adcloud/inventory.example.1.json b/extensions/adobe/experience/adcloud/inventory.example.1.json index bf65fe815..21d7fc771 100644 --- a/extensions/adobe/experience/adcloud/inventory.example.1.json +++ b/extensions/adobe/experience/adcloud/inventory.example.1.json @@ -8,6 +8,7 @@ "xdm:segment": { "xdm:attributablePartnerId": "13", "xdm:attributableSegmentId": "123445", - "xdm:segments": "AbbKlvGfgVH7WK2TH6jd,5lmd4aQCvvrv1yIhjlLQ,9uGk1eYROeHVWiGAOR4p" + "xdm:segments": + "AbbKlvGfgVH7WK2TH6jd,5lmd4aQCvvrv1yIhjlLQ,9uGk1eYROeHVWiGAOR4p" } -} \ No newline at end of file +} diff --git a/extensions/adobe/experience/adcloud/inventory.schema.json b/extensions/adobe/experience/adcloud/inventory.schema.json index cdc8bf105..e48636085 100644 --- a/extensions/adobe/experience/adcloud/inventory.schema.json +++ b/extensions/adobe/experience/adcloud/inventory.schema.json @@ -17,34 +17,39 @@ "title": "Session ID", "type": "string", "description": - "Session ID associated with experience event, used to stitch together independent events which occurred in the same session." + "Session ID associated with experience event, used to stitch together independent events which occurred in the same session." }, "xdm:feedId": { "title": "Feed ID", "type": "string", - "description": "Composite id of the publisher, ad exchange, and other features." + "description": + "Composite id of the publisher, ad exchange, and other features." }, "xdm:sspPartnerCode": { "title": "SSP Partner Code", "type": "string", - "description": "The partner (exchange) through which AdCloud receives the inventory opportunity." + "description": + "The partner (exchange) through which AdCloud receives the inventory opportunity." }, "xdm:siteId": { "title": "Site ID", "type": "string", - "description": "Identifier for the web site where ad impression was served." + "description": + "Identifier for the web site where ad impression was served." }, "xdm:costCurrency": { "title": "Cost Currency", "type": "string", "examples": ["USD", "EUR"], "pattern": "^[A-Z]{3}$", - "description": "The ISO 4217 currency code used to pay partner for in ad opportunity." + "description": + "The ISO 4217 currency code used to pay partner for in ad opportunity." }, "xdm:inventorySourceId": { "title": "Inventory Source ID", "type": "string", - "description": "The id of the AdCloud inventory source this opportunity was delivered on." + "description": + "The id of the AdCloud inventory source this opportunity was delivered on." }, "xdm:segment": { "title": "Segmentation Details", diff --git a/extensions/adobe/experience/adcloud/segment.example.1.json b/extensions/adobe/experience/adcloud/segment.example.1.json index 4313589a9..cede1a88b 100644 --- a/extensions/adobe/experience/adcloud/segment.example.1.json +++ b/extensions/adobe/experience/adcloud/segment.example.1.json @@ -1,5 +1,6 @@ { "xdm:attributablePartnerId": "13", "xdm:attributableSegmentId": "123445", - "xdm:segments": "AbbKlvGfgVH7WK2TH6jd,5lmd4aQCvvrv1yIhjlLQ,9uGk1eYROeHVWiGAOR4p" -} \ No newline at end of file + "xdm:segments": + "AbbKlvGfgVH7WK2TH6jd,5lmd4aQCvvrv1yIhjlLQ,9uGk1eYROeHVWiGAOR4p" +} diff --git a/extensions/adobe/experience/adcloud/segment.schema.json b/extensions/adobe/experience/adcloud/segment.schema.json index fe695dd9e..21e3e66ab 100644 --- a/extensions/adobe/experience/adcloud/segment.schema.json +++ b/extensions/adobe/experience/adcloud/segment.schema.json @@ -17,17 +17,19 @@ "title": "Attributable Partner ID", "type": "string", "description": - "The segment provider who owns the attributableSegmentId." + "The segment provider who owns the attributableSegmentId." }, "xdm:attributableSegmentId": { "title": "Attributable Segment ID", "type": "string", - "description": "The single segment accredit for user targeting among all the segments in the placement's targeting rule for the purposes of tracking costs and paying partners." + "description": + "The single segment accredit for user targeting among all the segments in the placement's targeting rule for the purposes of tracking costs and paying partners." }, "xdm:segments": { "title": "Segments", "type": "string", - "description": "The intersection of the user segments that both: a) the user belonged to, and b) the ad was targeting. NOT the full list of segments that the user belonged to at the time of the auction." + "description": + "The intersection of the user segments that both: a) the user belonged to, and b) the ad was targeting. NOT the full list of segments that the user belonged to at the time of the auction." } } } diff --git a/extensions/adobe/experience/analytics/experienceevent.schema.json b/extensions/adobe/experience/analytics/experienceevent.schema.json index c49389587..29b11b32f 100644 --- a/extensions/adobe/experience/analytics/experienceevent.schema.json +++ b/extensions/adobe/experience/analytics/experienceevent.schema.json @@ -9,9 +9,7 @@ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Adobe Analytics Cloud Experience Event Extension", "type": "object", - "meta:extends": [ - "https://ns.adobe.com/xdm/context/experienceevent" - ], + "meta:extends": ["https://ns.adobe.com/xdm/context/experienceevent"], "description": "Adobe Analytics Cloud Experience Event Extension.", "definitions": { "experienceevent": { @@ -28,24 +26,28 @@ "xdm:depth": { "title": "Session Depth", "type": "integer", - "description": "Current session depth (eg page number) for the end-user." + "description": + "Current session depth (eg page number) for the end-user." }, "xdm:timestamp": { "title": "Session Entry Timestamp", "type": "integer", - "description": "The timestamp at the entry into this session. Milliseconds since midnight of January 1, 1970.", + "description": + "The timestamp at the entry into this session. Milliseconds since midnight of January 1, 1970.", "minimum": 1, "maximum": 9223372036854770000 }, "xdm:search": { "title": "Session Entry Search", "$ref": "https://ns.adobe.com/xdm/context/search", - "description": "The information related to web or mobile search at the entry of this session." + "description": + "The information related to web or mobile search at the entry of this session." }, "xdm:web": { "title": "Session Entry Web", "$ref": "https://ns.adobe.com/xdm/context/webinfo", - "description": "The information related to web page, link, and referrer at the entry of this session." + "description": + "The information related to web page, link, and referrer at the entry of this session." } } }, @@ -56,14 +58,16 @@ "xdm:firstTimestamp": { "title": "End User First Timestamp", "type": "integer", - "description": "The timestamp for the first ExperienceEvent for this end-user. Milliseconds since midnight of January 1, 1970.", + "description": + "The timestamp for the first ExperienceEvent for this end-user. Milliseconds since midnight of January 1, 1970.", "minimum": 1, "maximum": 9223372036854770000 }, "xdm:firstWeb": { "title": "End User First Web Details", "$ref": "https://ns.adobe.com/xdm/context/webinfo", - "description": "The information related to web page, link, and referrer from the first ExperienceEvent for this end-user." + "description": + "The information related to web page, link, and referrer from the first ExperienceEvent for this end-user." } } }, @@ -1715,377 +1719,452 @@ "xdm:prop1": { "title": "prop1", "description": "Custom property variable1", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop2": { "title": "prop2", "description": "Custom property variable2", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop3": { "title": "prop3", "description": "Custom property variable3", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop4": { "title": "prop4", "description": "Custom property variable4", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop5": { "title": "prop5", "description": "Custom property variable5", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop6": { "title": "prop6", "description": "Custom property variable6", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop7": { "title": "prop7", "description": "Custom property variable7", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop8": { "title": "prop8", "description": "Custom property variable8", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop9": { "title": "prop9", "description": "Custom property variable9", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop10": { "title": "prop10", "description": "Custom property variable10", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop11": { "title": "prop11", "description": "Custom property variable11", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop12": { "title": "prop12", "description": "Custom property variable12", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop13": { "title": "prop13", "description": "Custom property variable13", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop14": { "title": "prop14", "description": "Custom property variable14", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop15": { "title": "prop15", "description": "Custom property variable15", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop16": { "title": "prop16", "description": "Custom property variable16", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop17": { "title": "prop17", "description": "Custom property variable17", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop18": { "title": "prop18", "description": "Custom property variable18", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop19": { "title": "prop19", "description": "Custom property variable19", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop20": { "title": "prop20", "description": "Custom property variable20", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop21": { "title": "prop21", "description": "Custom property variable21", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop22": { "title": "prop22", "description": "Custom property variable22", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop23": { "title": "prop23", "description": "Custom property variable23", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop24": { "title": "prop24", "description": "Custom property variable24", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop25": { "title": "prop25", "description": "Custom property variable25", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop26": { "title": "prop26", "description": "Custom property variable26", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop27": { "title": "prop27", "description": "Custom property variable27", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop28": { "title": "prop28", "description": "Custom property variable28", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop29": { "title": "prop29", "description": "Custom property variable29", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop30": { "title": "prop30", "description": "Custom property variable30", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop31": { "title": "prop31", "description": "Custom property variable31", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop32": { "title": "prop32", "description": "Custom property variable32", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop33": { "title": "prop33", "description": "Custom property variable33", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop34": { "title": "prop34", "description": "Custom property variable34", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop35": { "title": "prop35", "description": "Custom property variable35", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop36": { "title": "prop36", "description": "Custom property variable36", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop37": { "title": "prop37", "description": "Custom property variable37", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop38": { "title": "prop38", "description": "Custom property variable38", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop39": { "title": "prop39", "description": "Custom property variable39", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop40": { "title": "prop40", "description": "Custom property variable40", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop41": { "title": "prop41", "description": "Custom property variable41", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop42": { "title": "prop42", "description": "Custom property variable42", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop43": { "title": "prop43", "description": "Custom property variable43", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop44": { "title": "prop44", "description": "Custom property variable44", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop45": { "title": "prop45", "description": "Custom property variable45", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop46": { "title": "prop46", "description": "Custom property variable46", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop47": { "title": "prop47", "description": "Custom property variable47", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop48": { "title": "prop48", "description": "Custom property variable48", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop49": { "title": "prop49", "description": "Custom property variable49", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop50": { "title": "prop50", "description": "Custom property variable50", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop51": { "title": "prop51", "description": "Custom property variable51", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop52": { "title": "prop52", "description": "Custom property variable52", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop53": { "title": "prop53", "description": "Custom property variable53", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop54": { "title": "prop54", "description": "Custom property variable54", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop55": { "title": "prop55", "description": "Custom property variable55", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop56": { "title": "prop56", "description": "Custom property variable56", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop57": { "title": "prop57", "description": "Custom property variable57", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop58": { "title": "prop58", "description": "Custom property variable58", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop59": { "title": "prop59", "description": "Custom property variable59", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop60": { "title": "prop60", "description": "Custom property variable60", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop61": { "title": "prop61", "description": "Custom property variable61", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop62": { "title": "prop62", "description": "Custom property variable62", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop63": { "title": "prop63", "description": "Custom property variable63", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop64": { "title": "prop64", "description": "Custom property variable64", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop65": { "title": "prop65", "description": "Custom property variable65", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop66": { "title": "prop66", "description": "Custom property variable66", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop67": { "title": "prop67", "description": "Custom property variable67", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop68": { "title": "prop68", "description": "Custom property variable68", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop69": { "title": "prop69", "description": "Custom property variable69", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop70": { "title": "prop70", "description": "Custom property variable70", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop71": { "title": "prop71", "description": "Custom property variable71", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop72": { "title": "prop72", "description": "Custom property variable72", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop73": { "title": "prop73", "description": "Custom property variable73", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop74": { "title": "prop74", "description": "Custom property variable74", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:prop75": { "title": "prop75", "description": "Custom property variable75", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" } } }, @@ -2096,27 +2175,32 @@ "xdm:hier1": { "title": "hier1", "description": "Custom hierarchy variable 1.", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:hier2": { "title": "hier2", "description": "Custom hierarchy variable 2.", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:hier3": { "title": "hier3", "description": "Custom hierarchy variable 3.", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:hier4": { "title": "hier4", "description": "Custom hierarchy variable 4.", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" }, "xdm:hier5": { "title": "hier5", "description": "Custom hierarchy variable 5.", - "$ref": "https://ns.adobe.com/experience/analytics/listdetails" + "$ref": + "https://ns.adobe.com/experience/analytics/listdetails" } } }, @@ -7220,12 +7304,14 @@ "xdm:browserID": { "title": "Browser ID", "type": "integer", - "description": "The Adobe Analytics Identifier for the browser used." + "description": + "The Adobe Analytics Identifier for the browser used." }, "xdm:operatingSystemID": { "title": "Operating System ID", "type": "integer", - "description": "The Adobe Analytics Identifier of the operating system used." + "description": + "The Adobe Analytics Identifier of the operating system used." } } } diff --git a/extensions/adobe/experience/analytics/keyedlist.schema.json b/extensions/adobe/experience/analytics/keyedlist.schema.json index 959c20e4b..0f3283030 100644 --- a/extensions/adobe/experience/analytics/keyedlist.schema.json +++ b/extensions/adobe/experience/analytics/keyedlist.schema.json @@ -24,9 +24,9 @@ } } }, - "allOf":[ + "allOf": [ { - "$ref":"#/definitions/keyedlist" + "$ref": "#/definitions/keyedlist" } ] } diff --git a/extensions/adobe/experience/analytics/keyvalue.schema.json b/extensions/adobe/experience/analytics/keyvalue.schema.json index cab4612e0..f74f2366b 100644 --- a/extensions/adobe/experience/analytics/keyvalue.schema.json +++ b/extensions/adobe/experience/analytics/keyvalue.schema.json @@ -26,7 +26,9 @@ } } }, - "allOf": [{ - "$ref": "#/definitions/keyvalue" - }] + "allOf": [ + { + "$ref": "#/definitions/keyvalue" + } + ] } diff --git a/extensions/adobe/experience/analytics/listdetails.schema.json b/extensions/adobe/experience/analytics/listdetails.schema.json index e4c40451c..27c3796b2 100644 --- a/extensions/adobe/experience/analytics/listdetails.schema.json +++ b/extensions/adobe/experience/analytics/listdetails.schema.json @@ -29,9 +29,9 @@ } } }, - "allOf":[ - { - "$ref":"#/definitions/listdetails" + "allOf": [ + { + "$ref": "#/definitions/listdetails" } ] } diff --git a/extensions/adobe/experience/campaign/address.schema.json b/extensions/adobe/experience/campaign/address.schema.json index 138f1c95a..aba3f04bb 100644 --- a/extensions/adobe/experience/campaign/address.schema.json +++ b/extensions/adobe/experience/campaign/address.schema.json @@ -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/address", + "$id": "https://ns.adobe.com/experience/campaign/address", "$schema": "http://json-schema.org/draft-06/schema#", "title": "Address Extensions for Adobe Campaign", "type": "object", diff --git a/extensions/adobe/experience/campaign/experienceevent.example.click.json b/extensions/adobe/experience/campaign/experienceevent.example.click.json index e7beeb8b2..e77dc2bad 100644 --- a/extensions/adobe/experience/campaign/experienceevent.example.click.json +++ b/extensions/adobe/experience/campaign/experienceevent.example.click.json @@ -73,7 +73,8 @@ }, "https://ns.adobe.com/experience/campaign/link": { "xdm:id": "98765", - "xdm:url": "https://newsletters.adobe.com/newsletter/101/mastering-xdm.html", + "xdm:url": + "https://newsletters.adobe.com/newsletter/101/mastering-xdm.html", "xdm:occurrence": 2, "xdm:category": "Promotional Links", "xdm:label": "XDM information" diff --git a/extensions/adobe/experience/campaign/experienceevent.schema.json b/extensions/adobe/experience/campaign/experienceevent.schema.json index 4e35da315..ef716e28e 100644 --- a/extensions/adobe/experience/campaign/experienceevent.schema.json +++ b/extensions/adobe/experience/campaign/experienceevent.schema.json @@ -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/experienceevent", + "$id": "https://ns.adobe.com/experience/campaign/experienceevent", "$schema": "http://json-schema.org/draft-06/schema#", "title": "Adobe Campaign ExperienceEvent Extension", "type": "object", @@ -153,8 +152,9 @@ } } }, - "https://ns.adobe.com/experience/campaign/delivery" : { - "title": "The campaign activity originating a message to a recipient.", + "https://ns.adobe.com/experience/campaign/delivery": { + "title": + "The campaign activity originating a message to a recipient.", "type": "object", "properties": { "xdm:id": { @@ -195,18 +195,21 @@ } }, "https://ns.adobe.com/experience/campaign/marketingCampaign": { - "title": "The campaign activity originating a message to a recipient.", + "title": + "The campaign activity originating a message to a recipient.", "type": "object", "properties": { "xdm:id": { "title": "Campaign ID", "type": "integer", - "description": "Identifier of the marketing campaign to which activity originating this message belongs to." + "description": + "Identifier of the marketing campaign to which activity originating this message belongs to." } } }, "https://ns.adobe.com/experience/campaign/link": { - "title": "The campaign activity originating a message to a recipient.", + "title": + "The campaign activity originating a message to a recipient.", "type": "object", "properties": { "xdm:id": { @@ -237,12 +240,14 @@ "xdm:label": { "title": "URL Label", "type": "string", - "description": "The user-friendly label clicking on which the link opens." + "description": + "The user-friendly label clicking on which the link opens." }, "xdm:category": { "title": "URL Category", "type": "string", - "description": "The category of the link. It may be `subscription`, or a user-defined category." + "description": + "The category of the link. It may be `subscription`, or a user-defined category." } } }, @@ -264,8 +269,9 @@ "properties": { "https://ns.adobe.com/experience/campaign/mutation": { "title": "Mutated fields from the previous experienceEvent.", - "description": "Information of the fields that have changed since the previous experienceevent to keep track of the state changes across events. For e.g. if when an email gets sent, an experienceEvent with metric `sends` will be sent. This may get bounced and an experienceEvent with metric `bounces` will be sent then. It may be important for a downstream application to know that the previous experienceEvent with metric `sends` is now to be invalidated. This field will contain the values from the previous experienceEvent that have a different value in the current experienceEvent.", - "$ref":"https://ns.adobe.com/experience/campaign/mutationevent" + "description": + "Information of the fields that have changed since the previous experienceevent to keep track of the state changes across events. For e.g. if when an email gets sent, an experienceEvent with metric `sends` will be sent. This may get bounced and an experienceEvent with metric `bounces` will be sent then. It may be important for a downstream application to know that the previous experienceEvent with metric `sends` is now to be invalidated. This field will contain the values from the previous experienceEvent that have a different value in the current experienceEvent.", + "$ref": "https://ns.adobe.com/experience/campaign/mutationevent" } } } @@ -279,4 +285,4 @@ } ], "meta:status": "experimental" -} \ No newline at end of file +} diff --git a/extensions/adobe/experience/campaign/mutationevent.schema.json b/extensions/adobe/experience/campaign/mutationevent.schema.json index 9d577a4ce..10592aa39 100644 --- a/extensions/adobe/experience/campaign/mutationevent.schema.json +++ b/extensions/adobe/experience/campaign/mutationevent.schema.json @@ -5,7 +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/mutationevent", + "$id": "https://ns.adobe.com/experience/campaign/mutationevent", "$schema": "http://json-schema.org/draft-06/schema#", "title": "Adobe Campaign Mutation Event", "type": "object", @@ -103,12 +103,13 @@ "title": "Experience Channel", "description": "The experience channel related to this ExperienceEvent.", - "$ref": "https://ns.adobe.com/xdm/channels/channel" + "$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" } } } @@ -118,7 +119,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" diff --git a/extensions/adobe/experience/offer-management/capping-constraint.schema.json b/extensions/adobe/experience/offer-management/capping-constraint.schema.json index 60c00e3b3..2b461014c 100644 --- a/extensions/adobe/experience/offer-management/capping-constraint.schema.json +++ b/extensions/adobe/experience/offer-management/capping-constraint.schema.json @@ -11,7 +11,8 @@ "meta:extensible": true, "type": "object", "title": "Capping Constraint", - "description": "Offer Capping Constraint is a component in a Personalization Offer that defines the parameters for capping. Capping is the process of limiting how many times an offer can be proposed, for an individual profile as well as across all profiles.", + "description": + "Offer Capping Constraint is a component in a Personalization Offer that defines the parameters for capping. Capping is the process of limiting how many times an offer can be proposed, for an individual profile as well as across all profiles.", "definitions": { "capping-constraint": { "type": "object", @@ -19,13 +20,15 @@ "xdm:globalCap": { "type": "integer", "title": "Global Cap", - "description": "Global cap is a constraint on how many times an offer can be proposed in totality.", + "description": + "Global cap is a constraint on how many times an offer can be proposed in totality.", "minimum": 1 }, "xdm:profileCap": { "type": "integer", "title": "Profile Cap", - "description": "Profile cap is a constraint on how many times an offer can be proposed to a certain profile.", + "description": + "Profile cap is a constraint on how many times an offer can be proposed to a certain profile.", "minimum": 1 } } diff --git a/extensions/adobe/experience/offer-management/eligibility-rule.example.1.json b/extensions/adobe/experience/offer-management/eligibility-rule.example.1.json index f674d1e35..5910bd608 100644 --- a/extensions/adobe/experience/offer-management/eligibility-rule.example.1.json +++ b/extensions/adobe/experience/offer-management/eligibility-rule.example.1.json @@ -1,17 +1,16 @@ { "@id": "https://www.example.com/offers/eligibility-rule/rule-0001", "xdm:name": "Californians with two or more purchases of more than $1000", - "xdm:value": "profile.xdm:homeAddress.xdm:stateOrProvince = \"CA\" AND (SELECT X FROM xEvent WHERE X.xdm:commerce.xdm:order.xdm:priceTotal > 1000 AND X.xdm:commerce.xdm:order.xdm:currencyCode = \"USD\").count() > 1", - "xdm:modelUsage" : [ + "xdm:value": + "profile.xdm:homeAddress.xdm:stateOrProvince = \"CA\" AND (SELECT X FROM xEvent WHERE X.xdm:commerce.xdm:order.xdm:priceTotal > 1000 AND X.xdm:commerce.xdm:order.xdm:currencyCode = \"USD\").count() > 1", + "xdm:modelUsage": [ { - "xdm:model" : "https://ns.adobe.com/xdm/context/profile", - "xdm:modelPropertyPaths" : [ - "xdm:homeAddress.xdm:stateProvince" - ] + "xdm:model": "https://ns.adobe.com/xdm/context/profile", + "xdm:modelPropertyPaths": ["xdm:homeAddress.xdm:stateProvince"] }, { - "xdm:model" : "https://ns.adobe.com/xdm/context/experienceevent", - "xdm:modelPropertyPaths" : [ + "xdm:model": "https://ns.adobe.com/xdm/context/experienceevent", + "xdm:modelPropertyPaths": [ "xdm:commerce.xdm:order.xdm:priceTotal", "xdm:commerce.xdm:order.xdm:currencyCode" ] diff --git a/extensions/adobe/experience/offer-management/eligibility-rule.schema.json b/extensions/adobe/experience/offer-management/eligibility-rule.schema.json index 54da6dfaa..910aaa9d0 100644 --- a/extensions/adobe/experience/offer-management/eligibility-rule.schema.json +++ b/extensions/adobe/experience/offer-management/eligibility-rule.schema.json @@ -11,7 +11,8 @@ "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": { @@ -19,25 +20,31 @@ "type": "string", "format": "uri", "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" } } }, diff --git a/extensions/adobe/experience/offer-management/fallback-offer.schema.json b/extensions/adobe/experience/offer-management/fallback-offer.schema.json index 2203b72bb..60a9a698e 100644 --- a/extensions/adobe/experience/offer-management/fallback-offer.schema.json +++ b/extensions/adobe/experience/offer-management/fallback-offer.schema.json @@ -12,7 +12,8 @@ "meta:extensible": true, "type": "object", "title": "Fallback Offer", - "description": "Fallback offer is a default offer used when there is no personalization offer left that satisfies all constraints", + "description": + "Fallback offer is a default offer used when there is no personalization offer left that satisfies all constraints", "definitions": { "fallback-offer": { "type": "object" diff --git a/extensions/adobe/experience/offer-management/model-usage.schema.json b/extensions/adobe/experience/offer-management/model-usage.schema.json index a0794ed89..dc01a8bee 100644 --- a/extensions/adobe/experience/offer-management/model-usage.schema.json +++ b/extensions/adobe/experience/offer-management/model-usage.schema.json @@ -11,30 +11,31 @@ "meta:extensible": true, "type": "object", "title": "Used XDM Models and Properties from those models", - "description": "A key-value pair whose key is reference to the model, i.e. the model's $id property. The value is an array of strings, each string representing a fully qualified path to an XDM field with dots used as the path delimiter.", + "description": + "A key-value pair whose key is reference to the model, i.e. the model's $id property. The value is an array of strings, each string representing a fully qualified path to an XDM field with dots used as the path delimiter.", "definitions": { "model-usage": { "type": "object", "title": "Model and Used Properties", - "description": "A key-value pair whose key is reference to the model, i.e. the model's $id property. The value is an array of strings, each string representing a fully qualified path to an XDM field with dots used as the path delimiter.", + "description": + "A key-value pair whose key is reference to the model, i.e. the model's $id property. The value is an array of strings, each string representing a fully qualified path to an XDM field with dots used as the path delimiter.", "properties": { "xdm:model": { "type": "string", "format": "uri", - "description": "Reference to the model, i.e. its schema $id property. " + "description": + "Reference to the model, i.e. its schema $id property. " }, "xdm:modelPropertyPaths": { "type": "array", "items": { "type": "string", - "description": "A fully qualified JSON path to an XDM field with dots used as the path delimiter" + "description": + "A fully qualified JSON path to an XDM field with dots used as the path delimiter" } } }, - "required": [ - "xdm:modelReference", - "xdm:modelPropertyPaths" - ] + "required": ["xdm:modelReference", "xdm:modelPropertyPaths"] } } } diff --git a/extensions/adobe/experience/offer-management/offer-activity.schema.json b/extensions/adobe/experience/offer-management/offer-activity.schema.json index e563aa4a8..054776050 100644 --- a/extensions/adobe/experience/offer-management/offer-activity.schema.json +++ b/extensions/adobe/experience/offer-management/offer-activity.schema.json @@ -11,7 +11,8 @@ "meta:extensible": true, "type": "object", "title": "Activity", - "description": "An Offer Activity is used to control the decisioning process. It specifies the filter applied to the total inventory to narrow down offers by topic/category, the placement to narrow down the inventory to those offers that technically fit into the reserved space for the offer and specifies a fall back option should the combined constraints disqualify all available personalization options (offers).", + "description": + "An Offer Activity is used to control the decisioning process. It specifies the filter applied to the total inventory to narrow down offers by topic/category, the placement to narrow down the inventory to those offers that technically fit into the reserved space for the offer and specifies a fall back option should the combined constraints disqualify all available personalization options (offers).", "definitions": { "offer-activity": { "properties": { @@ -19,12 +20,14 @@ "type": "string", "format": "uri", "title": "ID", - "description": "The unique identifier of the offer activity. This @id must be unique across for objects that are not semantically the same, otherwise it is interpreted as referring to the same object. " + "description": + "The unique identifier of the offer activity. This @id must be unique across for objects that are not semantically the same, otherwise it is interpreted as referring to the same object. " }, "xdm:name": { "type": "string", "title": "Name", - "description": "Activity name. The name is displayed in various user interfaces." + "description": + "Activity name. The name is displayed in various user interfaces." }, "xdm:status": { "type": "string", @@ -54,22 +57,31 @@ "type": "string", "format": "uri", "title": "Offer Placement", - "description": "The reference to an offer placement instance. Offer Placements are used by Offer Activities to limit the Offer selection to those Offers that have a representation that complies with the OfferPlacement restrictions. The value is the URI (@id) of the OfferPlacement that is referenced. See Offer Placement schema https://ns.adobe.com/experience/offer-management/offer-placement" + "description": + "The reference to an offer placement instance. Offer Placements are used by Offer Activities to limit the Offer selection to those Offers that have a representation that complies with the OfferPlacement restrictions. The value is the URI (@id) of the OfferPlacement that is referenced. See Offer Placement schema https://ns.adobe.com/experience/offer-management/offer-placement" }, "xdm:filter": { "type": "string", "format": "uri", "title": "Offer Filter", - "description": "The reference to a filter that is applied to the inventory when a decisioning is made the context of this activity. The value is the URI (@id) of the OfferFilter that is referenced. See OfferFilter schema https://ns.adobe.com/experience/offer-management/offer-filter" + "description": + "The reference to a filter that is applied to the inventory when a decisioning is made the context of this activity. The value is the URI (@id) of the OfferFilter that is referenced. See OfferFilter schema https://ns.adobe.com/experience/offer-management/offer-filter" }, "xdm:fallback": { "type": "string", "format": "uri", "title": "Fallback Offer", - "description": "The reference to a fallback offer that is used when decisioning in the context of this activity does not qualify any of the offers specified in the fallback offer. The value is the URI (@id) of the FallbackOffer that is referenced. See FallbackOffer schema https://ns.adobe.com/experience/offer-management/fallback-offer" + "description": + "The reference to a fallback offer that is used when decisioning in the context of this activity does not qualify any of the offers specified in the fallback offer. The value is the URI (@id) of the FallbackOffer that is referenced. See FallbackOffer schema https://ns.adobe.com/experience/offer-management/fallback-offer" } }, - "required": ["xdm:name", "xdm:status", "xdm:placement", "xdm:filter", "xdm:fallback"] + "required": [ + "xdm:name", + "xdm:status", + "xdm:placement", + "xdm:filter", + "xdm:fallback" + ] } }, "allOf": [ diff --git a/extensions/adobe/experience/offer-management/offer-filter.schema.json b/extensions/adobe/experience/offer-management/offer-filter.schema.json index 77e8c354d..d1013c080 100644 --- a/extensions/adobe/experience/offer-management/offer-filter.schema.json +++ b/extensions/adobe/experience/offer-management/offer-filter.schema.json @@ -11,7 +11,8 @@ "meta:extensible": true, "type": "object", "title": "Offer Filter", - "description": "Filters are used to specify criteria for offer selection by topic or theme. The most common filter mechanism is by the tags that are associated with an offer. In general the Offer Filter selects a subset of Offers from the overall inventory, not based on the use case for the decisioning.", + "description": + "Filters are used to specify criteria for offer selection by topic or theme. The most common filter mechanism is by the tags that are associated with an offer. In general the Offer Filter selects a subset of Offers from the overall inventory, not based on the use case for the decisioning.", "definitions": { "offer-filter": { "properties": { @@ -19,7 +20,8 @@ "type": "string", "format": "uri", "title": "ID", - "description": "The unique identifier of the filter. 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." + "description": + "The unique identifier of the filter. 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." }, "xdm:name": { "type": "string", @@ -28,9 +30,12 @@ }, "xdm:value": { "type": "object", - "title": "Expression taking offer XDM instances (list of trees) as input", - "description": "Contains the condition that is used to select offers based on a combination of tags or, directly, using the @id of offers", - "$ref": "https://ns.adobe.com/experience/offer-management/filter-expression" + "title": + "Expression taking offer XDM instances (list of trees) as input", + "description": + "Contains the condition that is used to select offers based on a combination of tags or, directly, using the @id of offers", + "$ref": + "https://ns.adobe.com/experience/offer-management/filter-expression" } }, "required": ["xdm:name", "xdm:value"] diff --git a/extensions/adobe/experience/offer-management/offer-placement.schema.json b/extensions/adobe/experience/offer-management/offer-placement.schema.json index f19a00f9a..594d27cd1 100644 --- a/extensions/adobe/experience/offer-management/offer-placement.schema.json +++ b/extensions/adobe/experience/offer-management/offer-placement.schema.json @@ -11,7 +11,8 @@ "meta:extensible": true, "type": "object", "title": "Placement", - "description": "An Offer Placement describes a location or place in a personalized message. It is used to set technical constraints for content that the personalization offer supplies.", + "description": + "An Offer Placement describes a location or place in a personalized message. It is used to set technical constraints for content that the personalization offer supplies.", "definitions": { "offer-placement": { "properties": { @@ -19,7 +20,8 @@ "type": "string", "format": "uri", "title": "ID", - "description": "The unique identifier of the placement. 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." + "description": + "The unique identifier of the placement. 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." }, "xdm:name": { "type": "string", @@ -29,7 +31,8 @@ "xdm:description": { "type": "string", "title": "Description", - "description": "Offer placement description. It is used to convey human readable intentions in an application on how offers are used in the overall message delivery. That a certain space is a \"Banner\" in a web page is often conveyed via the description and not by a formal method." + "description": + "Offer placement description. It is used to convey human readable intentions in an application on how offers are used in the overall message delivery. That a certain space is a \"Banner\" in a web page is often conveyed via the description and not by a formal method." }, "xdm:channel": { "type": "string", @@ -39,9 +42,11 @@ "The Channel URI where the offer content is intended to be placed. The channel constraint is used to convey not only where the offer will be used but determine the content editor or validator that is used for the Offer's representation. See 'https://ns.adobe.com/xdm/channels/channel'" }, "xdm:contentType": { - "$ref": "https://ns.adobe.com/experience/offer-management/representation-content#/definitions/content-type", + "$ref": + "https://ns.adobe.com/experience/offer-management/representation-content#/definitions/content-type", "title": "Content Type", - "description": "A constraint for the content that can be shown in the place described by this placement. Content Type: image, html or plain text" + "description": + "A constraint for the content that can be shown in the place described by this placement. Content Type: image, html or plain text" } }, "required": ["xdm:name", "xdm:channel", "xdm:contentType"] diff --git a/extensions/adobe/experience/offer-management/offer-representation.example.1.json b/extensions/adobe/experience/offer-management/offer-representation.example.1.json index 195e85a3e..3bf767f4d 100644 --- a/extensions/adobe/experience/offer-management/offer-representation.example.1.json +++ b/extensions/adobe/experience/offer-management/offer-representation.example.1.json @@ -1,24 +1,42 @@ { "xdm:components": [ { - "@type": "https://ns.adobe.com/experience/offer-management/content-component-text", + "@type": + "https://ns.adobe.com/experience/offer-management/content-component-text", "dc:format": "text/template", - "dc:language": ["en", "en-AU", "en-CA", "en-GB", "en-IN", "en-IE", "en-MT", "en-NZ", "en-PH", "en-SG", "en-ZA"], - "xdm:text": "Dear Madam {{profile.person.lastName}}, the offer expires 12/6/2018" + "dc:language": [ + "en", + "en-AU", + "en-CA", + "en-GB", + "en-IN", + "en-IE", + "en-MT", + "en-NZ", + "en-PH", + "en-SG", + "en-ZA" + ], + "xdm:text": + "Dear Madam {{profile.person.lastName}}, the offer expires 12/6/2018" }, { - "@type": "https://ns.adobe.com/experience/offer-management/content-component-text", + "@type": + "https://ns.adobe.com/experience/offer-management/content-component-text", "dc:format": "text/template", "dc:language": ["en-US"], - "xdm:text": "Dear Madam {{profile.person.lastName}}, the offer expires 6/12/2018" - } + "xdm:text": + "Dear Madam {{profile.person.lastName}}, the offer expires 6/12/2018" + }, { - "@type": "https://ns.adobe.com/experience/offer-management/content-component-text", + "@type": + "https://ns.adobe.com/experience/offer-management/content-component-text", "dc:format": "text/template", "dc:language": ["es"], - "xdm:text": "Estimada señora {{profile.person.lastName}}: La oferta vence el 12/6/2018" + "xdm:text": + "Estimada señora {{profile.person.lastName}}: La oferta vence el 12/6/2018" } ], "xdm:placement": "uri:xcore:placement-0001", "xdm:channel": "https://ns.adobe.com/xdm/channels/email" -} \ No newline at end of file +} diff --git a/extensions/adobe/experience/offer-management/offer-representation.example.2.json b/extensions/adobe/experience/offer-management/offer-representation.example.2.json index c70c16247..b64f451eb 100644 --- a/extensions/adobe/experience/offer-management/offer-representation.example.2.json +++ b/extensions/adobe/experience/offer-management/offer-representation.example.2.json @@ -1,14 +1,16 @@ { "xdm:components": [ { - "@type": "https://ns.adobe.com/experience/offer-management/content-component-imagelink", + "@type": + "https://ns.adobe.com/experience/offer-management/content-component-imagelink", "dc:format": "image/png", "dc:language": ["en"], "repo:name": "holidayOffer.2018.png", "repo:id": "urn:aaid:sc:VA7:6dc33479-13ca-4b19-b25d-c805eff8a69e", - "repo:resolveURL": "https://platform-cs-stage.adobe.io/content/directory/resolve?asset_id="urn:aaid:sc:VA7:6dc33479-13ca-4b19-b25d-c805eff8a69e"", + "repo:resolveURL": + "https://platform-cs-stage.adobe.io/content/directory/resolve?asset_id="urn:aaid:sc:VA7:6dc33479-13ca-4b19-b25d-c805eff8a69e"" } ], "xdm:placement": "uri:xcore:placement-0001", "xdm:channel": "https://ns.adobe.com/xdm/channels/email" -} \ No newline at end of file +} diff --git a/extensions/adobe/experience/offer-management/offer-representation.example.3.json b/extensions/adobe/experience/offer-management/offer-representation.example.3.json index ab90eae58..c2a7d51fd 100644 --- a/extensions/adobe/experience/offer-management/offer-representation.example.3.json +++ b/extensions/adobe/experience/offer-management/offer-representation.example.3.json @@ -1,14 +1,16 @@ { "xdm:components": [ { - "@type": "https://ns.adobe.com/experience/offer-management/content-component-html", + "@type": + "https://ns.adobe.com/experience/offer-management/content-component-html", "dc:format": "text/html", "dc:language": ["de"], "repo:name": "widget_quickbooking.html", "repo:id": "urn:aaid:sc:NLD2:0567c1d6-4fdc-4541-b736-f62934fcb5fc", - "repo:resolveURL": "https://platform-cs-stage.adobe.io/content/directory/resolve?asset_id="urn:aaid:sc:NLD2:0567c1d6-4fdc-4541-b736-f62934fcb5fc"", + "repo:resolveURL": + "https://platform-cs-stage.adobe.io/content/directory/resolve?asset_id="urn:aaid:sc:NLD2:0567c1d6-4fdc-4541-b736-f62934fcb5fc"" } ], "xdm:placement": "uri:xcore:placement-0001", "xdm:channel": "https://ns.adobe.com/xdm/channels/email" -} \ No newline at end of file +} diff --git a/extensions/adobe/experience/offer-management/offer-representation.schema.json b/extensions/adobe/experience/offer-management/offer-representation.schema.json index 685e8d211..13f7eb408 100644 --- a/extensions/adobe/experience/offer-management/offer-representation.schema.json +++ b/extensions/adobe/experience/offer-management/offer-representation.schema.json @@ -18,7 +18,8 @@ "properties": { "xdm:components": { "type": "array", - "description": "The content components of the Offer Representation, including all their language variants. Specific components are found by 'dx:format', 'dc:subject' and 'dc:language' or a combination thereof. This metadata is used to locate or represent the content that is associated with an offer and integrate it according to the placement contract.", + "description": + "The content components of the Offer Representation, including all their language variants. Specific components are found by 'dx:format', 'dc:subject' and 'dc:language' or a combination thereof. This metadata is used to locate or represent the content that is associated with an offer and integrate it according to the placement contract.", "items": { "$ref": "#/definitions/content-component" } @@ -27,20 +28,18 @@ "type": "string", "format": "uri", "title": "Channel", - "description": "The channel constraint is used to convey not only where the offer will be used but determine the content editor or validator that is used for the Offer's representation. The value is a valid Channel URI. See 'https://ns.adobe.com/xdm/channels/channel'" + "description": + "The channel constraint is used to convey not only where the offer will be used but determine the content editor or validator that is used for the Offer's representation. The value is a valid Channel URI. See 'https://ns.adobe.com/xdm/channels/channel'" }, "xdm:placement": { "type": "string", "format": "uri", "title": "Placement", - "description": "Placement to comply with. The value is the URI (@id) of the OfferPlacement that is referenced. See OfferPlacement schema https://ns.adobe.com/experience/offer-management/offer-placement" + "description": + "Placement to comply with. The value is the URI (@id) of the OfferPlacement that is referenced. See OfferPlacement schema https://ns.adobe.com/experience/offer-management/offer-placement" } }, - "required": [ - "xdm:components", - "xdm:channel", - "xdm:placement" - ] + "required": ["xdm:components", "xdm:channel", "xdm:placement"] }, "content-component-type": { "type": "string", @@ -53,9 +52,12 @@ "https://ns.adobe.com/experience/offer-management/content-component-imagelink" ], "meta:enum": { - "https://ns.adobe.com/experience/offer-management/content-component-text": "Text", - "https://ns.adobe.com/experience/offer-management/content-component-html": "HTML", - "https://ns.adobe.com/experience/offer-management/content-component-imagelink": "Image Link" + "https://ns.adobe.com/experience/offer-management/content-component-text": + "Text", + "https://ns.adobe.com/experience/offer-management/content-component-html": + "HTML", + "https://ns.adobe.com/experience/offer-management/content-component-imagelink": + "Image Link" } }, "content-component": { @@ -65,7 +67,7 @@ "description": "Content components are the fragments associated with the a particular offer representation. Those fragments are used to compose the end-user experience. The content resource has optional HAL links to the file resource.", "meta:extends": [ - "https://ns.adobe.com/xdm/external/hal/resource#/definitions/hal", + "https://ns.adobe.com/xdm/external/hal/resource#/definitions/hal" ], "properties": { "@type": { @@ -96,7 +98,7 @@ "repo:name": { "type": "string", "description": - "Some hint about where to locate the repository that stores the external asset by the \"repo:id\".", + "Some hint about where to locate the repository that stores the external asset by the \"repo:id\"." }, "repo:id": { "type": "string", @@ -104,7 +106,9 @@ "meta:usereditable": false, "description": "An optional unique identifier to reference the asset in a content repository. When Platform APIs are used to retrieve the representation the client can expect an addtional propery \"repo:resolveUrl\" to retrieve the asset.", - "examples": ["urn:aaid:sc:US:6dc33479-13ca-4b19-b25d-c805eff8a69e"] + "examples": [ + "urn:aaid:sc:US:6dc33479-13ca-4b19-b25d-c805eff8a69e" + ] }, "repo:resolveURL": { "type": "string", @@ -113,10 +117,12 @@ "meta:usereditable": false, "description": "An optional unique resource locator to read the asset in a content repository. This will make it easier to obtain the asset whithout the client understanding where the asset is manages and what APIs to call. This is similar to a HAL link but the semantic is simpler and more pursposeful.", - "examples": ["https://plaftform.adobe.io/resolveByPath?path="/mycorp/content/projectx/fragment/prod/herobanners/banner14.html3""] - }, + "examples": [ + "https://plaftform.adobe.io/resolveByPath?path="/mycorp/content/projectx/fragment/prod/herobanners/banner14.html3"" + ] + } }, - "required": ["@type","dc:format"] + "required": ["@type", "dc:format"] } ] } @@ -127,4 +133,3 @@ } ] } - diff --git a/extensions/adobe/experience/offer-management/offer.schema.json b/extensions/adobe/experience/offer-management/offer.schema.json index cebcbf025..94279c145 100644 --- a/extensions/adobe/experience/offer-management/offer.schema.json +++ b/extensions/adobe/experience/offer-management/offer.schema.json @@ -11,7 +11,8 @@ "meta:extensible": true, "type": "object", "title": "Offer", - "description": "This is the base concept for offers that are used for personalization and those that serve as fallback choices when none of offers for personalization qualify at within the given context.", + "description": + "This is the base concept for offers that are used for personalization and those that serve as fallback choices when none of offers for personalization qualify at within the given context.", "definitions": { "offer": { "properties": { @@ -19,24 +20,21 @@ "type": "string", "format": "uri", "title": "ID", - "description": "The unique identifier of the offer. It must be unique within a repository container for objects that are not the same, otherwise it is interpreted as referring to the same object." + "description": + "The unique identifier of the offer. It must be unique within a repository container for objects that are not the same, otherwise it is interpreted as referring to the same object." }, "xdm:name": { "type": "string", "title": "Name", - "description": "The Offer name. A human readable string to find one or more offers." + "description": + "The Offer name. A human readable string to find one or more offers." }, "xdm:status": { "type": "string", "title": "Status", - "description": "Offer Status allows user workflows to be conducted with offers. The status may affect where an offer is visible or considered relevant. Status changes are driven by the clients or services that use offers.", - "enum": [ - "draft", - "pending", - "rejected", - "approved", - "archived" - ], + "description": + "Offer Status allows user workflows to be conducted with offers. The status may affect where an offer is visible or considered relevant. Status changes are driven by the clients or services that use offers.", + "enum": ["draft", "pending", "rejected", "approved", "archived"], "meta:enum": { "draft": "Draft", "pending": "Pending", @@ -48,20 +46,24 @@ "xdm:tags": { "type": "array", "title": "Tags", - "description": "The set of tags associated with this offer. The tags are used in OfferFilter expressions to constrain the overal offer inventory to a topical sub set (category).", + "description": + "The set of tags associated with this offer. The tags are used in OfferFilter expressions to constrain the overal offer inventory to a topical sub set (category).", "items": { "type": "string", "format": "uri", - "description": "A reference to a Tag object. The value is the URI (@id) of the Tag that is referenced. See Tag schema https://ns.adobe.com/experience/offer-management/tag" + "description": + "A reference to a Tag object. The value is the URI (@id) of the Tag that is referenced. See Tag schema https://ns.adobe.com/experience/offer-management/tag" } }, "xdm:representations": { "type": "array", "items": { - "$ref": "https://ns.adobe.com/experience/offer-management/offer-representation" + "$ref": + "https://ns.adobe.com/experience/offer-management/offer-representation" }, "title": "Representations", - "description": "Offer representations for different content variants. A single offer can have multiple contents variants. An Offer Representation is the object that connects Offers to Content. Content is information that is directed towards an audience for consumption in a (digital) experience. Content is delivered through channels (or a particular medium). " + "description": + "Offer representations for different content variants. A single offer can have multiple contents variants. An Offer Representation is the object that connects Offers to Content. Content is information that is directed towards an audience for consumption in a (digital) experience. Content is delivered through channels (or a particular medium). " }, "xdm:customMetadata": { "type": "object", diff --git a/extensions/adobe/experience/offer-management/personalized-offer.schema.json b/extensions/adobe/experience/offer-management/personalized-offer.schema.json index 44618c229..86e8a32af 100644 --- a/extensions/adobe/experience/offer-management/personalized-offer.schema.json +++ b/extensions/adobe/experience/offer-management/personalized-offer.schema.json @@ -12,24 +12,30 @@ "meta:extensible": true, "type": "object", "title": "Adobe Experience Cloud Personalized Offer", - "description": "A Personalized Offer is the conceptual entity that is chosen during the decisioning process. The objective for decisioning is to take a large inventory of content items and apply numerous contraint rules to that inventory to first narrow it down and then rank the qualifying options. The outcome modifies the overall experience to accommodate specific individuals, sometimes tied to groups or segments of individuals.", + "description": + "A Personalized Offer is the conceptual entity that is chosen during the decisioning process. The objective for decisioning is to take a large inventory of content items and apply numerous contraint rules to that inventory to first narrow it down and then rank the qualifying options. The outcome modifies the overall experience to accommodate specific individuals, sometimes tied to groups or segments of individuals.", "definitions": { "personalized-offer": { "properties": { "xdm:rank": { "$ref": "https://ns.adobe.com/experience/offer-management/rank", "title": "Rank", - "description": "Offer Rank (priority). Defines what is considered the \"best offer\" given the context of the decision. Among all the Offers that have not been disqualified due other constraints, the ranking will decide top (or top N) offers to be proposed." + "description": + "Offer Rank (priority). Defines what is considered the \"best offer\" given the context of the decision. Among all the Offers that have not been disqualified due other constraints, the ranking will decide top (or top N) offers to be proposed." }, "xdm:selectionConstraint": { - "$ref": "https://ns.adobe.com/experience/offer-management/selection-constraint", + "$ref": + "https://ns.adobe.com/experience/offer-management/selection-constraint", "title": "Selection Constraints", - "description": "Selection constraints define all rules that decide if an offer disqualifies from the set of eligible offers at this moment, for this context and/or for this profile identity. For example, Offers tyically have a start and end date before and after they are not eligible for consideration anymore" + "description": + "Selection constraints define all rules that decide if an offer disqualifies from the set of eligible offers at this moment, for this context and/or for this profile identity. For example, Offers tyically have a start and end date before and after they are not eligible for consideration anymore" }, "xdm:cappingConstraint": { - "$ref": "https://ns.adobe.com/experience/offer-management/capping-constraint", + "$ref": + "https://ns.adobe.com/experience/offer-management/capping-constraint", "title": "Capping Constaints", - "description": "Capping constraint define additional rules based on prior offer proposition, either across all audiences or for a partcular profile identity." + "description": + "Capping constraint define additional rules based on prior offer proposition, either across all audiences or for a partcular profile identity." } }, "required": ["xdm:rank", "xdm:selectionConstraint"] diff --git a/extensions/adobe/experience/offer-management/primary-key.descriptors.json b/extensions/adobe/experience/offer-management/primary-key.descriptors.json index bb1551e07..b08c5fb7d 100644 --- a/extensions/adobe/experience/offer-management/primary-key.descriptors.json +++ b/extensions/adobe/experience/offer-management/primary-key.descriptors.json @@ -6,42 +6,52 @@ "of the License at https://creativecommons.org/licenses/by/4.0/" ], "title": "Primary key descriptors for the Offer Management Domain", - "description": "Contains descriptors to define the properties holding the primary key (entity identifiers) in the Offer Management domain", + "description": + "Contains descriptors to define the properties holding the primary key (entity identifiers) in the Offer Management domain", "meta:descriptors": [ { "@type": "xdm:primaryKey", - "@id": "https://ns.adobe.com/experience/offer-management/eligibility-rule/id", - "xdm:sourceSchema": "https://ns.adobe.com/experience/offer-management/eligibility-rule", + "@id": + "https://ns.adobe.com/experience/offer-management/eligibility-rule/id", + "xdm:sourceSchema": + "https://ns.adobe.com/experience/offer-management/eligibility-rule", "xdm:sourceProperty": "@id" }, { "@type": "xdm:primaryKey", "@id": "https://ns.adobe.com/experience/offer-management/offer/id", - "xdm:sourceSchema": "https://ns.adobe.com/experience/offer-management/offer", + "xdm:sourceSchema": + "https://ns.adobe.com/experience/offer-management/offer", "xdm:sourceProperty": "@id" }, { "@type": "xdm:primaryKey", - "@id": "https://ns.adobe.com/experience/offer-management/offer-activity/id", - "xdm:sourceSchema": "https://ns.adobe.com/experience/offer-management/offer-activity", + "@id": + "https://ns.adobe.com/experience/offer-management/offer-activity/id", + "xdm:sourceSchema": + "https://ns.adobe.com/experience/offer-management/offer-activity", "xdm:sourceProperty": "@id" }, { "@type": "xdm:primaryKey", "@id": "https://ns.adobe.com/experience/offer-management/offer-filter/id", - "xdm:sourceSchema": "https://ns.adobe.com/experience/offer-management/offer-filter", + "xdm:sourceSchema": + "https://ns.adobe.com/experience/offer-management/offer-filter", "xdm:sourceProperty": "@id" }, { "@type": "xdm:primaryKey", - "@id": "https://ns.adobe.com/experience/offer-management/offer-placement/id", - "xdm:sourceSchema": "https://ns.adobe.com/experience/offer-management/offer-placement", + "@id": + "https://ns.adobe.com/experience/offer-management/offer-placement/id", + "xdm:sourceSchema": + "https://ns.adobe.com/experience/offer-management/offer-placement", "xdm:sourceProperty": "@id" }, { "@type": "xdm:primaryKey", "@id": "https://ns.adobe.com/experience/offer-management/tag/id", - "xdm:sourceSchema": "https://ns.adobe.com/experience/offer-management/tag", + "xdm:sourceSchema": + "https://ns.adobe.com/experience/offer-management/tag", "xdm:sourceProperty": "@id" } ] diff --git a/extensions/adobe/experience/offer-management/rank.schema.json b/extensions/adobe/experience/offer-management/rank.schema.json index c25a60403..6fbf6ed76 100644 --- a/extensions/adobe/experience/offer-management/rank.schema.json +++ b/extensions/adobe/experience/offer-management/rank.schema.json @@ -11,7 +11,8 @@ "meta:extensible": true, "type": "object", "title": "Offer Rank", - "description": "Offer rank (priority) represents the default order in which one offer is selected over another in case there is no profile specific ranking order known. If after comparing the priority value two or more offers are still tied one is chosen at random and used in the offer proposition.", + "description": + "Offer rank (priority) represents the default order in which one offer is selected over another in case there is no profile specific ranking order known. If after comparing the priority value two or more offers are still tied one is chosen at random and used in the offer proposition.", "definitions": { "rank": { "properties": { diff --git a/extensions/adobe/experience/offer-management/relationship.descriptors.json b/extensions/adobe/experience/offer-management/relationship.descriptors.json index 5d42f5ad2..325ec736e 100644 --- a/extensions/adobe/experience/offer-management/relationship.descriptors.json +++ b/extensions/adobe/experience/offer-management/relationship.descriptors.json @@ -6,54 +6,73 @@ "of the License at https://creativecommons.org/licenses/by/4.0/" ], "title": "Relationship descriptors for Offer Management Domain", - "description": "Contains descriptors to define all the relationships between entities in the Offer Management domain", + "description": + "Contains descriptors to define all the relationships between entities in the Offer Management domain", "meta:descriptors": [ { - "@id": "https://ns.adobe.com/experience/offer-management/relationships/offer-activity/restricts-to-placement", + "@id": + "https://ns.adobe.com/experience/offer-management/relationships/offer-activity/restricts-to-placement", "@type": "xdm:oneToMany", - "xdm:sourceSchema": "https://ns.adobe.com/experience/offer-management/offer-activity", + "xdm:sourceSchema": + "https://ns.adobe.com/experience/offer-management/offer-activity", "xdm:sourceProperty": "xdm:placement", - "xdm:destinationSchema": "https://ns.adobe.com/experience/offer-management/offer-representation", + "xdm:destinationSchema": + "https://ns.adobe.com/experience/offer-management/offer-representation", "xdm:destinationProperty": "@id" }, { - "@id": "https://ns.adobe.com/experience/offer-management/relationships/offer-activity/uses-filter", + "@id": + "https://ns.adobe.com/experience/offer-management/relationships/offer-activity/uses-filter", "@type": "xdm:oneToMany", - "xdm:sourceSchema": "https://ns.adobe.com/experience/offer-management/offer-activity", + "xdm:sourceSchema": + "https://ns.adobe.com/experience/offer-management/offer-activity", "xdm:sourceProperty": "xdm:filter", - "xdm:destinationSchema": "https://ns.adobe.com/experience/offer-management/offer-filter", + "xdm:destinationSchema": + "https://ns.adobe.com/experience/offer-management/offer-filter", "xdm:destinationProperty": "@id" }, { - "@id": "https://ns.adobe.com/experience/offer-management/relationships/offer-activity/uses-fallback-offer", + "@id": + "https://ns.adobe.com/experience/offer-management/relationships/offer-activity/uses-fallback-offer", "@type": "xdm:oneToMany", - "xdm:sourceSchema": "https://ns.adobe.com/experience/offer-management/offer-activity", + "xdm:sourceSchema": + "https://ns.adobe.com/experience/offer-management/offer-activity", "xdm:sourceProperty": "xdm:fallback", - "xdm:destinationSchema": "https://ns.adobe.com/experience/offer-management/fallback-offer", + "xdm:destinationSchema": + "https://ns.adobe.com/experience/offer-management/fallback-offer", "xdm:destinationProperty": "@id" }, { - "@id": "https://ns.adobe.com/experience/offer-management/relationships/offer/complies-with-placement", + "@id": + "https://ns.adobe.com/experience/offer-management/relationships/offer/complies-with-placement", "@type": "xdm:manyToMany", - "xdm:sourceSchema": "https://ns.adobe.com/experience/offer-management/offer", + "xdm:sourceSchema": + "https://ns.adobe.com/experience/offer-management/offer", "xdm:sourceProperty": "xdm:representations[*].xdm:placement", - "xdm:destinationSchema": "https://ns.adobe.com/experience/offer-management/offer-placement", + "xdm:destinationSchema": + "https://ns.adobe.com/experience/offer-management/offer-placement", "xdm:destinationProperty": "@id" }, { - "@id": "https://ns.adobe.com/experience/offer-management/relationships/offer/uses-tags", + "@id": + "https://ns.adobe.com/experience/offer-management/relationships/offer/uses-tags", "@type": "xdm:manyToMany", - "xdm:sourceSchema": "https://ns.adobe.com/experience/offer-management/offer", + "xdm:sourceSchema": + "https://ns.adobe.com/experience/offer-management/offer", "xdm:sourceProperty": "xdm:tags[*]", - "xdm:destinationSchema": "https://ns.adobe.com/experience/offer-management/tag", + "xdm:destinationSchema": + "https://ns.adobe.com/experience/offer-management/tag", "xdm:destinationProperty": "@id" }, { - "@id": "https://ns.adobe.com/experience/offer-management/relationships/personalized-offer/uses-eligibility-rule", + "@id": + "https://ns.adobe.com/experience/offer-management/relationships/personalized-offer/uses-eligibility-rule", "@type": "xdm:oneToMany", - "xdm:sourceSchema": "https://ns.adobe.com/experience/offer-management/personalized-offer", + "xdm:sourceSchema": + "https://ns.adobe.com/experience/offer-management/personalized-offer", "xdm:sourceProperty": "xdm:selectionConstraint.xdm:eligibilityRule", - "xdm:destinationSchema": "https://ns.adobe.com/experience/offer-management/eligibility-rule", + "xdm:destinationSchema": + "https://ns.adobe.com/experience/offer-management/eligibility-rule", "xdm:destinationProperty": "@id" } ] diff --git a/extensions/adobe/experience/offer-management/selection-constraint.schema.json b/extensions/adobe/experience/offer-management/selection-constraint.schema.json index e3a835f8f..c7fed3967 100644 --- a/extensions/adobe/experience/offer-management/selection-constraint.schema.json +++ b/extensions/adobe/experience/offer-management/selection-constraint.schema.json @@ -12,7 +12,8 @@ "meta:extensible": true, "type": "object", "title": "Offer Selection Constraint", - "description": "Offer Selection Constraint specify conditions that have to be met in order for an offer to be included in weighing the best offer. Those constraints can have many aspects, ranging from date constraints over rules applied to the user profile fields to rules checked against contextual data available at decision time.", + "description": + "Offer Selection Constraint specify conditions that have to be met in order for an offer to be included in weighing the best offer. Those constraints can have many aspects, ranging from date constraints over rules applied to the user profile fields to rules checked against contextual data available at decision time.", "definitions": { "selection-constraint": { "properties": { @@ -20,19 +21,22 @@ "type": "string", "format": "date-time", "title": "Start Date", - "description": "Offer Start Date. Offers that have not reached their start date are not yet considered eligible in the decisioning." + "description": + "Offer Start Date. Offers that have not reached their start date are not yet considered eligible in the decisioning." }, "xdm:endDate": { "type": "string", "format": "date-time", "title": "End Date", - "description": "Offer End Date. Offers that have passed their end date are no longer considered eligible in the decisioning process." + "description": + "Offer End Date. Offers that have passed their end date are no longer considered eligible in the decisioning process." }, "xdm:eligibilityRule": { "type": "string", "format": "uri", "title": "Eligibility Rule", - "description": "The reference to an eligibility rule that tests a condition using the profile and/or other contextual XDM instances. The value is the URI (@id) of the eligibility rule that is referenced. See EligibilityRule schema https://ns.adobe.com/experience/offer-management/eligibility-rule" + "description": + "The reference to an eligibility rule that tests a condition using the profile and/or other contextual XDM instances. The value is the URI (@id) of the eligibility rule that is referenced. See EligibilityRule schema https://ns.adobe.com/experience/offer-management/eligibility-rule" } }, "required": ["xdm:startDate", "xdm:endDate"] diff --git a/extensions/adobe/experience/offer-management/tag.schema.json b/extensions/adobe/experience/offer-management/tag.schema.json index e02ff0971..3982c4079 100644 --- a/extensions/adobe/experience/offer-management/tag.schema.json +++ b/extensions/adobe/experience/offer-management/tag.schema.json @@ -11,7 +11,8 @@ "meta:extensible": true, "type": "object", "title": "Tag", - "description": "A Tag is a keyword or term assigned to a piece of information. Tags in this domain are reusable, searchable and identifiable keywords, i.e. their identity gets attached to other objects not simply the string that is used for human consumption. Therefore the same tag could have multiple, human readable representations. Tags can also be classified or arranged in an order that conveys additional semantics. This semantics is, however, not specified in this domain.", + "description": + "A Tag is a keyword or term assigned to a piece of information. Tags in this domain are reusable, searchable and identifiable keywords, i.e. their identity gets attached to other objects not simply the string that is used for human consumption. Therefore the same tag could have multiple, human readable representations. Tags can also be classified or arranged in an order that conveys additional semantics. This semantics is, however, not specified in this domain.", "definitions": { "tag": { "properties": { @@ -19,12 +20,14 @@ "type": "string", "format": "uri", "title": "ID", - "description": "The unique identifier of the Tag. 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." + "description": + "The unique identifier of the Tag. 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." }, "xdm:name": { "type": "string", "title": "Tag Name", - "description": "The Tag's external human-readable representation to the clients." + "description": + "The Tag's external human-readable representation to the clients." } }, "required": ["xdm:name"] diff --git a/extensions/adobe/experience/profile/experienceevent.schema.json b/extensions/adobe/experience/profile/experienceevent.schema.json index 4bfe2d5b2..7a03eace6 100644 --- a/extensions/adobe/experience/profile/experienceevent.schema.json +++ b/extensions/adobe/experience/profile/experienceevent.schema.json @@ -26,7 +26,7 @@ }, "allOf": [ { - "$ref":"#/definitions/experienceevent" + "$ref": "#/definitions/experienceevent" } ], "meta:status": "experimental" diff --git a/extensions/adobe/experience/target/activity.schema.json b/extensions/adobe/experience/target/activity.schema.json index 69db69062..f48282fd0 100644 --- a/extensions/adobe/experience/target/activity.schema.json +++ b/extensions/adobe/experience/target/activity.schema.json @@ -9,19 +9,22 @@ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Adobe Target Activity", "type": "object", - "description": "An Adobe Target Activity compares two or more experiences against the success metrics that are specified for choosing the experience that is most likely to provide the optimal results", + "description": + "An Adobe Target Activity compares two or more experiences against the success metrics that are specified for choosing the experience that is most likely to provide the optimal results", "definitions": { "activity": { "properties": { "xdm:activityID": { "title": "Activity Identifier", "type": "string", - "description": "Unique identity of an Adobe Target Activity. This identifier can be used in activity APIs offered by Adobe Target." + "description": + "Unique identity of an Adobe Target Activity. This identifier can be used in activity APIs offered by Adobe Target." }, "xdm:version": { "title": "Activity Version", "type": "string", - "description": "Version of the activity that processed this given experience event." + "description": + "Version of the activity that processed this given experience event." }, "https://ns.adobe.com/experience/target/activity/preview": { "$ref": "https://ns.adobe.com/experience/target/activity/preview" @@ -29,14 +32,12 @@ "xdm:activityEvents": { "type": "array", "items": { - "$ref": "https://ns.adobe.com/experience/target/activity/activityevent" + "$ref": + "https://ns.adobe.com/experience/target/activity/activityevent" } } }, - "required": [ - "activityID", - "version" - ] + "required": ["activityID", "version"] } }, "allOf": [ diff --git a/extensions/adobe/experience/target/experienceevent.schema.json b/extensions/adobe/experience/target/experienceevent.schema.json index 029cf96ae..a3061440e 100644 --- a/extensions/adobe/experience/target/experienceevent.schema.json +++ b/extensions/adobe/experience/target/experienceevent.schema.json @@ -9,9 +9,7 @@ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Adobe Target ExperienceEvent Extension", "type": "object", - "meta:extends": [ - "https://ns.adobe.com/xdm/context/experienceevent" - ], + "meta:extends": ["https://ns.adobe.com/xdm/context/experienceevent"], "description": "Adobe Target extension to ExperienceEvent.", "definitions": { "experienceevent": { @@ -50,7 +48,8 @@ "https://ns.adobe.com/experience/target/environmentID": { "title": "Environment Identifier", "type": "string", - "description": "Identifier of the environment on which the event was processed." + "description": + "Identifier of the environment on which the event was processed." }, "https://ns.adobe.com/experience/target/activities": { "title": "Activities", diff --git a/package.json b/package.json index 7c9d965b1..25ad95298 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "shx mkdir -p docs/reference && jsonschema2md -o docs/reference -d schemas --link-abstract abstract.md --link-extensible extensions.md --link-status status.md --link-id id.md --link-custom extensions.md --link-additional extensions.md", "test": "mocha", "lint": - "prettier --write *.json RELEASING.md CHANGELOG.md CONTRIBUTING.md README.md docs/*.md schemas/*/**/*.md schemas/*/**/*.json extensions/*/**/*.json && git diff --exit-code", + "prettier --write *.json RELEASING.md CHANGELOG.md CONTRIBUTING.md README.md docs/*.md schemas/*/**/*.md schemas/*/**/*.json extensions/*/**/*.json extensions/*/*/**/*.json && git diff --exit-code", "lint-quick": "pretty-quick", "package": "npm run markdown && curl -o \"./node_modules/markdown-importer-0.0.4-jar-with-dependencies.jar\" -C - https://artifactory.corp.adobe.com/artifactory/maven-markdown-tools-release/io/adobe/udp/markdown-importer/0.0.4/markdown-importer-0.0.4-jar-with-dependencies.jar && java -jar ./node_modules/markdown-importer-0.0.4-jar-with-dependencies.jar markdown2aem.yaml",