Skip to content

Commit

Permalink
Localize new schema
Browse files Browse the repository at this point in the history
  • Loading branch information
bisin-adobe committed May 27, 2022
1 parent 727a1a4 commit 63c66b6
Show file tree
Hide file tree
Showing 55 changed files with 1,125 additions and 284 deletions.
481 changes: 451 additions & 30 deletions __localization__/en-US.json

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions components/classes/b2b/account-person.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@
"type": "array",
"items": {
"type": "string"
}
},
"meta:titleId": "account-person##xdm:personRoles##title##98611",
"meta:descriptionId": "account-person##xdm:personRoles##description##67421"
},
"xdm:isDirect": {
"title": "Direct Flag",
Expand Down Expand Up @@ -129,7 +131,9 @@
"xdm:relationshipSource": {
"title": "Relationship Source",
"description": "Source of Account Person relation.",
"type": "string"
"type": "string",
"meta:titleId": "account-person##xdm:relationshipSource##title##40031",
"meta:descriptionId": "account-person##xdm:relationshipSource##description##88321"
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion components/classes/segmentdefinition.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@
"type": "array",
"items": {
"type": "string"
}
},
"meta:titleId": "segmentdefinition##xdm:labels##title##92671",
"meta:descriptionId": "segmentdefinition##xdm:labels##description##26331"
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion components/classes/summary_metrics.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@
}
],
"meta:status": "experimental",
"meta:createdDate": "2022-03-28"
"meta:createdDate": "2022-03-28",
"meta:titleId": "summarymetrics##title##88001",
"meta:descriptionId": "summarymetrics##description##15321"
}
39 changes: 29 additions & 10 deletions components/datatypes/browserdetails.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,50 +132,69 @@
"xdm:brand": {
"title": "Brand",
"type": "string",
"description": "The user-agent's commercial name (e.g., cURL, Edge)."
"description": "The user-agent's commercial name (e.g., cURL, Edge).",
"meta:titleId": "browserdetails##xdm:brand##title##30831",
"meta:descriptionId": "browserdetails##xdm:brand##description##7011"
},
"xdm:version": {
"title": "Significant version",
"type": "string",
"description": "The marketing version which includes distinguishable web-exposed features (e.g., 72, 3, or 12.1), corresponding to the user-agent."
"description": "The marketing version which includes distinguishable web-exposed features (e.g., 72, 3, or 12.1), corresponding to the user-agent.",
"meta:titleId": "browserdetails##xdm:version##title##28851",
"meta:descriptionId": "browserdetails##xdm:version##description##4681"
}
}
},
"meta:descriptionId": "browserdetails##items##description##47111"
}
},
"xdm:mobile": {
"title": "Mobileness",
"type": "boolean",
"description": "A boolean indicating if the user agent's device is a mobile device."
"description": "A boolean indicating if the user agent's device is a mobile device.",
"meta:titleId": "browserdetails##xdm:mobile##title##7731",
"meta:descriptionId": "browserdetails##xdm:mobile##description##63751"
},
"xdm:architecture": {
"title": "Platform architecture",
"type": "string",
"description": "The user agent's underlying CPU architecture (e.g., ARM, or x86)."
"description": "The user agent's underlying CPU architecture (e.g., ARM, or x86).",
"meta:titleId": "browserdetails##xdm:architecture##title##43501",
"meta:descriptionId": "browserdetails##xdm:architecture##description##50311"
},
"xdm:bitness": {
"title": "Platform bitness",
"type": "string",
"description": "The user agent's underlying CPU architecture bitness (e.g., 32 or 64)."
"description": "The user agent's underlying CPU architecture bitness (e.g., 32 or 64).",
"meta:titleId": "browserdetails##xdm:bitness##title##70511",
"meta:descriptionId": "browserdetails##xdm:bitness##description##39691"
},
"xdm:model": {
"title": "Model",
"type": "string",
"description": "The user agent's device model (e.g., Pixel 2 XL)."
"description": "The user agent's device model (e.g., Pixel 2 XL).",
"meta:titleId": "browserdetails##xdm:model##title##34541",
"meta:descriptionId": "browserdetails##xdm:model##description##70991"
},
"xdm:platform": {
"title": "Platform",
"type": "string",
"description": "The user agent's operating system's commercial name."
"description": "The user agent's operating system's commercial name.",
"meta:titleId": "browserdetails##xdm:platform##title##38421",
"meta:descriptionId": "browserdetails##xdm:platform##description##80271"
},
"xdm:platformVersion": {
"title": "Platform version",
"type": "string",
"description": "The user agent's operating system's version (e.g., NT 6.0, 15, or 17G)."
"description": "The user agent's operating system's version (e.g., NT 6.0, 15, or 17G).",
"meta:titleId": "browserdetails##xdm:platformVersion##title##67441",
"meta:descriptionId": "browserdetails##xdm:platformVersion##description##3431"
},
"xdm:wow64": {
"title": "WoW64-ness",
"type": "boolean",
"description": "A boolean indicating if the user agent's binary is running in 32-bit mode on 64-bit Windows."
"description": "A boolean indicating if the user agent's binary is running in 32-bit mode on 64-bit Windows.",
"meta:titleId": "browserdetails##xdm:wow64##title##14641",
"meta:descriptionId": "browserdetails##xdm:wow64##description##52501"
}
}
}
Expand Down
12 changes: 9 additions & 3 deletions components/datatypes/cart.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@
"xdm:cartID": {
"title": "Cart ID",
"type": "string",
"description": "Unique identifier assigned by the seller for the cart."
"description": "Unique identifier assigned by the seller for the cart.",
"meta:titleId": "cart##xdm:cartID##title##16131",
"meta:descriptionId": "cart##xdm:cartID##description##66661"
},
"xdm:cartSource": {
"title": "Cart Source",
"type": "string",
"description": "Where one or more products was added to the cart from."
"description": "Where one or more products was added to the cart from.",
"meta:titleId": "cart##xdm:cartSource##title##55321",
"meta:descriptionId": "cart##xdm:cartSource##description##1551"
}
}
}
Expand All @@ -32,5 +36,7 @@
}
],
"meta:status": "experimental",
"meta:createdDate": "2022-03-02"
"meta:createdDate": "2022-03-02",
"meta:titleId": "cart##title##89681",
"meta:descriptionId": "cart##description##25591"
}
23 changes: 17 additions & 6 deletions components/datatypes/consent/consent-preferences.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@
"items": {
"type": "string",
"maxLength": 25
}
},
"meta:titleId": "consents-and-preferences##xdm:topics##title##18231",
"meta:descriptionId": "consents-and-preferences##xdm:topics##description##91571"
},
"xdm:subscribers": {
"title": "Subscribers",
Expand Down Expand Up @@ -146,7 +148,8 @@
"meta:enum": {
"IDFA": "Apple's ID for Advertisers (IDFA)",
"GAID": "Google's Advertiser ID (GAID) also known as Android Advertiser ID (AAID)"
}
},
"meta:titleId": "consents-and-preferences##xdm:idType##title##12521"
}
},
"required": ["xdm:val"]
Expand Down Expand Up @@ -275,22 +278,30 @@
"xdm:call": {
"title": "Receive calls",
"description": "User permits receiving calls",
"$ref": "#/definitions/marketing-field"
"$ref": "#/definitions/marketing-field",
"meta:titleId": "consents-and-preferences##xdm:call##title##53351",
"meta:descriptionId": "consents-and-preferences##xdm:call##description##46361"
},
"xdm:fax": {
"title": "Receive fax",
"description": "User permits receiving fax",
"$ref": "#/definitions/marketing-field"
"$ref": "#/definitions/marketing-field",
"meta:titleId": "consents-and-preferences##xdm:fax##title##44891",
"meta:descriptionId": "consents-and-preferences##xdm:fax##description##14341"
},
"xdm:commercialEmail": {
"title": "Receive commercial emails",
"description": "User permits receiving commercial emails",
"$ref": "#/definitions/marketing-field"
"$ref": "#/definitions/marketing-field",
"meta:titleId": "consents-and-preferences##xdm:commercialEmail##title##16261",
"meta:descriptionId": "consents-and-preferences##xdm:commercialEmail##description##88361"
},
"xdm:postalMail": {
"title": "Receive postal mail",
"description": "User permits receiving postal mail",
"$ref": "#/definitions/marketing-field"
"$ref": "#/definitions/marketing-field",
"meta:titleId": "consents-and-preferences##xdm:postalMail##title##70151",
"meta:descriptionId": "consents-and-preferences##xdm:postalMail##description##84251"
},
"xdm:sms": {
"title": "Receive SMS",
Expand Down
4 changes: 3 additions & 1 deletion components/datatypes/data/order.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@
"meta:enum": {
"checkout": "checkout",
"instant_purchase": "Instant Purchase"
}
},
"meta:titleId": "order##xdm:orderType##title##56861",
"meta:descriptionId": "order##xdm:orderType##description##62731"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/datatypes/external/iptc/rating.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"meta:createdDate": "2020-08-10",
"meta:titleId": "rating##title##27551",
"meta:descriptionId": "rating##description##90821"
}
}
42 changes: 28 additions & 14 deletions components/datatypes/marketing/commerce.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,79 +32,93 @@
"title": "Cart Abandons",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "A product list has been identified as no longer accessible or purchasable by the user.",
"meta:descriptionId": "commerce##xdm:cartAbandons##description##31901"
"meta:descriptionId": "commerce##xdm:cartAbandons##description##31901",
"meta:titleId": "commerce##xdm:cartAbandons##title##82821"
},
"xdm:checkouts": {
"title": "Checkouts",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "An action during a checkout process of a product list, there can be more than one checkout event if there are multiple steps in a checkout process. If there are multiple steps the event time information and referenced page or experience is used to identify the step individual events represent in order.",
"meta:descriptionId": "commerce##xdm:checkouts##description##73181"
"meta:descriptionId": "commerce##xdm:checkouts##description##73181",
"meta:titleId": "commerce##xdm:checkouts##title##46761"
},
"xdm:productListAdds": {
"title": "Product List (Cart) Adds",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "Addition of a product to the product list, for example a product is added to a shopping cart.",
"meta:descriptionId": "commerce##xdm:productListAdds##description##19431"
"meta:descriptionId": "commerce##xdm:productListAdds##description##19431",
"meta:titleId": "commerce##xdm:productListAdds##title##71041"
},
"xdm:productListOpens": {
"title": "Product List (Cart) Opens",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "Initializations of a new product list, for example a shopping cart is created.",
"meta:descriptionId": "commerce##xdm:productListOpens##description##58831"
"meta:descriptionId": "commerce##xdm:productListOpens##description##58831",
"meta:titleId": "commerce##xdm:productListOpens##title##80281"
},
"xdm:productListRemovals": {
"title": "Product List (Cart) Removals",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "Removal or removals of a product entry from a product list, for example a product is removed from a shopping cart.",
"meta:descriptionId": "commerce##xdm:productListRemovals##description##78581"
"meta:descriptionId": "commerce##xdm:productListRemovals##description##78581",
"meta:titleId": "commerce##xdm:productListRemovals##title##91631"
},
"xdm:productListReopens": {
"title": "Product List (Cart) Reopens",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "A product list that was no longer accessible (abandoned) has been re-activated by the user. Example via a re-marketing activity.",
"meta:descriptionId": "commerce##xdm:productListReopens##description##26411"
"meta:descriptionId": "commerce##xdm:productListReopens##description##26411",
"meta:titleId": "commerce##xdm:productListReopens##title##1271"
},
"xdm:productListViews": {
"title": "Product List (Cart) Views",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "View or views of a product-list has occurred.",
"meta:descriptionId": "commerce##xdm:productListViews##description##21091"
"meta:descriptionId": "commerce##xdm:productListViews##description##21091",
"meta:titleId": "commerce##xdm:productListViews##title##43721"
},
"xdm:productViews": {
"title": "Product Views",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "View or views of a product have occurred.",
"meta:descriptionId": "commerce##xdm:productViews##description##22921"
"meta:descriptionId": "commerce##xdm:productViews##description##22921",
"meta:titleId": "commerce##xdm:productViews##title##13551"
},
"xdm:purchases": {
"title": "Purchases",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "An order has been accepted. Purchase is the only required action in a commerce conversion. Purchase must have a product list referenced.",
"meta:descriptionId": "commerce##xdm:purchases##description##20481"
"meta:descriptionId": "commerce##xdm:purchases##description##20481",
"meta:titleId": "commerce##xdm:purchases##title##99561"
},
"xdm:saveForLaters": {
"title": "Save For Laters",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "Product list is saved for future use, for example a product wish list.",
"meta:descriptionId": "commerce##xdm:saveForLaters##description##45041"
"meta:descriptionId": "commerce##xdm:saveForLaters##description##45041",
"meta:titleId": "commerce##xdm:saveForLaters##title##52431"
},
"xdm:inStorePurchase": {
"title": "In Store Purchase",
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "'inStore' purchase is saved for analytics use.",
"meta:descriptionId": "commerce##xdm:inStorePurchase##description##27451"
"meta:descriptionId": "commerce##xdm:inStorePurchase##description##27451",
"meta:titleId": "commerce##xdm:inStorePurchase##title##75111"
},
"xdm:cart": {
"$ref": "https://ns.adobe.com/xdm/datatypes/cart",
"description": "The properties of the cart that contains one or more products."
"description": "The properties of the cart that contains one or more products.",
"meta:descriptionId": "commerce##xdm:cart##description##9791"
},
"xdm:shipping": {
"$ref": "https://ns.adobe.com/xdm/datatypes/shipping",
"description": "Shipping details for one or more products."
"description": "Shipping details for one or more products.",
"meta:descriptionId": "commerce##xdm:shipping##description##26111"
},
"xdm:instantPurchase": {
"$ref": "https://ns.adobe.com/xdm/data/measure",
"description": "A product has been purchased instantly, potentially skipping the cart or checkout."
"description": "A product has been purchased instantly, potentially skipping the cart or checkout.",
"meta:descriptionId": "commerce##xdm:instantPurchase##description##9211"
}
}
}
Expand Down
Loading

0 comments on commit 63c66b6

Please sign in to comment.