Register reviews for manuscripts in Crossref in article publishing configuration
This issue has been edited since Thursday's dev night
We need to register all reviews for manuscripts in Crossref when Kotahi is in the "reviews" publishing configuration. All reviews means both reviews specified in the submission form (review1, review2, etc.) AND reviews attached to the manuscript but submitted through the review form. The latter type of review is accessible in a manuscript object's reviews
property.
You will need to edit the publishReviewsToCrossref
function to include the review-form submitted reviews in the larger JSON object that represents all peer-reviews being registered. The DOI suffix for these reviews is complicated. Here's an idea:
The suffix for the reviews established using submission properties (review1, review2, etc.) is {manuscript.id}/{reviewNumber}. Please change this to be {decisionFormDOISuffix}/{reviewNumber}
The suffix for reviews established using the review form (not yet implemented) should be {decisionFormDOISuffix}/{reviewIndexInReviewsList + 4}. This way, these reviews start after the ones from the submission form.