I recently discovered JSON schema by reading the Postman docs and I would like to incorporate this nifty feature in my tests. I discovered that AJV validatior is built-in in the Postman sandbox so naturally I’m using that one over tv4.
The problem I encountered is when I write the JSON Schema format for a property, the assertion passes when it should have failed.
This is the property:
and in my response I get:
Does the schema validation even validate by format? If not, how can this be enabled?