{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://docs.legalesign.com/schemas/send-batch-input.schema.json",
  "title": "SendBatchInput",
  "description": "Input for the sendBatch mutation. Creates a new batch and returns a batch ID (UUID) for subsequent sendBatchDocument calls.",
  "type": "object",
  "required": ["groupId"],
  "properties": {
    "groupId": {
      "type": "string",
      "description": "Base64-encoded group ID."
    },
    "batchName": {
      "type": "string",
      "description": "Batch reference name."
    },
    "enforceOrder": {
      "type": "boolean",
      "description": "Enforce document send order within the batch."
    },
    "notifySender": {
      "type": "boolean",
      "description": "Notify the sender when documents are completed."
    },
    "notifySenderAttach": {
      "type": "boolean",
      "description": "Attach the signed PDF to the sender notification email."
    },
    "notifyParticipants": {
      "type": "boolean",
      "description": "Notify participants when documents are completed."
    },
    "notifyParticipantsAttach": {
      "type": "boolean",
      "description": "Attach the signed PDF to participant notification emails."
    }
  }
}
