From b99f7bf0d09b368bf2a24221b8edd7a298b22b63 Mon Sep 17 00:00:00 2001 From: Saurabh Gupta Date: Mon, 14 May 2018 20:18:30 +0530 Subject: [PATCH] [trivial] Fix typos and add breaking changes to changelog. --- CHANGELOG.md | 1 + schemas/common/geounit.schema.json | 6 +++--- schemas/common/orgunit.schema.json | 14 +++++++------- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81e049f37..4989f4d79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,3 +11,4 @@ [Unreleased](https://github.com/adobe/xdm/releases/tag/v0.9.1) * Renames all `Metric` schemas to `Metric Definition` #254 +* Adds new concepts `Organizational Unit` and `Geographical Unit`. Existing links with the `Profile` schema updated. #323 diff --git a/schemas/common/geounit.schema.json b/schemas/common/geounit.schema.json index bc9cd5b65..85bb9ed21 100644 --- a/schemas/common/geounit.schema.json +++ b/schemas/common/geounit.schema.json @@ -9,7 +9,7 @@ "$schema": "http://json-schema.org/draft-06/schema#", "type": "object", "meta:extensible": true, - "title": "Geo Unit", + "title": "Geographical Unit", "description": "The geographical unit of a parent geographical unit.", "definitions": { "geounit": { @@ -22,14 +22,14 @@ "The ID associated with this geographical unit." }, "xdm:label": { - "title": "Friendly lable of the geographical unit.", + "title": "Label of the geographical unit.", "type": "string", "description": "The user-friendly name for the geographical unit." }, "xdm:parentGeoUnit": { "title": "Parent Geographical Unit.", "$ref": "https://ns.adobe.com/xdm/common/geounit", - "description": "Parent geographical unit of the current geographical unit in the geographical heirarchy." + "description": "Parent geographical unit of the current geographical unit in the geographical hierarchy. For e.g. `geounit` for `France` might have `xdm:parentGeoUnit` as `geounit` `Europe`." } }, "required": ["@id"] diff --git a/schemas/common/orgunit.schema.json b/schemas/common/orgunit.schema.json index 7ddfb9fad..3fceae62a 100644 --- a/schemas/common/orgunit.schema.json +++ b/schemas/common/orgunit.schema.json @@ -9,8 +9,8 @@ "$schema": "http://json-schema.org/draft-06/schema#", "type": "object", "meta:extensible": true, - "title": "Org Unit", - "description": "The organisation unit of a parent organisation.", + "title": "Organizational Unit", + "description": "The organizaational unit of a parent organization.", "definitions": { "orgunit": { "properties": { @@ -19,17 +19,17 @@ "type": "string", "format": "uri", "description": - "The ID associated with this organisation unit." + "The ID associated with this organizational unit." }, "xdm:label": { - "title": "Friendly lable of the organisation unit.", + "title": "Label of the organizational unit.", "type": "string", - "description": "The user-friendly name for the organisation unit." + "description": "The user-friendly name for the organizational unit." }, "xdm:parentOrgUnit": { - "title": "Parent Organisation.", + "title": "Parent Organizational Unit.", "$ref": "https://ns.adobe.com/xdm/common/orgunit", - "description": "The parent organisation unit of the current organisation unit in the org heirarchy." + "description": "The parent organizational unit of the current organizational unit in the org hierarchy. For e.g. `orgunit` for `Shirts` might have `xdm:parentGeoUnit` as `geounit` `Apparals`." } }, "required": ["@id"]