title: Not able to validate a date with the json schema
body: <p>I want my date format to be MM-dd-yyyy, and as you said format=date takes yyyy-MM-dd.
  so can i create my own custom format=customdate? if yes, then how can it be acheived?
  here's my requirements and my problems
  Requirement
  Store date in MM-dd-yyyy format into my JSON object as type string after validating my JSON object with the JSON schema
  Problem
  Getting ErrorType=Format validation error when I try to validate MM-dd-yyyy date with the JSON schema</p>
  <p>The Validation Error which I am getting is String '09-09-1966' does not validate against format 'date'.</p>
  <p>MY JSON SCHEMA LOOKS LIKE THIS</p>
  <pre><code>&quot;title&quot;: myjsonschema,
  &quot;type&quot;: &quot;object&quot;,
  &quot;properties&quot;: {
    &quot;birthDate&quot;: {
      &quot;type&quot;: [
               &quot;string&quot;,
               &quot;null&quot;
              ],
      &quot;format&quot;: &quot;date&quot;,
      &quot;pattern&quot;: &quot;^(0?[1-9]|1[012])\\-(0?[1-9]|[12][0-9]|3[01])\\-\\d{4}$&quot;,
      &quot;message&quot;: {
               &quot;pattern&quot;: &quot;This field should be in mm-dd-yyyy format&quot;
      }
    }
  }
  
  </code></pre>
  <p>MY JSON OBJECT</p>
  <pre><code>{&quot;birthday&quot;:&quot;09-09-1966&quot;}
  </code></pre>