Skip to content

Commit

Permalink
Authenticated State for Identity:
Browse files Browse the repository at this point in the history
- Added enumeration property.
- Added to example.
  • Loading branch information
chrisdegroot committed May 16, 2018
1 parent 0aad1e1 commit 353e0d2
Showing 2 changed files with 15 additions and 2 deletions.
3 changes: 2 additions & 1 deletion schemas/context/identity.example.1.json
Original file line number Diff line number Diff line change
@@ -2,5 +2,6 @@
"@id": "https://data.adobe.io/entities/identity/id123",
"xdm:namespace": {
"xdm:code": "AA12345"
}
},
"xdm:authenticatedState": "unknown"
}
14 changes: 13 additions & 1 deletion schemas/context/identity.schema.json
Original file line number Diff line number Diff line change
@@ -31,7 +31,19 @@
"type": "string",
"description":
"When present, this value represents a cross-namespace identifier that is unique across all namespace-scoped identifiers in all namespaces."
}
},
"authenticatedState": {
"description":
"The state this identity is authenticated as for this observed ExperienceEvent.",
"type": "string",
"default": "unknown",
"enum": ["unknown", "loggedin", "loggedOut"],
"meta:enum": {
"unknown": "Unknown",
"loggedin": "User identified by a login action that is valid at the time of the event.",
"loggedOut": "User was identified by a login action at some point of time previously, but is not currently logged in."
}
},
}
}
},

0 comments on commit 353e0d2

Please sign in to comment.