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
🌐
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
Java JSON Schema Generator – creating JSON Schema (Draft 6, Draft 7, Draft 2019-09, or Draft 2020-12) from Java classes - victools/jsonschema-generator
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.
🌐
Jsonschema2pojo
jsonschema2pojo.org
jsonschema2pojo
Generate Plain Old Java Objects from JSON or JSON-Schema.
🌐
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 ...
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
🌐
Javadoc.io
javadoc.io › doc › com.github.victools › jsonschema-generator › 4.0.1 › com › github › victools › jsonschema › generator › SchemaGenerator.html
SchemaGenerator (Java JSON Schema Generator 4.0.1 API)
Bookmarks · Latest version of com.github.victools:jsonschema-generator · https://javadoc.io/doc/com.github.victools/jsonschema-generator · Current version 4.0.1 · https://javadoc.io/doc/com.github.victools/jsonschema-generator/4.0.1 · package-list path (used for javadoc generation -link ...
🌐
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
🌐
JSON Type Definition
jsontypedef.com › docs › java-codegen
Generating Java from JSON Typedef schemas
Support for Gson is planned but not yet implemented. You can generate Java with jtd-codegen using the --java-jackson-out option, whose value must be a directory that jtd-codegen can generate code into.
🌐
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...
🌐
JSON Schema
json-schema.org › learn › getting-started-step-by-step
Creating your first schema
This tutorial guides you through the process of creating a JSON Schema.
🌐
TutorialsPoint
tutorialspoint.com › json-schema-support-using-jackson-in-java
JSON Schema Support using Jackson in Java?
July 8, 2020 - We can generate the JSON schema using the generateSchema() method of JsonSchemaGenerator, this class wraps the JSON schema generation functionality. public JsonSchema generateSchema(Class<T> type) throws com.fasterxml.jackson.databind.JsonMappingException · import com.fasterxml.jackson.co...
🌐
GitHub
github.com › simplymequeeny › json-string-schema-generator
GitHub - simplymequeeny/json-string-schema-generator: Generates JSON Schema based from JSON data using JAVA
August 9, 2017 - Generates JSON Schema or POJO based from JSON data using JAVA
Starred by 25 users
Forked by 16 users
Languages   Java 100.0% | Java 100.0%
🌐
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 ·
🌐
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%
🌐
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