Skip to content

Latest commit

 

History

History
582 lines (395 loc) · 19.3 KB

optinout.schema.md

File metadata and controls

582 lines (395 loc) · 19.3 KB

OptInOut Schema

https://ns.adobe.com/xdm/context/optinout

Describes a users' communication preferences by channel. For each channel individually, which is a property of this object, a user's preference (opt-in, opt-out, pending) can be recorded. In addition, a global override opt-out is possible. Each property of this schema must be a valid and known URI for an XDM Channel.

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

Schema Hierarchy

OptInOut Example

{
  "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
}

OptInOut Properties

Property Type Required Default Defined by
https://ns.adobe.com/xdm/channels/adm enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/agency enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/apns enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/application enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/baidu enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/channel enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/direct-mail enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/email enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/facebook-feed enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/fax enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/gcm enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/line enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/mobile-app enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/mpns enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/phone enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/sms enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/twitter-feed enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/web enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/webpage enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/wechat enum Optional "not_provided" OptInOut (this schema)
https://ns.adobe.com/xdm/channels/wns enum Optional "not_provided" OptInOut (this schema)
xdm:globalOptout boolean Optional false OptInOut (this schema)
* any Additional this schema allows additional properties

ADM

Amazon Device Messaging channel OptInOut.

https://ns.adobe.com/xdm/channels/adm

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

Agency

External Agency channel OptInOut.

https://ns.adobe.com/xdm/channels/agency

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

APNS

Apple Push Notification Service channel OptInOut.

https://ns.adobe.com/xdm/channels/apns

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

Application

Application channel OptInOut.

https://ns.adobe.com/xdm/channels/application

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

Baidu

Baidu Cloud Push Service channel OptInOut.

https://ns.adobe.com/xdm/channels/baidu

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

Experience Channel

Experience channel OptInOut.

https://ns.adobe.com/xdm/channels/channel

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

Direct Mail

Mail delivered by a postal service channel OptInOut.

https://ns.adobe.com/xdm/channels/direct-mail

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

E-Mail

E-Mail messages, delivered via SMTP to list subscribers channel OptInOut.

https://ns.adobe.com/xdm/channels/email

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

Facebook News Feed

The Facebook News Feed channel OptInOut.

https://ns.adobe.com/xdm/channels/facebook-feed

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

Fax

Telefacsimile channel OptInOut.

https://ns.adobe.com/xdm/channels/fax

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

GCM

Google Cloud Messaging channel OptInOut.

https://ns.adobe.com/xdm/channels/gcm

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

LINE

Line Platform Notification channel OptInOut.

https://ns.adobe.com/xdm/channels/line

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

Web

Native mobile applications that are installed through an app store channel OptInOut.

https://ns.adobe.com/xdm/channels/mobile-app

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

MPNS

Microsoft Push Notification Service channel OptInOut.

https://ns.adobe.com/xdm/channels/mpns

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

Phone

The telephone channel OptInOut.

https://ns.adobe.com/xdm/channels/phone

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

SMS

Short Message Service delivered to a mobile phone channel OptInOut.

https://ns.adobe.com/xdm/channels/sms

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

Twitter Feed

Twitter Feed channel OptInOut.

https://ns.adobe.com/xdm/channels/twitter-feed

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

Web

World Wide Web and mobile web channel OptInOut.

https://ns.adobe.com/xdm/channels/web

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

Web Page

Web Page channel OptInOut.

https://ns.adobe.com/xdm/channels/webpage

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

WeChat

WeChat Platform Notification channel OptInOut.

https://ns.adobe.com/xdm/channels/wechat

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

WNS

Windows Push Notification Service channel OptInOut.

https://ns.adobe.com/xdm/channels/wns

  • is optional
  • type: enum
  • default: "not_provided"
  • defined in this schema

The value of this property must be equal to one of the known values below.

Value Description
not_provided Not Provided
pending Pending Verification
in Opt-In: the user explicitly consents to receiving messages.
out Opt-Out: the user declines to receive any messages on this channel.

xdm:globalOptout

Global Opt-out

Do not contact this profile on any outbound channel.

xdm:globalOptout

  • is optional
  • type: boolean
  • default: false
  • defined in this schema

xdm:globalOptout Type

boolean