{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/responsys/json-schema/responsys-trigger-sms-message-schema.json",
  "title": "Trigger SMS Message",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/responsys-trigger-sms-message-api-openapi.yml#/components/schemas/triggerSmsMessage",
  "type": "object",
  "properties": {
    "recipientData": {
      "description": "Array of Recipients with Optional Data",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "recipient": {
            "type": "object",
            "description": "Information about the Recipient.",
            "properties": {
              "customerId": {
                "type": "string",
                "description": "Recipient's Customer ID."
              },
              "mobileNumber": {
                "type": "string",
                "description": "Recipient's Mobile Number."
              },
              "emailAddress": {
                "type": "string",
                "description": "Recipient's Email Address."
              },
              "emailMD5Hash": {
                "type": "string",
                "description": "Recipient's MD5 Email Hash Value."
              },
              "emailSHA256Hash": {
                "type": "string",
                "description": "Recipient's SHA256 Email Hash Value."
              },
              "listName": {
                "type": "object",
                "description": "Profile List to which the Recipient belongs.",
                "properties": {
                  "folderName": {
                    "type": "string",
                    "description": "Folder Name"
                  },
                  "objectName": {
                    "type": "string",
                    "description": "Profile List Name."
                  }
                }
              },
              "recipientId": {
                "type": "number",
                "description": "Recipient's RIID."
              }
            },
            "required": [
              "customerId",
              "emailAddress",
              "listName",
              "recipientId",
              "mobileNumber"
            ]
          },
          "optionalData": {
            "type": "array",
            "description": "Array of optional data containing name value pairs.",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "value": {
                  "type": "string"
                }
              }
            }
          }
        },
        "required": [
          "recipient",
          "optionalData"
        ]
      }
    }
  },
  "required": [
    "recipientData"
  ]
}