Skip to content

Commit

Permalink
Removed Circular Reference in Org and Geo Units
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdegroot committed Jun 15, 2018
1 parent f550b55 commit ee4112b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 20 deletions.
7 changes: 2 additions & 5 deletions schemas/common/geounit.example.1.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"@id": "https://data.adobe.io/geo-san-jose",
"xdm:label": "San Jose",
"xdm:parentGeoUnit": {
"@id": "https://data.adobe.io/geo-sf-bay-area"
}
}
"xdm:label": "San Jose"
}
5 changes: 0 additions & 5 deletions schemas/common/geounit.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
"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 hierarchy. For e.g. `geounit` for `France` might have `xdm:parentGeoUnit` as `geounit` `Europe`."
}
},
"required": ["@id"]
Expand Down
7 changes: 2 additions & 5 deletions schemas/common/orgunit.example.1.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"@id": "https://data.adobe.io/org-apparals-men",
"xdm:label": "Men Apparals",
"xdm:parentOrgUnit": {
"@id": "https://data.adobe.io/org-apparals"
}
}
"xdm:label": "Men Apparals"
}
5 changes: 0 additions & 5 deletions schemas/common/orgunit.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@
"title": "Label of the organizational unit.",
"type": "string",
"description": "The user-friendly name for the organizational unit."
},
"xdm:parentOrgUnit": {
"title": "Parent Organizational Unit.",
"$ref": "https://ns.adobe.com/xdm/common/orgunit",
"description": "The parent organizational unit of the current organizational unit in the org hierarchy. For e.g. `orgunit` for `Shirts` might have `xdm:parentOrgUnit` as `orgunit` `Apparals`."
}
},
"required": ["@id"]
Expand Down

0 comments on commit ee4112b

Please sign in to comment.