{
	"title": "Review Assignment",
	"description": "An assignment to the reviewer to review a submission.",
	"required": [
		"submissionId",
		"reviewerId",
		"reviewRoundId",
		"stageId"
	],
	"properties": {
		"_href": {
			"type": "string",
			"description": "A URL to this object in the REST API.",
			"readOnly": true,
			"apiSummary": true
		},
		"cancelled": {
			"type": "boolean",
			"description": "Indicates whether review assignment was cancelled",
			"apiSummary": true
		},
		"comments": {
			"type": "string",
			"description": "Comments from a reviewer",
			"apiSummary": true,
			"validation": [
				"nullable"
			]
		},
		"competingInterests": {
			"type": "string",
			"description": "Reviewer's competing interests",
			"apiSummary": true,
			"validation": [
				"nullable"
			]
		},
		"considered": {
			"type": "integer",
			"description": "Whether editor considered a review assignment request",
			"apiSummary": true,
			"validation": [
				"in:0,1,2,3,4"
			]
		},
		"dateConsidered": {
			"type": "string",
			"description": "Date when the editor confirmed the review",
			"validation": [
				"date:Y-m-d H:i:s",
				"nullable"
			],
			"apiSummary": true
		},
		"dateAcknowledged": {
			"type": "string",
			"description": "Date editor was familiarized with the review",
			"validation": [
				"date:Y-m-d H:i:s",
				"nullable"
			],
			"apiSummary": true
		},
		"dateAssigned": {
			"type": "string",
			"description": "Date the reviewer was assigned to the submission",
			"validation": [
				"date:Y-m-d H:i:s",
				"nullable"
			],
			"apiSummary": true
		},
		"dateCancelled": {
			"type": "string",
			"description": "Date the reviewer cancelled the assignment",
			"validation": [
				"date:Y-m-d H:i:s",
				"nullable"
			],
			"apiSummary": true
		},
		"dateConfirmed": {
			"type": "string",
			"description": "Date the reviewer confirmed the assignment to the submission",
			"validation": [
				"date:Y-m-d H:i:s",
				"nullable"
			],
			"apiSummary": true
		},
		"dateCompleted": {
			"type": "string",
			"description": "Date the assignment was completed",
			"validation": [
				"date:Y-m-d H:i:s",
				"nullable"
			],
			"apiSummary": true
		},
		"dateDue": {
			"type": "string",
			"description": "Date the review assignment should be completed",
			"validation": [
				"date:Y-m-d H:i:s",
				"nullable"
			],
			"apiSummary": true
		},
		"dateNotified": {
			"type": "string",
			"description": "Date the reviewer was notified about the assignment",
			"validation": [
				"date:Y-m-d H:i:s",
				"nullable"
			],
			"apiSummary": true
		},
		"dateRated": {
			"type": "string",
			"description": "Date the submission was rated by the reviewer",
			"validation": [
				"date:Y-m-d H:i:s",
				"nullable"
			],
			"apiSummary": true
		},
		"dateReminded": {
			"type": "string",
			"description": "Date the reviewer was reminded about the assignment",
			"validation": [
				"date:Y-m-d H:i:s",
				"nullable"
			],
			"apiSummary": true
		},
		"dateResponseDue": {
			"type": "string",
			"description": "Date until which the response from reviewer is expected",
			"validation": [
				"date:Y-m-d H:i:s",
				"nullable"
			],
			"apiSummary": true
		},
		"declined": {
			"type": "boolean",
			"description": "Whether review assignment was declined by tge reviewer",
			"apiSummary": true
		},
		"id": {
			"type": "integer",
			"description": "The id of this review assignment",
			"readOnly": true,
			"apiSummary": true
		},
		"lastModified": {
			"type": "string",
			"description": "Date of the most recent assignment update",
			"validation": [
				"date:Y-m-d H:i:s",
				"nullable"
			],
			"apiSummary": true,
			"writeDisabledInApi": true
		},
		"quality": {
			"type": "integer",
			"description": "Assessment of the review quality",
			"apiSummary": true,
			"validation": [
				"nullable"
			]
		},
		"recommendation": {
			"type": "integer",
			"description": "Reviewer's recommendation",
			"apiSummary": true,
			"validation": [
				"nullable"
			]
		},
		"requestResent": {
			"type": "boolean",
			"description": "Whether the review request was resent to the reviewer",
			"apiSummary": true
		},
		"reminderWasAutomatic": {
			"type": "boolean",
			"description": "Whether the reminder for the reviewer about the assignment was send automatically",
			"apiSummary": true
		},
		"reviewerFullName": {
			"type": "string",
			"description": "The full name of the reviewer",
			"readOnly": true,
			"apiSummary": true
		},
		"reviewerId": {
			"type": "integer",
			"description": "reviewer's unique ID",
			"apiSummary": true,
			"validation": [
				"nullable"
			]

		},
		"reviewFormId": {
			"type": "integer",
			"description": "The ID of the custom review form",
			"apiSummary": true,
			"validation": [
				"nullable"
			]
		},
		"reviewMethod": {
			"type": "integer",
			"description": "The method used in the review. One of the SUBMISSION_REVIEW_METHOD_ constants",
			"apiSummary": true
		},
		"reviewRoundId": {
			"type": "integer",
			"description": "The ID of the review round",
			"apiSummary": true
		},
		"round": {
			"type": "integer",
			"description": "The round of the review stage",
			"apiSummary": true
		},
		"stageId": {
			"type": "integer",
			"description": "The ID of the review stage: external or internal review",
			"apiSummary": true
		},
		"status": {
			"type": "integer",
			"description": "The status of the review assignment. One of the REVIEW_ASSIGNMENT_STATUS_ constants",
			"apiSummary": true
		},
		"step": {
			"type": "integer",
			"description": "The current step of the reviewer form",
			"apiSummary": true
		},
		"submissionId": {
			"type": "integer",
			"description": "The ID of the submission associated with the assignment",
			"apiSummary": true
		},
		"submissionStageId": {
			"type": "integer",
			"description": "The stage of the editorial workflow that this submission is currently in. One of the `WORKFLOW_STAGE_ID_` constants. Default is `WORKFLOW_STAGE_ID_SUBMISSION`.",
			"apiSummary": true,
			"writeDisabledInApi": true,
			"validation": [
				"min:1",
				"max:5"
			]
		},
		"submissionLocale": {
			"type": "string",
			"description": "The locale of the submission associated with the assignment",
			"apiSummary": true
		},
		"publicationTitle": {
			"type": "string",
			"multilingual": true,
			"description": "The title of the associated with the current publication",
			"readOnly": true
		},
		"orcidReviewPutCode": {
			"type": "string",
			"description": "Put Code for a review work submitted to ORCID.",
			"apiSummary": false,
			"validation": [
				"nullable"
			]
		}
	}
}
