const Joi = require('@hapi/joi')

module.exports = Joi.object().pattern(/^/, Joi.array().items(Joi.string()))

const Joi = require('@hapi/joi')

module.exports = Joi.object().pattern(/^/, Joi.alternatives(
  Joi.string().valid(''),
  Joi.array().items(Joi.string())
))

Allow empty string for filter schema for deletions
Allow empty string for filter schema for deletions
