Skip to content

Commit

Permalink
changing Identity id from URI format to plain string
Browse files Browse the repository at this point in the history
  • Loading branch information
kstreeter committed Jun 24, 2018
1 parent 53f92c7 commit 3d06ee1
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"xdm:channel": "https://ns.adobe.com/xdm/channels/email",
"xdm:endUserIDs": {
"https://ns.adobe.com/experience/mcid": {
"@id": "https://data.adobe.io/entities/identity/92312748749128",
"xdm:id": "https://data.adobe.io/entities/identity/92312748749128",
"xdm:namespace": {
"@id": "https://data.adobe.io/entities/namespace/4",
"xdm:code": "ECID"
}
},
"https://ns.adobe.com/experience/campaign": {
"@id": "https://data.adobe.io/entities/identity/1234567",
"xdm:id": "https://data.adobe.io/entities/identity/1234567",
"xdm:namespace": {
"@id": "https://data.adobe.io/entities/namespace/2756",
"xdm:code": "CPGN"
Expand Down
6 changes: 3 additions & 3 deletions schemas/context/experienceevent.example.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
"xdm:timestamp": "2017-09-26T15:52:25+00:00",
"xdm:endUserIDs": {
"https://ns.adobe.com/experience/mcid": {
"@id": "https://data.adobe.io/entities/identity/92312748749128",
"xdm:id": "https://data.adobe.io/entities/identity/92312748749128",
"xdm:namespace": {
"xdm:code": "ECID"
}
},
"https://ns.adobe.com/experience/aaid": {
"@id": "https://data.adobe.io/entities/identity/2394509340-30453470347",
"xdm:id": "https://data.adobe.io/entities/identity/2394509340-30453470347",
"xdm:namespace": {
"xdm:code": "AVID"
}
},
"https://ns.adobe.com/experience/tntid": {
"@id":
"xdm:id":
"https://data.adobe.io/entities/identity/1233ce17-20e0-4a2c-8198-2a77fd60cf4d",
"xdm:namespace": {
"xdm:code": "tnt0051"
Expand Down
2 changes: 1 addition & 1 deletion schemas/context/experienceevent.example.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"xdm:timestamp": "2017-09-26T15:52:25+00:00",
"xdm:endUserIDs": {
"https://ns.adobe.com/experience/mcid": {
"@id": "https://data.adobe.io/entities/identity/92312748749128",
"xdm:id": "https://data.adobe.io/entities/identity/92312748749128",
"xdm:namespace": {
"@id": "https://data.adobe.io/entities/namespace/4",
"xdm:code": "ECID"
Expand Down
2 changes: 1 addition & 1 deletion schemas/context/experienceevent.example.3.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"xdm:timestamp": "2017-09-26T15:52:25+00:00",
"xdm:endUserIDs": {
"https://ns.adobe.com/experience/mcid": {
"@id": "https://data.adobe.io/entities/identity/92312748749128",
"xdm:id": "https://data.adobe.io/entities/identity/92312748749128",
"xdm:namespace": {
"@id": "https://data.adobe.io/entities/namespace/4",
"xdm:code": "ECID"
Expand Down
2 changes: 1 addition & 1 deletion schemas/context/identity.example.1.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@id": "https://data.adobe.io/entities/identity/id123",
"xdm:id": "https://data.adobe.io/entities/identity/id123",
"xdm:namespace": {
"xdm:code": "AA12345"
}
Expand Down
6 changes: 6 additions & 0 deletions schemas/context/identity.example.2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"xdm:id": "ISBN13#978-0765382030",
"xdm:namespace": {
"xdm:code": "BOOKS"
}
}
3 changes: 1 addition & 2 deletions schemas/context/identity.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
"definitions": {
"identity": {
"properties": {
"@id": {
"xdm:id": {
"title": "Identifier",
"type": "string",
"format": "uri",
"description": "Identity of the consumer in the related namespace."
},
"xdm:namespace": {
Expand Down
2 changes: 1 addition & 1 deletion schemas/context/profile.example.1.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"xdm:identities": [
{
"@id": "https://data.adobe.io/entities/identity/id123",
"xdm:id": "https://data.adobe.io/entities/identity/id123",
"xdm:namespace": {
"xdm:code": "AA111"
}
Expand Down

0 comments on commit 3d06ee1

Please sign in to comment.