title: Checking for empty strings in Joi (hapi.js)
body: <p>I am using the Hapi.js framework along with Joi for data validation. I am trying to validate a JSON file using Joi. I have defined a schema and wanted to check whether the JSON file had all the fields from my schema.</p>
  
  <p>Some of the string fields can be empty. In my schema file when I defined <code>min</code> as <code>0</code>, it is saying <code>name</code> is a required field.</p>
  
  <p>I am using the schema below:</p>
  
  <pre class="lang-js prettyprint-override"><code>    module.exports = {
        "name": { "type": "string", "min": 0, "max": 30},
        "age": { "type": "number", "min": 1, "max": 36},
        "dob": { "type": "string", "min": 0, "max": 100 }
      }
  </code></pre>
  
  <p>How can I modify this schema to handle empty strings?</p>