docs: function validate (type, value) {
    switch (type) {
      case 'options':
      case 'preformatterOutput':
      case 'postformatterOutput':
        return joi.attempt(value, validators[type])
      case 'format':
      case 'formatLabel':
      case 'token':
      case 'tokenLabel':
        return joi.assert(value, validators[type])
      default:
        return value
    }
  }