added definitions for joi
Merge pull request #2064 from Bartvds/def/joi

created definitions for joi