Generate json schema from json
you can generate json schema online through the following website.
Generate pojo by maven
Add the following maven configuration to your pom.xml, and execute maven command. you will find pojo generated by maven in your project.
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
</properties>