diff --git a/src/utils/validations/HgvValidations.ts b/src/utils/validations/HgvValidations.ts index d00cc638..25a527c0 100644 --- a/src/utils/validations/HgvValidations.ts +++ b/src/utils/validations/HgvValidations.ts @@ -21,7 +21,7 @@ export const hgvValidation = commonSchema.keys({ roadFriendly: Joi.boolean().allow(null, ""), drawbarCouplingFitted: Joi.boolean().allow(null, ""), offRoad: Joi.boolean().optional().allow(null, ""), - make: Joi.string().max(30).allow(null, ""), + make: Joi.string().max(50).allow(null, ""), model: Joi.string().max(30).allow(null, ""), speedLimiterMrk: Joi.boolean().allow(null, ""), tachoExemptMrk: Joi.boolean().allow(null, ""), diff --git a/src/utils/validations/PsvValidations.ts b/src/utils/validations/PsvValidations.ts index 1456e0e8..4d0406ef 100644 --- a/src/utils/validations/PsvValidations.ts +++ b/src/utils/validations/PsvValidations.ts @@ -126,9 +126,9 @@ export const psvValidation = commonSchema.keys({ .allow(null, "") .allow(null, ""), coifDate: Joi.date().format("YYYY-MM-DD").raw().optional().allow(null, ""), - bodyMake: Joi.string().max(20).allow(null, ""), + bodyMake: Joi.string().max(50).allow(null, ""), bodyModel: Joi.string().max(20).allow(null, ""), - chassisMake: Joi.string().max(20).allow(null, ""), + chassisMake: Joi.string().max(50).allow(null, ""), chassisModel: Joi.string().max(20).allow(null, ""), modelLiteral: Joi.string().max(30).optional().allow(null, ""), speedRestriction: Joi.number().min(0).max(99).optional().allow(null, ""), diff --git a/src/utils/validations/TrlValidations.ts b/src/utils/validations/TrlValidations.ts index d6dbb698..4bf9ebe8 100644 --- a/src/utils/validations/TrlValidations.ts +++ b/src/utils/validations/TrlValidations.ts @@ -59,7 +59,7 @@ export const trlValidation = commonSchema.keys({ .allow(null, ""), authIntoService: authIntoService, letterOfAuth: letterOfAuth, - make: Joi.string().max(30).allow(null, ""), + make: Joi.string().max(50).allow(null, ""), model: Joi.string().max(30).allow(null, ""), grossEecWeight: Joi.number().min(0).max(99999).optional().allow(null), axles: Joi.array().items(