{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://docs.legalesign.com/schemas/send-batch-document-input.schema.json",
  "title": "SendBatchDocumentInput",
  "description": "Input for the sendBatchDocument mutation. Adds a document to an existing batch.",
  "type": "object",
  "required": ["batchId", "document"],
  "properties": {
    "batchId": {
      "type": "string",
      "format": "uuid",
      "description": "Batch ID (UUID) returned by the sendBatch mutation."
    },
    "sendOrder": {
      "type": "integer",
      "description": "Order of this document within the batch (0-indexed)."
    },
    "document": {
      "$ref": "https://docs.legalesign.com/schemas/send-input.schema.json",
      "description": "Document settings (same structure as the send mutation input)."
    }
  }
}
