code: public void dumpSchema() {
          String fileName = m_config.root + m_config.app + ".xml";
          m_logger.info("Writing schema to: {}", fileName);
          File schemaFile = new File(fileName);
          schemaFile.getParentFile().mkdirs();
          try (FileWriter fileWriter = new FileWriter(schemaFile)) {
              fileWriter.write(m_appDef.toDoc().toXML(true));
          } catch (IOException ex) {
              m_logger.error("Unable to dump schema file '" + fileName + "'", ex);
              throw new RuntimeException(ex);
          }
      }
docs: Save the schema to the root folder, named <app>.xml.