Struggling to find anything about this in the docs - is it possible to reference multiple values?
Say I have a schema that takes 3 numbers (a, b, c), is it possible to set a max property on c based on a and b. Something like the following:
joi.object().keys({
a: joi.number(),
b: joi.number(),
c: joi.number().max(joi.ref('a') + joi.ref('b'))
})