From 5ddd18b0fee9a751232943bb2c024b66ae5aa529 Mon Sep 17 00:00:00 2001 From: Anthony Benites <104385099+ec2sw@users.noreply.github.com> Date: Tue, 9 Aug 2022 09:50:15 -0400 Subject: [PATCH] feat: update validation for governance API response schema --- src/validations/governance.validations.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/validations/governance.validations.js b/src/validations/governance.validations.js index e4985300..b900a7e5 100644 --- a/src/validations/governance.validations.js +++ b/src/validations/governance.validations.js @@ -25,6 +25,10 @@ export const governancePickListSchema = Joi.object().keys({ ratingType: Joi.array().items(Joi.string()).min(1).required(), unitType: Joi.array().items(Joi.string()).min(1).required(), unitStatus: Joi.array().items(Joi.string()).min(1).required(), + verificationBody: Joi.array().items(Joi.string()).min(1).required(), + projectTags: Joi.array().items(Joi.string()).min(1).required(), + unitTags: Joi.array().items(Joi.string()).min(1).required(), + coBenefits: Joi.array().items(Joi.string()).min(1).required(), correspondingAdjustmentDeclaration: Joi.array() .items(Joi.string()) .min(1)