title: JSON-schema: validating an integer formatted in a string with min and max values
body: <p>Through a json schema validator (like <code>z-schema</code>), I would like to validate an integer formatted in a string, e.g.:</p>
  
  <pre><code>{
      "myvalue": "45"
  }
  </code></pre>
  
  <p>Currently, the following validation schema is:</p>
  
  <pre><code>{
      "type": "string",
      "pattern": "^[0-9]+$"
  }
  </code></pre>
  
  <p>However, now it would be great to be able to validate a minimum and maximum value, like:</p>
  
  <pre><code>{
      "type": "integer",
      "minimum": 0,
      "maximum": 32
   }
  </code></pre>
  
  <p>However the above json value "45" is not an integer.</p>