title: how to test a json file with json schema file
body: <p>I'm newbie to json. I'm learning more things in Json schema but I stood helpless in testing  my <strong>user.json</strong> file against json-schema.json file. Please note I need to test with a javascript variable which should return either true or false to process further. Hereby I  pasted my files.</p>
  
  <p><strong>json-schema.json</strong></p>
  
  <pre><code>{
    "description": "Any validation failures are shown in the right-hand Messages pane.",
    "type": "object",
    "properties": {
      "foo": {
        "type": "number"
      },
      "bar": {
        "type": "string",
        "enum": [
          "a",
          "b",
          "c"
        ]
      }
    }
  }
  </code></pre>
  
  <p><strong>user.json</strong></p>
  
  <pre><code>{
   "foo": 12345,
   "bar": "a"
  }
  </code></pre>
  
  <p>When I tested the above code in <a href="http://jsonschemalint.com/#/version/draft-05/markup/json" rel="nofollow noreferrer">http://jsonschemalint.com/#/version/draft-05/markup/json</a>   IT say's <strong>user.json</strong> is in right format. But I need to test locally   </p>
  
  <p><strong><em>Thanks in advance.</em></strong></p>