The current popup to create a version does not allow the input of a comment (as it is possible in the JSF UI), please add an input field for the comment.
NXP-22548 Allow to read a contextData object on DocumentModelJsonReader
NXP-23319 Allow to put a comment when updating a document through the REST API