@@ -70,12 +70,12 @@ processCreate.schema = {
7070 id : Joi . string ( ) . uuid ( ) . required ( ) ,
7171 projectId : Joi . number ( ) . integer ( ) . required ( ) ,
7272 externalId : Joi . string ( ) ,
73- description : Joi . string ( ) ,
73+ description : Joi . stringAllowEmpty ( ) ,
7474 title : Joi . title ( ) . required ( ) ,
7575 startDate : Joi . date ( ) ,
7676 endDate : Joi . date ( ) ,
7777 numPositions : Joi . number ( ) . integer ( ) . min ( 1 ) . required ( ) ,
78- resourceType : Joi . string ( ) ,
78+ resourceType : Joi . stringAllowEmpty ( ) ,
7979 rateType : Joi . rateType ( ) ,
8080 workload : Joi . workload ( ) ,
8181 skills : Joi . array ( ) . items ( Joi . string ( ) . uuid ( ) ) . required ( ) ,
@@ -119,12 +119,12 @@ processUpdate.schema = {
119119 id : Joi . string ( ) . uuid ( ) . required ( ) ,
120120 projectId : Joi . number ( ) . integer ( ) ,
121121 externalId : Joi . string ( ) ,
122- description : Joi . string ( ) ,
122+ description : Joi . stringAllowEmpty ( ) ,
123123 title : Joi . title ( ) ,
124124 startDate : Joi . date ( ) ,
125125 endDate : Joi . date ( ) ,
126126 numPositions : Joi . number ( ) . integer ( ) . min ( 1 ) ,
127- resourceType : Joi . string ( ) ,
127+ resourceType : Joi . stringAllowEmpty ( ) ,
128128 rateType : Joi . rateType ( ) ,
129129 workload : Joi . workload ( ) ,
130130 skills : Joi . array ( ) . items ( Joi . string ( ) . uuid ( ) ) ,
0 commit comments