https://ns.adobe.com/xdm/context/device
An identified device that is an application or browser instance that is trackable across sessions, normally by cookies.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Stable | No | Forbidden | Permitted | datatypes/device.schema.json |
- Device
https://ns.adobe.com/xdm/context/device
- Extensibility base schema
https://ns.adobe.com/xdm/common/extensible
- Extensibility base schema
{
"xdm:typeID": "TypeIdentifier-111",
"xdm:typeIDService": "https://ns.adobe.com/xdm/external/deviceatlas",
"xdm:type": "mobile",
"xdm:manufacturer": "Apple",
"xdm:model": "iPhone 6",
"xdm:modelNumber": "A1586",
"xdm:screenHeight": 667,
"xdm:screenWidth": 375,
"xdm:colorDepth": 16777216,
"xdm:screenOrientation": "portrait"
}
Property | Type | Required | Defined by |
---|---|---|---|
xdm:colorDepth | integer |
Optional | Device (this schema) |
xdm:isBackgroundPushEnabled | boolean |
Optional | Device (this schema) |
xdm:isLocationEnabled | boolean |
Optional | Device (this schema) |
xdm:isPushOptIn | boolean |
Optional | Device (this schema) |
xdm:locationPermission | enum |
Optional | Device (this schema) |
xdm:manufacturer | string |
Optional | Device (this schema) |
xdm:model | string |
Optional | Device (this schema) |
xdm:modelNumber | string |
Optional | Device (this schema) |
xdm:screenHeight | integer |
Optional | Device (this schema) |
xdm:screenOrientation | enum |
Optional | Device (this schema) |
xdm:screenWidth | integer |
Optional | Device (this schema) |
xdm:type | string |
Optional | Device (this schema) |
xdm:typeID | string |
Optional | Device (this schema) |
xdm:typeIDService | string |
Optional | Device (this schema) |
* |
any | Additional | this schema allows additional properties |
The number of colors the display is able to represent.
xdm:colorDepth
- is optional
- type:
integer
- defined in this schema
integer
For devices like mobile , this tracks the system background push enabled permision status.
xdm:isBackgroundPushEnabled
- is optional
- type:
boolean
- defined in this schema
boolean
Indicates whether or not the device has location services enabled.
xdm:isLocationEnabled
- is optional
- type:
boolean
- defined in this schema
boolean
Indicates whether or not the device opted-in to receive push notifications.
xdm:isPushOptIn
- is optional
- type:
boolean
- defined in this schema
boolean
Tracks the device location permision attribute setting.
xdm:locationPermission
- is optional
- type:
enum
- defined in this schema
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
SYSTEM_LOCATION_DISABLED |
|
NOT_ALLOWED |
|
ALWAYS_ALLOWED |
|
FOREGROUND_ALLOWED |
|
UNPROMPTED |
The name of the organization who owns the design and creation of the device, for example, 'Apple' is the manufacturer of the iPhone.
xdm:manufacturer
- is optional
- type:
string
- defined in this schema
string
The name of the model for the device. This is the common, human-readable, or marketing name for the device. For example, the 'iPhone 6S' is a particular model of mobile phone.
xdm:model
- is optional
- type:
string
- defined in this schema
string
The unique model number designation assigned by the manufacturer for this device. Model numbers are not versions, but unique identifiers that identify a particular model configuration. While the model for a particular phone might be 'iPhone 6S' the model number would be 'A1633', or 'A1634' based on configuration at the time of sale.
xdm:modelNumber
- is optional
- type:
string
- defined in this schema
string
The number of vertical pixels of the device's active display in the default orientation.
xdm:screenHeight
- is optional
- type:
integer
- defined in this schema
integer
The current screen orientation such as "portrait" or "landscape".
xdm:screenOrientation
- is optional
- type:
enum
- defined in this schema
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
portrait |
Portrait |
landscape |
Landscape |
The number of horizontal pixels of the device's active display in the default orientation.
xdm:screenWidth
- is optional
- type:
integer
- defined in this schema
integer
Type of device being tracked.
xdm:type
- is optional
- type:
string
- defined in this schema
string
Value | Description |
---|---|
mobile |
Mobile |
tablet |
Tablet |
desktop |
Desktop |
ereader |
E-reader |
gaming |
Gaming console |
television |
Television |
settop |
Set-top box |
mediaplayer |
Media player |
computers |
Computers |
tv screens |
TV screens |
An identifier for the device. This may be an identifier from 'DeviceAtlas' or another service that identifies the hardware that is being used.
xdm:typeID
- is optional
- type:
string
- defined in this schema
string
The namespace of the service that is used to identify the device type.
xdm:typeIDService
- is optional
- type:
string
- defined in this schema
string
- format:
uri
– Uniformous Resource Identifier (according to RFC3986)
Value | Description |
---|---|
https://ns.adobe.com/xdm/external/deviceatlas |
DeviceAtlas |
https://ns.adobe.com/xdm/external/adobecampaign |
Adobe Campaign |