maas-schemas

request Schema

http://maasglobal.com/maas-backend/webhooks/zendesk-push-notification/request.json

MaaS Zendesk push notification forwarder request schema.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated No Develop No Forbidden Forbidden maas-backend/webhooks/zendesk-push-notification/request.json

request Properties

Property Type Required Nullable Defined by
devices array Required No request (this schema)
notification object Required No request (this schema)

devices

devices

devices Type

Array type: array

All items must be of the type: Unknown type ``.

{
  "type": "array",
  "minItems": 1,
  "maxItems": 50,
  "items": {
    "properties": {
      "identifier": {
        "$ref": "http://maasglobal.com/core/components/common.json#/definitions/deviceToken",
        "$linkVal": "deviceToken",
        "$linkPath": "common.md"
      },
      "type": {
        "enum": ["ios", "android"]
      }
    },
    "required": ["identifier", "type"],
    "additionalProperties": false,
    "simpletype": "complex"
  },
  "isrequired": true,
  "simpletype": "`array`"
}

notification

notification

notification Type

object with following properties:

Property Type Required
body string Optional
ticket_id string Optional
title string Optional

body

body

body Type

string

ticket_id

ticket_id

ticket_id Type

string

title

title

title Type

string