* @param debug Default = false - set to true if generator should log some debug info while generating the schema
* @param config default = vanillaJsonSchemaDraft4. Please use html5EnabledSchema if generating HTML5 GUI, e.g. using https://github.com/jdorn/json-editor