http://maasglobal.com/maas-backend/push-notification/request.json
MaaS push notification request schema.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
---|---|---|---|---|---|---|
Can be instantiated | No | Develop | No | Forbidden | Forbidden | maas-backend/push-notification/request.json |
http://maasglobal.com/maas-backend/push-notification/request.json
http://maasglobal.com/core/components/units.json
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
badge | integer |
Required | No | request (this schema) |
data | complex | Optional | No | request (this schema) |
identityId | complex | Required | No | request (this schema) |
message | string |
Optional | No | request (this schema) |
severity | enum |
Required | No | request (this schema) |
sound | string |
Optional | No | request (this schema) |
title | string |
Optional | No | request (this schema) |
type | enum |
Required | No | request (this schema) |
badge
integer
integer
0
9999
data
One of the following conditions need to be fulfilled.
object
with following properties:
Property | Type | Required |
---|---|---|
ids |
array | Required |
objectType |
Required |
ids
1
and 99
items in the arrayArray type: uuid
All items must be of the type:
http://maasglobal.com/core/components/units.json#/definitions/uuid
objectType
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
Itinerary |
|
Booking |
object
with following properties:
Property | Type | Required |
---|---|---|
ids |
array | Required |
objectType |
Required |
ids
1
and 1
items in the arrayArray type: identityId
All items must be of the type:
http://maasglobal.com/core/components/units.json#/definitions/identityId
objectType
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
Profile |
|
Subscription |
object
with following properties:
Property | Type | Required |
---|---|---|
authUrl |
Required | |
objectType |
Required |
authUrl
http://maasglobal.com/core/components/units.json#/definitions/url
objectType
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
Reminder |
identityId
Any following options needs to be fulfilled.
string
All instances must conform to this regular expression
^[aepus]{2}-[\w]{4}-\d:[a-f\d]{8}(-[a-f\d]{4}){3}-[a-f\d]{12}$
string
All instances must conform to this regular expression
^[A-Fa-f0-9]{8}(-[A-Fa-f0-9]{4}){3}-[A-Fa-f0-9]{12}$
"eu-west-1:4828507e-683f-41bf-9d87-689808fbf958"
"4828507e-683f-41bf-9d87-689808fbf958"
message
string
string
severity
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
Alert |
|
Warning |
|
Information |
sound
string
string
title
string
string
type
enum
The value of this property must be equal to one of the known values below.
Value | Description |
---|---|
ObjectChange |
|
TripActivate |
|
InfoMessage |
|
ZendeskReply |
|
VerificationUpdate |
|
AuthRequired |