Skip to content

Latest commit

 

History

History
99 lines (80 loc) · 3.49 KB

deprecated-profile-consent.schema.md

File metadata and controls

99 lines (80 loc) · 3.49 KB

Privacy/Marketing Preferences (Consent) Schema

https://ns.adobe.com/xdm/mixins/profile-consent

This schema captures privacy, personalization and marketing preferences (consents).

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Deprecated No Forbidden Permitted fieldgroups/deprecated/deprecated-profile-consent.schema.json

Schema Hierarchy

Privacy/Marketing Preferences (Consent) Example

{
  "xdm:consentsAndPreferences": {
    "xdm:choices": {
      "xdm:consents": {
        "xdm:dataCollection": {
          "xdm:choice": "yes",
          "xdm:timestamp": "2019-01-01T15:52:25+00:00",
          "xdm:basisOfProcessing": "consent"
        },
        "xdm:deviceLinking": {
          "xdm:basisOfProcessing": "vital_interest"
        },
        "xdm:pseudonymousAnalysis": {
          "xdm:choice": "no"
        }
      },
      "xdm:personalizationPreferences": {
        "xdm:anyPersonalization": {
          "xdm:choice": "yes",
          "xdm:timestamp": "2019-01-01T15:52:25+00:00",
          "xdm:basisOfProcessing": "consent"
        }
      },
      "xdm:marketingPreferences": {
        "xdm:preferredChannel": "email",
        "xdm:anyMarketing": {
          "xdm:choice": "unknown"
        },
        "xdm:iotMessages": {
          "xdm:choice": "yes",
          "xdm:timestamp": "2019-01-01T15:52:25+00:00",
          "xdm:basisOfProcessing": "legitimate_interest"
        },
        "xdm:pushNotifications": {
          "xdm:choice": "yes",
          "xdm:source": "OurApp"
        },
        "xdm:email": {
          "xdm:choice": "no",
          "xdm:reason": "Too Frequent"
        }
      }
    },
    "xdm:choicesMetadata": {
      "xdm:version": "1.0.0",
      "xdm:timestamp": "2019-01-01T15:52:25+00:00",
      "xdm:userCountryRegionCode": "US",
      "xdm:countryRegionSource": "ip",
      "xdm:source": "CJM"
    }
  }
}

Privacy/Marketing Preferences (Consent) Properties

Property Type Required Defined by
xdm:consentsAndPreferences Privacy/Marketing Preferences (Consent) Optional Privacy/Marketing Preferences (Consent) (this schema)
* any Additional this schema allows additional properties

xdm:consentsAndPreferences

Global Privacy/Marketing Preference Values

Global (User/Profile-level) Privacy/Personalization/Marketing Preferences.

xdm:consentsAndPreferences

  • is optional
  • type: Privacy/Marketing Preferences (Consent)
  • defined in this schema

xdm:consentsAndPreferences Type