Skip to content

Latest commit

 

History

History
100 lines (76 loc) · 3.4 KB

profile-push-details.schema.md

File metadata and controls

100 lines (76 loc) · 3.4 KB

Profile push details Schema

https://ns.adobe.com/xdm/context/profile-push-details

This mixin is used to capture information regarding push notifications including device details and registration date. Push addressing details are used to communicate with applications that are installed on devices or SaaS application accounts.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Experimental No Forbidden Permitted context/profile-push-details.schema.json

Schema Hierarchy

  • Profile push details https://ns.adobe.com/xdm/context/profile-push-details

Profile push details Example

{
  "xdm:pushNotificationTokens": [
    {
      "xdm:token": "ABC123DEFG",
      "xdm:registrationDate": "2017-09-26T15:52:25+00:00",
      "xdm:environment": {
        "xdm:type": "browser",
        "xdm:browserDetails": {
          "xdm:name": "Chrome",
          "xdm:version": "63.0.3239",
          "xdm:acceptLanguage": "en",
          "xdm:cookiesEnabled": true,
          "xdm:javaScriptEnabled": true,
          "xdm:javaScriptVersion": "1.8.5",
          "xdm:javaEnabled": true,
          "xdm:javaVersion": "Java SE 8",
          "xdm:viewportHeight": 600,
          "xdm:viewportWidth": 300
        },
        "xdm:operatingSystem": "iOS",
        "xdm:operatingSystemVersion": "11.2.1",
        "xdm:connectionType": "mobile"
      },
      "xdm:device": {
        "xdm:typeId": "TypeIdentifier-111",
        "xdm:typeIdService": "deviceAtlas",
        "xdm:type": "mobile",
        "xdm:manufacturer": "Apple",
        "xdm:model": "iPhone 6",
        "xdm:modelNumber": "A1586",
        "xdm:screenHeight": 667,
        "xdm:screenWidth": 375,
        "xdm:colorDepth": 16777216
      },
      "xdm:application": {
        "xdm:id": "Abc123",
        "xdm:name": "facebook",
        "xdm:version": "153.0"
      },
      "xdm:channel": {
        "@id": "https://ns.adobe.com/xdm/channels/facebook-feed",
        "@type": "https://ns.adobe.com/xdm/channel-types/social"
      }
    }
  ]
}

Profile push details Properties

Property Type Required Defined by
xdm:pushNotificationTokens Push notification token Optional Profile push details (this schema)
* any Additional this schema allows additional properties

xdm:pushNotificationTokens

Push notification tokens

Push notification tokens are used to communicate with applications that are installed on devices or SaaS application accounts.

xdm:pushNotificationTokens

  • is optional

  • type: Push notification token

  • defined in this schema

xdm:pushNotificationTokens Type

Array type: Push notification token

All items must be of the type: