From 43f40464aafe2208a01ea8bf19574ec521fc7f3f Mon Sep 17 00:00:00 2001 From: Touhidur Rahman Date: Fri, 25 Oct 2024 19:13:30 +0600 Subject: [PATCH] pkp/pkp-lib#4787 submission schema update to handle reviewer suggestions --- schemas/submission.json | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/schemas/submission.json b/schemas/submission.json index f82291ba5e9..f41429442ab 100644 --- a/schemas/submission.json +++ b/schemas/submission.json @@ -30,22 +30,49 @@ "type": "integer" }, "familyName" : { - "type": "string" + "type": "string", + "multilingual": true, + "apiSummary": true }, "givenName": { - "type": "string" + "type": "string", + "multilingual": true, + "apiSummary": true + }, + "fullName": { + "type": "string", + "multilingual": true, + "apiSummary": true }, "email": { - "type": "string" + "type": "string", + "apiSummary": true }, "orcidId": { "type": "string", + "apiSummary": true, "validation": [ "nullable" ] }, "suggestionReason": { - "type": "string" + "type": "string", + "multilingual": true, + "apiSummary": true + }, + "affiliation" : { + "type": "string", + "multilingual": true, + "apiSummary": true + }, + "approvedAt": { + "type": "string", + "apiSummary": true, + "description": "The date suggestion was approved as reviewer.", + "validation": [ + "nullable", + "date:Y-m-d H:i:s" + ] } } }