proper test of @type with jsonschema validator