{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/simplevoip/json-schema/simplevoip-send-sms-request-schema.json",
  "title": "SendSmsRequest",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/simplevoip-openapi.json#/components/schemas/SendSmsRequest",
  "type": "object",
  "required": [
    "sender",
    "recipients",
    "body_text"
  ],
  "properties": {
    "sender": {
      "type": "string",
      "description": "E.164 or short code the message will be sent from. Must be an SMS-enabled number on the authenticated account."
    },
    "recipients": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "string"
      },
      "description": "One or more E.164 destination numbers."
    },
    "body_text": {
      "type": "string",
      "description": "Message body."
    },
    "subject": {
      "type": "string",
      "description": "Optional MMS subject line. Omit or send an empty string for plain SMS."
    },
    "media": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uri"
      },
      "description": "Optional URLs of media to attach as MMS. Omit or send an empty array for plain SMS."
    }
  }
}