diff --git a/schema.js b/schema.js index 6c9de60c..df544677 100644 --- a/schema.js +++ b/schema.js @@ -35,7 +35,9 @@ module.exports = Joi.object().keys({ retries: Joi.number().integer().optional().default(3).min(0), }).unknown(false).requiredKeys('url'), placeholder: Joi.object().keys({ - url: Joi.string().uri({ scheme: /https?/ }) + url: Joi.string().uri({ scheme: /https?/ }), + timeout: Joi.number().integer().optional().default(250).min(0), + retries: Joi.number().integer().optional().default(3).min(0), }).unknown(false).requiredKeys('url') }).unknown(false).default({}) // default api.services to an empty object