https://ns.adobe.com/xdm/context/identity
Identity is used to clearly distinguish people that are interacting with digital experiences. Identity is established by an identity provider, which itself is referenced in the namespace
attribute. Within each namespace
, the identity is unique.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Stable | No | Forbidden | Permitted | datatypes/identity.schema.json |
- Identity
https://ns.adobe.com/xdm/context/identity
- Extensibility base schema
https://ns.adobe.com/xdm/common/extensible
- Identity item
https://ns.adobe.com/xdm/context/identityitem
- Namespace
https://ns.adobe.com/xdm/context/namespace
- Extensibility base schema
{
"xdm:id": "id123",
"xdm:namespace": {
"xdm:code": "AA12345"
},
"xdm:authenticatedState": "ambiguous"
}
{
"xdm:id": "someone@example.com",
"xdm:namespace": {
"xdm:code": "Email"
}
}
Property | Type | Required | Default | Defined by |
---|---|---|---|---|
xdm:authenticatedState | enum |
Optional | "ambiguous" |
Identity item |
xdm:id | string |
Optional | Identity item | |
xdm:namespace | Namespace | Optional | Identity (this schema) | |
xdm:primary | boolean |
Optional | false |
Identity item |
xdm:xid | string |
Optional | Identity (this schema) | |
* |
any | Additional | this schema allows additional properties |
The state this identity is authenticated as for this observed ExperienceEvent.
xdm:authenticatedState
- is optional
- type:
enum
- default:
"ambiguous"
- defined in Identity item
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
ambiguous |
Ambiguous |
authenticated |
User identified by a login or similar action that was valid at the time of the event observation. |
loggedOut |
User was identified by a login action at some point of time previously, but is not currently logged in. |
Identity of the consumer in the related namespace.
xdm:id
- is optional
- type:
string
- defined in Identity item
string
The namespace associated with the xid
attribute and matched up with the AAM data source integration code.
xdm:namespace
- is optional
- type: Namespace
- defined in this schema
- Namespace –
https://ns.adobe.com/xdm/context/namespace
Indicates this identity is the preferred identity. Is used as a hint to help systems better organize how identities are queried.
xdm:primary
- is optional
- type:
boolean
- default:
false
- defined in Identity item
boolean
When present, experience identifier value represents a cross-namespace identifier that is unique across all namespace-scoped identifiers in all namespaces.
xdm:xid
- is optional
- type:
string
- defined in this schema
string