I'm trying to use an external reference in Postman and validating that with tv4. This is my code:
var schema = tv4.getSchema('https://schema.getpostman.com/json/collection/v1/');
console.log(tv4.validate(responseBody, schema);
and after testing I get
'TypeError Cannot read property '$ref' of undefined'
.
Does that mean my schema is not valid somehow?