{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/textforagents-com/json-schema/textforagents-com-send-message-schema.json",
  "title": "SendMessage",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/textforagents-com-messages-api-openapi.yml#/components/schemas/SendMessage",
  "properties": {
    "from_number": {
      "maxLength": 32,
      "minLength": 5,
      "title": "From Number",
      "type": "string"
    },
    "idempotency_key": {
      "maxLength": 200,
      "minLength": 1,
      "title": "Idempotency Key",
      "type": "string"
    },
    "optimize": {
      "default": false,
      "title": "Optimize",
      "type": "boolean"
    },
    "text": {
      "maxLength": 1600,
      "minLength": 1,
      "title": "Text",
      "type": "string"
    },
    "to": {
      "maxLength": 32,
      "minLength": 5,
      "title": "To",
      "type": "string"
    }
  },
  "required": [
    "from_number",
    "to",
    "text",
    "idempotency_key"
  ],
  "type": "object"
}