{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/verizon/refs/heads/main/json-schema/thingspace-connectivity-send-sms-request-schema.json",
  "title": "SendSmsRequest",
  "description": "Request to send SMS to devices",
  "type": "object",
  "properties": {
    "deviceIds": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/DeviceId"
      }
    },
    "smsMessage": {
      "type": "string",
      "maxLength": 160,
      "description": "SMS message content",
      "example": "Hello IoT Device"
    },
    "encoding": {
      "type": "string",
      "enum": [
        "TEXT",
        "UNICODE",
        "BINARY"
      ],
      "description": "Message encoding type",
      "example": "TEXT"
    }
  },
  "required": [
    "deviceIds",
    "smsMessage"
  ]
}