New groupID !

Please note that with version 1.2.0, the Maven groupId for this project has changed from external.atlassian.json to io.atlassian.json-schemagen. We tried to get Maven relocations to work, with little success: there seems to be a bug when using that with plugins. We might publish the relocations anyway, but no promises at this stage. Just change to the new groupID!

JSON SchemaGen

JSON SchemaGen is a library that allows generating a JSON-Schema by annotating the same Java classes used for your JSON representations.

Essentially, the same classes you use to consume JSON can also be used to generate a JSON-Schema.


With Maven, add the plugin and configure it, e.g:

                            <!-- Optional: <generatorProvider></generatorProvider> -->