diff --git a/src/main/java/com/github/fge/jsonschema/main/cli/Reporters.java b/src/main/java/com/github/fge/jsonschema/main/cli/Reporters.java index 1efd2ce07..0783e533b 100644 --- a/src/main/java/com/github/fge/jsonschema/main/cli/Reporters.java +++ b/src/main/java/com/github/fge/jsonschema/main/cli/Reporters.java @@ -57,7 +57,7 @@ public RetCode validateInstance(final JsonSchema schema, throws IOException, ProcessingException { final ListProcessingReport report - = (ListProcessingReport) schema.validate(node); + = (ListProcessingReport) schema.validate(node, true); final boolean success = report.isSuccess(); System.out.println("--- BEGIN " + fileName + "---"); System.out.println("validation: " + (success ? "SUCCESS"