The repositor contains classes for generating JSON schemas from JVM classes. The generator can be used directly. However, the intended approach is to use a build plugin, e.g. the Creek JSON schema Gradle plugin.
See CreekService.org for info on Creek Service.