Root Insurance · Schema

notification-sms-data

InsuranceAuto InsuranceTelematicsEmbedded InsurancePolicy AdministrationClaimsUsage-Based InsuranceInsurTech

Properties

Name Type Description
to array An array containing phone numbers that the notification was sent to.
content string Content for the SMS notification.
content_type string Whether it was `text` or `html`.
app_data objectnull `null` is allowed. An object containing additional custom data for the SMS notification.
View JSON Schema on GitHub

JSON Schema

notification-sms-data.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "notification-sms-data",
  "type": "object",
  "required": [
    "to",
    "content"
  ],
  "properties": {
    "to": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "An array containing phone numbers that the notification was sent to."
    },
    "content": {
      "type": "string",
      "description": "Content for the SMS notification."
    },
    "content_type": {
      "type": "string",
      "description": "Whether it was `text` or `html`."
    },
    "app_data": {
      "type": [
        "object",
        "null"
      ],
      "description": "`null` is allowed. An object containing additional custom data for the SMS notification.",
      "additionalProperties": true
    }
  }
}