File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,13 @@ processCreate.schema = {
40
40
payload : Joi . object ( ) . keys ( {
41
41
id : Joi . string ( ) . uuid ( ) . required ( ) ,
42
42
projectId : Joi . number ( ) . integer ( ) . required ( ) ,
43
- externalId : Joi . string ( ) . required ( ) ,
44
- description : Joi . string ( ) . required ( ) ,
43
+ externalId : Joi . string ( ) ,
44
+ description : Joi . string ( ) ,
45
45
title : Joi . title ( ) . required ( ) ,
46
- startDate : Joi . date ( ) . required ( ) ,
47
- endDate : Joi . date ( ) . required ( ) ,
46
+ startDate : Joi . date ( ) ,
47
+ endDate : Joi . date ( ) ,
48
48
numPositions : Joi . number ( ) . integer ( ) . min ( 1 ) . required ( ) ,
49
- resourceType : Joi . string ( ) . required ( ) ,
49
+ resourceType : Joi . string ( ) ,
50
50
rateType : Joi . rateType ( ) ,
51
51
workload : Joi . workload ( ) ,
52
52
skills : Joi . array ( ) . items ( Joi . string ( ) . uuid ( ) ) . required ( ) ,
You can’t perform that action at this time.
0 commit comments