title: JSON tiny validator test doesn't work properly in POSTMAN
body: <p>[<a href="https://i.stack.imgur.com/qeFuv.png][1]" rel="nofollow noreferrer">https://i.stack.imgur.com/qeFuv.png][1]</a></p>
  
  <p>I've got few questions about CODE snippets, JSON tiny validator in particular (2) and test tab (1)
  I'm sending the following POST request ({‌{host}}:{‌{port}}/landlords/{‌{DC_id}}/apartments) to create apartment's instance.
  The body of the request is the following:
  <pre><code>
      {
      "address": "Zaharova Street 30",
      "price": 200,
      "square": 20,
      "features": [
      "Good Shopping Facilities","Metro","Recreation area nearby","Friendly and calm neighboors"
      ],
      "active": true
      }
  </pre></code>
  And the exact JSON validation test is the following:
  <pre><code></p>
  
  <pre><code>var schema = {
  "items": {
  "address": "Zaharova Street 30",
  "price": 200,
  "square": 20,
  "features": [
  "Good Shopping Facilities","Metro","Recreation area nearby","Friendly and calm neighboors"
  ],
  "active": true
  }
  };
  var data1 = [true, false];
  var data2 = [true, 123];
  tests["Valid Data1"] = tv4.validate(data1, schema);
  tests["Valid Data2"] = tv4.validate(data2, schema);
  console.log("Validation failed: ", tv4.error);
  </code></pre>
  
  <p></pre></code>
  I've decided to use this test in order to be sure that apartment was created with the exact parameters that were used in the request body.
  But I've found that if I change any value inside the JSON validation test (1), and resend the response (I've changed JSON data only in the test tab, not in the body tab) the test still being passed.
  [<a href="https://i.stack.imgur.com/8Dq7B.png][1]" rel="nofollow noreferrer">https://i.stack.imgur.com/8Dq7B.png][1]</a></p>
  
  <p>What is the problem ??? Could you show the example how to create that kind of stuff.
  Best Regards,
  Artsem.</p>