https://ns.adobe.com/xdm/context/profile-preferences-details
Preferences for end-user profiles.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | Yes | Experimental | No | Forbidden | Permitted | context/profile-preferences-details.schema.json |
- Profile Preferences Details
https://ns.adobe.com/xdm/context/profile-preferences-details
- Extensibility Base Schema
https://ns.adobe.com/xdm/common/extensible
- OptInOut
https://ns.adobe.com/xdm/context/optinout
- Extensibility Base Schema
{
"xdm:optInOut": {
"https://ns.adobe.com/xdm/channels/email": "pending",
"https://ns.adobe.com/xdm/channels/phone": "out",
"https://ns.adobe.com/xdm/channels/sms": "in",
"https://ns.adobe.com/xdm/channels/fax": "not_provided",
"https://ns.adobe.com/xdm/channels/direct-mail": "not_provided",
"https://ns.adobe.com/xdm/channels/apns": "not_provided",
"xdm:globalOptout": false
}
}
Property | Type | Required | Defined by |
---|---|---|---|
xdm:emailFormat | string |
Optional | Profile Preferences Details (this schema) |
xdm:optInOut | OptInOut | Optional | Profile Preferences Details (this schema) |
xdm:preferredLanguage | string |
Optional | Profile Preferences Details (this schema) |
xdm:profilePictureLink | string |
Optional | Profile Preferences Details (this schema) |
xdm:timeZone | string |
Optional | Profile Preferences Details (this schema) |
* |
any | Additional | this schema allows additional properties |
Email format preferred by the profile. This can be rich text/plain text.
xdm:emailFormat
- is optional
- type:
string
- defined in this schema
string
Value | Description |
---|---|
html |
Rich text |
plaintext |
Plain text |
Describes a users opting in and out preferences for communication by medium and communication type.
xdm:optInOut
- is optional
- type: OptInOut
- defined in this schema
- OptInOut –
https://ns.adobe.com/xdm/context/optinout
Describes the preferred system of communication used by the profile. Language codes are expressed in BCP 47 format.
xdm:preferredLanguage
- is optional
- type:
string
- defined in this schema
string
All instances must conform to this regular expression
^(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)|((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)))$
"en-GB"
"de-DE"
"yue-HK"
Link to profile's picture.
xdm:profilePictureLink
- is optional
- type:
string
- defined in this schema
string
Describes which time zone the profile is present in, most frequently/the time zone preferred by the profile. Time zones are expressed according to the IETF tz database: https://www.ietf.org/timezones/tzdb-2016i/tz-link.htm
xdm:timeZone
- is optional
- type:
string
- defined in this schema
string
"America/Barbados"
"Antarctica/Davis"
"Asia/Calcutta"