Skip to content

Latest commit

 

History

History
127 lines (73 loc) · 2.87 KB

identity.schema.md

File metadata and controls

127 lines (73 loc) · 2.87 KB

Identity Schema

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 Stabilizing No Forbidden Permitted context/identity.schema.json

Schema Hierarchy

  • Identity https://ns.adobe.com/xdm/context/identity

Identity Examples

{
  "xdm:id": "id123",
  "xdm:namespace": {
    "xdm:code": "AA12345"
  }
}
{
  "xdm:id": "[email protected]",
  "xdm:namespace": {
    "xdm:code": "Email"
  }
}

Identity Properties

Property Type Required Defined by
xdm:id string Optional Identity (this schema)
xdm:namespace Namespace Optional Identity (this schema)
xdm:primary boolean Optional Identity (this schema)
xdm:xid string Optional Identity (this schema)
* any Additional this schema allows additional properties

xdm:id

Identifier

Identity of the consumer in the related namespace.

xdm:id

  • is optional
  • type: string
  • defined in this schema

xdm:id Type

string

xdm:namespace

Namespace

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

xdm:namespace Type

  • Namespacehttps://ns.adobe.com/xdm/context/namespace

xdm:primary

Primary

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
  • defined in this schema

xdm:primary Type

boolean

xdm:xid

Experience Identifier

When present, this 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

xdm:xid Type

string