{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://docs.legalesign.com/schemas/send-bulk-input.schema.json",
  "title": "SendBulkInput",
  "description": "Input for the sendBulk mutation. Dispatches all queued documents in a bulk send task.",
  "type": "object",
  "required": ["groupId", "bulkId"],
  "properties": {
    "groupId": {
      "type": "string",
      "description": "Base64-encoded group ID."
    },
    "bulkId": {
      "type": "string",
      "format": "uuid",
      "description": "Bulk task ID (UUID) returned by the startBulk mutation."
    },
    "name": {
      "type": "string",
      "description": "Reference name for the bulk send."
    },
    "enforceOrder": {
      "type": "boolean",
      "description": "Enforce document send order within the bulk."
    },
    "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."
    }
  }
}
