{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/robase-dev/json-schema/robase-dev-send-smsrequest-schema.json",
  "title": "SendSMSRequest",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/robase-dev-openapi.yaml#/components/schemas/SendSMSRequest",
  "type": "object",
  "required": [
    "phone_number",
    "message"
  ],
  "properties": {
    "phone_number": {
      "type": "string",
      "description": "Phone number in E.164 format"
    },
    "message": {
      "type": "string",
      "description": "SMS message body. The limit is six SMS segments, not a character\ncount: a carrier splits a long message into parts and bills each\none, and how many characters fit in a part depends on the alphabet\nthe message needs: 160 per part in GSM-7 (153 once it is split),\nbut 70 (then 67) as soon as one character forces UCS-2. So the\npractical ceiling is 918 plain-Latin characters, or 402 in a script\nthat needs UCS-2.\n"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": true,
      "maxProperties": 50,
      "description": "Arbitrary key-value data attached to the message. At most 50 keys\nand 4 KB of JSON, or the request fails with `validation_error`.\nReserved keys (`antispam` and any key starting with `robase_`) are\ndropped.\n"
    }
  }
}