{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gatewayapi/main/json-schema/gatewayapi-post-rest-mtsms-request-schema.json",
  "title": "PostRestMtsmsRequest",
  "x-generated": "2026-10-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/gatewayapi-openapi-generated.yml#/components/schemas/PostRestMtsmsRequest",
  "type": "object",
  "properties": {
    "class": {
      "type": "string",
      "description": "Message class, default “standard”"
    },
    "message": {
      "type": "string",
      "description": "The content of the SMS"
    },
    "sender": {
      "type": "string",
      "description": "Up to 11 alphanumeric characters, or 15 digits"
    },
    "userref": {
      "type": "string",
      "description": "Opaque string reference"
    },
    "callback_url": {
      "type": "string",
      "description": "URL for status notifications"
    },
    "recipients": {
      "type": "array",
      "description": "Array of recipient objects"
    },
    "recipients[].msisdn": {
      "type": "integer",
      "description": "Full mobile phone number of the recipient"
    }
  },
  "required": [
    "message",
    "recipients",
    "recipients[].msisdn"
  ]
}