private void testSchemasInFolder(Path path) throws IOException {
    var schemaFiles = Files.walk(path)
      .filter(p -> p.getFileName().toString().endsWith(".yml"))
      .filter(p -> !p.getFileName().toString().endsWith("spec.yml"))
      .toList();

    assertFalse(schemaFiles.isEmpty(), "No files found");

    for (Path schemaFile : schemaFiles) {
      var schemaConfig = SchemaConfig.load(schemaFile);
      var root = Contexts.buildRootContext(Arguments.of(), schemaConfig.args());
      assertNotNull(schemaConfig, () -> "Failed to unmarshall " + schemaFile.toString());
      new ConfiguredProfile(schemaConfig, root);
    }
  }
Test to ensure that all bundled schemas load to POJOs.

@throws Exception
planetiler-custommap/src/test/java/com/onthegomap/planetiler/custommap/SchemaYAMLLoadTest.java