Java JSON Schema Generator: https://github.com/victools/jsonschema-generator

Creates JSON Schema (Draft 6, Draft 7 or Draft 2019-09) from Java classes using Jackson.

Answer from Edgar Domingues on Stack Overflow
🌐
Jsonschema2pojo
jsonschema2pojo.org
jsonschema2pojo
Generate Plain Old Java Objects from JSON or JSON-Schema.
🌐
GitHub
github.com › victools › jsonschema-generator
GitHub - victools/jsonschema-generator: Java JSON Schema Generator – creating JSON Schema (Draft 6, Draft 7, Draft 2019-09, or Draft 2020-12) from Java classes
Creating JSON Schema (Draft 6, Draft 7, Draft 2019-09 or Draft 2020-12) from your Java classes utilising Jackson.
Starred by 538 users
Forked by 76 users
Languages   Java 74.4% | JavaScript 23.2% | SCSS 1.7%
🌐
Baeldung
baeldung.com › home › json › jackson › programmatic generation of json schemas in java
Programmatic Generation of JSON Schemas in Java | Baeldung
July 30, 2024 - It will be located at src\main\resources\schemas\com\baeldung\jsonschemageneration\plugin\Person.json. To generate it, let’s run mvn compile. The resulting schema respects every condition specified in the plugin configuration. In this article, we’ve used Java JSON Schema Generator to generate JSON Schemas in Java.
🌐
Victools
victools.github.io › jsonschema-generator
Introduction – API Reference
The victools:jsonschema-generator aims at allowing the generation of JSON Schema (Draft 6, Draft 7, Draft 2019-09 or Draft 2020-12) to document Java code. This is expressly not limited to JSON but also allows for a Java API to be documented (i.e.
🌐
GitHub
github.com › FasterXML › jackson-module-jsonSchema
GitHub - FasterXML/jackson-module-jsonSchema: (DEPRECATED for Jackson 3) Module for generating JSON Schema (v3) definitions from POJOs
ObjectMapper mapper = new ObjectMapper(); // configure mapper, if necessary, then create schema generator JsonSchemaGenerator schemaGen = new JsonSchemaGenerator(mapper); JsonSchema schema = schemaGen.generateSchema(SimpleBean.class); This will yield a java pojo representing a JSON Schema, which can itself easily be serialized with jackson, or configured with java.
Starred by 385 users
Forked by 137 users
Languages   Java 98.4% | Logos 1.3% | RPC 0.3% | Java 98.4% | Logos 1.3% | RPC 0.3%
🌐
JetBrains
plugins.jetbrains.com › plugin › 22597-json-schema-generator
JSON Schema Generator - IntelliJ IDEs Plugin | Marketplace
This is a plugin for generating a sample JSON Schema from a JSON file. To generate a sample JSON Schema file, follow these steps: Once installed, go to Tools -&gt...
🌐
JSON Schema
json-schema.org › tools
JSON Schema - Tools
Toolings below are written in different languages, and support part, or all, of at least one recent version of the specification · Listing does not signify a recommendation or endorsement of any kind
Find elsewhere
🌐
JSON Type Definition
jsontypedef.com › docs › java-codegen
Generating Java from JSON Typedef schemas
JSON Type Definition, aka RFC 8927, is an easy-to-learn, standardized way to define a schema for JSON data. You can use JSON Typedef to portably validate data across programming languages, create dummy data, generate code, and more. This article is about how you can use JSON Typedef to generate Java code from schemas.
🌐
GitHub
github.com › joelittlejohn › jsonschema2pojo
GitHub - joelittlejohn/jsonschema2pojo: Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc · GitHub
February 3, 2026 - jsonschema2pojo generates Java types from JSON Schema (or example JSON) and can annotate those types for data-binding with Jackson 2.x, Jackson 3.x, or Gson.
Starred by 6.4K users
Forked by 1.7K users
Languages   Java 97.4% | Groovy 1.9%
🌐
Maven Repository
mvnrepository.com › artifact › com.github.victools › jsonschema-generator
Maven Repository: com.github.victools » jsonschema-generator
February 10, 2026 - Java JSON Schema Generator – creating a JSON Schema (Draft 6, Draft 7 or Draft 2019-09) from your Java classes
🌐
Liquid Technologies
liquid-technologies.com › online-json-to-schema-converter
Free Online JSON to JSON Schema Converter
The Free Community Edition of Liquid Studio comes with an advanced JSON Editor, packed with many helpful features including JSON schema creation.
🌐
JSON Schema
json-schema.org › learn › getting-started-step-by-step
Creating your first schema
If you already know how to create JSON Schemas and you are looking for different JSON Schema use cases like schema generation, code generation, documentation, UI generation or JSON Schema processing or conversion, please visit Tools and explore the amazing tooling available in the JSON Schema ...
🌐
QuickType
quicktype.io › schema
JSON to JSON Schema
Generate JSON Schema models from JSON, JSON Schema, Postman collections, and GraphQL queries.Generate JSON Schema Now · C · C# C++ Crystal · Dart · Effect Schema · Elixir · Elm · Flow · Go · GraphQL · Haskell · Java · JavaScript · JSON Schema · Kotlin · Objective-C ·
🌐
JetBrains
plugins.jetbrains.com › plugin › 13733-pojo-to-json-schema
POJO to JSON Schema - IntelliJ IDEs Plugin | Marketplace
Generates JSON Schemas from Java classes. Generated json schemas locates under .generated-json-schemas folder. How to use Right click on Java class: Click POJO to JSON...
🌐
Apidog
apidog.com › blog › json-schema-generator
Find Your Perfect JSON Schema Generator: A Comparative Guide
February 9, 2026 - Focused on simplicity and ease of use, JSONSchema provides a straightforward web-based interface for converting JSON data into valid JSON Schema. ... User-friendly: Simple interface requiring minimal input to generate schemas. Online tool: No installation is required, making it accessible from anywhere. Customization: Allows for basic customizations of the generated schema.
🌐
NIST
pages.nist.gov › metaschema-java › metaschema-schema-generator › jacoco › gov.nist.secauto.metaschema.schemagen.json › JsonSchemaGenerator.java.html
JsonSchemaGenerator.java - NIST Pages
*/ package gov.nist.secauto.metaschema.schemagen.json; import com.fasterxml.jackson.core.JsonFactory; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonGenerator.Feature; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.JsonNodeFactory; import com.fasterxml.jackson.databind.node.ObjectNode; import gov.nist.secauto.metaschema.core.configuration.IConfiguration; import gov.nist.secauto.metaschema.core.model.IAssemblyDefinition; import gov.nist.secauto.metaschema.core.model.IModule; import gov.nist.secauto.metaschem
🌐
JSON Schema
json-schema.org
JSON Schema
Discover JSON Schema tooling to help your organization leverage the benefits of JSON Schema. Because JSON Schema is much more than a Specification, it is a vibrant ecosystem of Validators, Generators, Linters, and other JSON Schema Utilities made by this amazing Community.Explore