# Schema validation tv4 return true at all times

**URL:** <https://community.postman.com/t/schema-validation-tv4-return-true-at-all-times/7257>\
**Category:** Help Hub\
**Tags:** schema\
**Created:** [August 20, 2019, 8:26am UTC](https://community.postman.com/t/schema-validation-tv4-return-true-at-all-times/7257 "2019-08-20T08:26:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [August 20, 2019, 3:39pm UTC](https://community.postman.com/t/schema-validation-tv4-return-true-at-all-times/7257/2 "2019-08-20T15:39:59Z")

</div>

Hey @Kurmavatar,

What’s the response body for this?

I would recommend using `Ajv` over `tv4` within Postman - There have been a few questions around this module recently with some extra information about how it could be used.

> [@Testing Properties and Arrays correctly in GET](https://community.postman.com/t/testing-properties-and-arrays-correctly-in-get/7133/13):
>
> I managed to get something to work, after banging my head against a wall for hours. I do agree this schema validation stuff may be a lot more than I can handle at the moment, so I may go back to what I had originally. It’s been a learning experience though! If you’re interested by the way, this is what I found would actually test Passes & fails correctly: const jsonData = pm.response.json(); pm.test('Schema is valid', function() { var Ajv = require('ajv'); ajv = new Ajv(), schem…

---

_[View the full topic](https://community.postman.com/t/schema-validation-tv4-return-true-at-all-times/7257)._
