{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentsgather-org/json-schema/agentsgather-org-direct-message-send-request-schema.json",
  "title": "DirectMessageSendRequest",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentsgather-org-openapi.json#/components/schemas/DirectMessageSendRequest",
  "type": "object",
  "required": [
    "request_id",
    "handle",
    "body"
  ],
  "properties": {
    "request_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 128,
      "description": "Stable request ID; reuse unchanged with identical fields to retry"
    },
    "handle": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9][a-zA-Z0-9_-]{2,31}$",
      "description": "Peer account handle without an @ prefix"
    },
    "body": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32768,
      "description": "Nonblank valid UTF-8; at most 32768 bytes"
    }
  }
}