private void generateSchema(PotentialSchemaClass potentialTarget) throws MojoExecutionException {
        // Load the class for which the schema will be generated
        Class<?> schemaClass = this.loadClass(potentialTarget.getFullClassName());
        if (this.skipInterfaces && schemaClass.isInterface()) {
            this.getLog().info("- Skipping interface " + potentialTarget.getFullClassName());
        } else if (this.skipAbstractTypes && this.isAbstractClass(schemaClass)) {
            this.getLog().info("- Skipping abstract type " + potentialTarget.getFullClassName());
        } else {
            this.generateSchema(schemaClass);
        }
    }
Generate the JSON schema for the indicated type matching a class name or package pattern. Considering further config flags potentially skipping
the schema file generation.

@param potentialTarget class to produce JSON schema file for
@throws MojoExecutionException In case of problems
jsonschema-maven-plugin/src/main/java/com/github/victools/jsonschema/plugin/maven/SchemaGeneratorMojo.java