@@ -70,12 +70,12 @@ processCreate.schema = {
70
70
id : Joi . string ( ) . uuid ( ) . required ( ) ,
71
71
projectId : Joi . number ( ) . integer ( ) . required ( ) ,
72
72
externalId : Joi . string ( ) ,
73
- description : Joi . string ( ) ,
73
+ description : Joi . stringAllowEmpty ( ) ,
74
74
title : Joi . title ( ) . required ( ) ,
75
75
startDate : Joi . date ( ) ,
76
76
endDate : Joi . date ( ) ,
77
77
numPositions : Joi . number ( ) . integer ( ) . min ( 1 ) . required ( ) ,
78
- resourceType : Joi . string ( ) ,
78
+ resourceType : Joi . stringAllowEmpty ( ) ,
79
79
rateType : Joi . rateType ( ) ,
80
80
workload : Joi . workload ( ) ,
81
81
skills : Joi . array ( ) . items ( Joi . string ( ) . uuid ( ) ) . required ( ) ,
@@ -119,12 +119,12 @@ processUpdate.schema = {
119
119
id : Joi . string ( ) . uuid ( ) . required ( ) ,
120
120
projectId : Joi . number ( ) . integer ( ) ,
121
121
externalId : Joi . string ( ) ,
122
- description : Joi . string ( ) ,
122
+ description : Joi . stringAllowEmpty ( ) ,
123
123
title : Joi . title ( ) ,
124
124
startDate : Joi . date ( ) ,
125
125
endDate : Joi . date ( ) ,
126
126
numPositions : Joi . number ( ) . integer ( ) . min ( 1 ) ,
127
- resourceType : Joi . string ( ) ,
127
+ resourceType : Joi . stringAllowEmpty ( ) ,
128
128
rateType : Joi . rateType ( ) ,
129
129
workload : Joi . workload ( ) ,
130
130
skills : Joi . array ( ) . items ( Joi . string ( ) . uuid ( ) ) ,
0 commit comments