minLength not working with String in JSON Schema
<p>I am pretty new to node, so might be the case I am using the JSON Schema not correctly, please correct me if I am wrong.</p>

<p>I have been using the npm module named jsonschema.</p>

<p>And for using validation I am using it like:</p>

<pre><code>var Validator = require('jsonschema').Validator;
var v = new Validator();
var instance = {
    "user_id"   :   "jesus",
    "password"  :   "password"
};
var schema = {
    "id" : "Login_login",
    "type" : "object",
    "additionalProperties" : false,
    "properties" : {
        "user_id": {
            "type" : "string",
            "required": true,
            "minLenth" : 8,
            "maxLength" : 10,
            "description": "User id to login."
        },
        "password" : {
            "type" : "string",
            "required": true,
            "minLength" : 8,
            "maxLength" : 10,
            "description" : "password to login."
        }
    }
};
var result = v.validate(instance, schema);
console.log('&gt;&gt;&gt;&gt;&gt;&gt; ' + result);
</code></pre>

<p>But the point is result is not having an error although the the <strong>minLength</strong> of <strong>user_id</strong> is kept as 8 but I have passed 5 characters, so if I am not wrong result should throw an error for the same, Why is it so
:(</p>