public ParseResult parse(File file) throws IOException, SchemaParseException {
    return parse(file, null);
  }
@Test
  void testParsePath() throws IOException {
    Path tempFile = Files.createTempFile("TestSchemaParser", null);
    Files.write(tempFile, singletonList(SCHEMA_JSON));

    Schema schema = new SchemaParser().parse(tempFile).mainSchema();
    assertEquals(SCHEMA_REAL, schema);
  }