Hey @jshea,
Just jumping in here, I was able to log those errors to the Test Results
by using the additional argument on the pm.expect()
function.
This test is slightly different from the way you have it but it should hopefully show you the method I used.
pm.test('Schema is valid', function() {
pm.expect(ajv.validate(schema, pm.response.json()), JSON.stringify(ajv.errors)).to.be.true;
});
This was taken from this question: