You can try the JSON Schema Faker. It will take a schema and generate/output a JSON object that will validate against the schema.

Code available on githubcom

Answer from Eric Olson on Stack Overflow
🌐
Amir9480
amir9480.github.io β€Ί json-schema-builder
JSON Schema Builder & Generator
Build, visualize, and generate JSON schemas with an intuitive drag-and-drop interface and AI assistance. Define reusable types, preview forms, and generate data.
🌐
Newtonsoft
newtonsoft.com β€Ί jsonschema β€Ί help β€Ί html β€Ί GeneratingSchemas.htm
Generating Schemas
Schema generation is performed by the JSchemaGenerator object. It maps .NET objects, collections, properties, and their attributes to their JSON Schema equivalent.
Discussions

java - Generate sample Json output from Json Schema - Stack Overflow
I want to know whether there is a method in which I can generate sample json output based on a json schema input. For example of the following input: { "title": "Example Schema&quo... More on stackoverflow.com
🌐 stackoverflow.com
JSON schema generator
I just searched google and these 2 popped up: JSON Schema Tool Free Online JSON to JSON Schema Converter Both seem to work fine More on reddit.com
🌐 r/vscode
4
17
September 20, 2021
JSON Schema generator
I’ve been using https://github.com/deepmap/oapi-codegen for this exact purpose as I found it to be the most robust. You need to convert the schemas to OpenAPI specs first though (IIRC there are tools for that) and make sure to use the correct parameters with oapi-codegen. It’s not fantastic, but it does work very well for our use case. More on reddit.com
🌐 r/golang
10
2
February 8, 2023
schermz - Generate a Schema from JSON
Looks wonderful. I have a huge number of non-t ivial documents that need a schema. Will test it soon More on reddit.com
🌐 r/rust
4
11
June 5, 2023
People also ask

Can I convert API response JSON to HTML table with nested objects?
Yes! The tool is designed specifically for API responses from REST APIs, GraphQL endpoints, and microservices. It handles nested objects, arrays, and complex hierarchical data structures automatically. Simply paste your API response, and it will create organized tables with sub-tables for nested data.
🌐
jsontotable.org
jsontotable.org
JSON to Table Converter - Convert Complex Nested JSON to HTML Table ...
My JSON has errors - can this tool validate and fix malformed JSON?
Yes! The tool includes a robust JSON validator that shows exactly where syntax errors occur with line numbers and context. It can auto-fix common issues like missing commas, trailing commas, unquoted keys, and improperly escaped characters even in deeply nested structures. The validator works at all nesting levels.
🌐
jsontotable.org
jsontotable.org
JSON to Table Converter - Convert Complex Nested JSON to HTML Table ...
How do I visualize nested JSON data as a tree structure online?
Paste your nested JSON into the converter, and it automatically creates a hierarchical tree structure view. You can expand and collapse nested objects and arrays to navigate through multiple levels of data. The tree visualization makes it easy to understand complex parent-child relationships in deeply nested JSON structures.
🌐
jsontotable.org
jsontotable.org
JSON to Table Converter - Convert Complex Nested JSON to HTML Table ...
🌐
Transform
transform.tools β€Ί json-to-json-schema
JSON to JSON Schema
An online playground to convert JSON to JSON Schema
🌐
Apidog
apidog.com β€Ί articles β€Ί how-to-create-json-schema-python
How to Create JSON Schema in Python
October 20, 2023 - Here's how you can import it: ... To create a JSON schema in Python, you can define it as a Python dictionary. Each key in the dictionary corresponds to a property in the JSON object, and the values define the constraints for that property.
Find elsewhere
🌐
QuickType
quicktype.io β€Ί schema
JSON to JSON Schema
$ npm install -g quicktype$ npm install -g quicktypeGenerate JSON Schema for a simple JSON sample$ echo '[1, 2, 3.14]' | quicktype --lang schema$ echo '[1, 2, 3.14]'", "| quicktype -l schemaGenerate JSON Schema for a sample JSON file
🌐
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
🌐
Jsontotable
jsontotable.org
JSON to Table Converter - Convert Complex Nested JSON to HTML Table Online
Transform complex nested JSON data into clean HTML tables instantly with unlimited nesting depth support. Excel export, tree structure visualization, real-time editing, and nested structure support.
🌐
JSON Schema
json-schema.org β€Ί learn β€Ί getting-started-step-by-step
Creating your first schema
The most basic schema is a blank JSON object, which constrains nothing, allows anything, and describes nothing: ... By adding validation keywords to the schema, you can apply constraints to an instance.
🌐
Swagger
swagger.io β€Ί specification
OpenAPI Specification - Version 3.1.0 | Swagger
The OpenAPI Specification defines a standard interface to RESTful APIs which allows both humans and computers to understand service capabilities without access to source code, documentation, or network traffic inspection.
🌐
Microsoft Learn
learn.microsoft.com β€Ί en-us β€Ί dotnet β€Ί standard β€Ί serialization β€Ί system-text-json β€Ί extract-schema
JSON schema exporter - .NET | Microsoft Learn
JsonValueKind valueKind = schema.GetValueKind(); Debug.Assert(valueKind is JsonValueKind.True or JsonValueKind.False); schema = jObj = new JsonObject(); if (valueKind is JsonValueKind.False) { jObj.Add("not", true); } } jObj.Insert(0, "description", descriptionAttr.Description); } return schema; } }; The following code example generates a schema that incorporates description keyword source from DescriptionAttribute annotations:
🌐
GitHub
github.com β€Ί invopop β€Ί jsonschema
GitHub - invopop/jsonschema: Generate JSON Schemas from Go types Β· GitHub
Generate JSON Schemas from Go types. Contribute to invopop/jsonschema development by creating an account on GitHub.
Starred by 911 users
Forked by 127 users
Languages Β  Go
🌐
JSONMASTER
jsonmaster.com β€Ί json-schema-generator
Convert JSON Data to infer SCHEMA Format | jsonmaster.com
January 15, 2024 - A JSON Schema describes the structure and validation rules for a JSON object. It defines types, required fields, allowed values, nested objects, arrays, and more. On jsonmaster.com, you can instantly generate a JSON Schema from any JSON input.
🌐
Js
json-schema-faker.js.org
JSON Schema Faker – Generate Realistic Test Data
Control generation with command-line flags. # Deterministic output with seed jsf schema.json --seed 42 # Include all optional properties jsf schema.json --all-optionals # Override array/string constraints jsf schema.json --min-items 5 --max-length 20 # Use schema defaults and examples jsf schema.json --use-defaults --use-examples # Read from stdin cat schema.json | jsf - # Combine options jsf schema.json -o output.json -c 5 --seed 42
🌐
Visual Studio Marketplace
marketplace.visualstudio.com β€Ί items
JSON Schema Tools - Visual Studio Marketplace
September 23, 2022 - Extension for Visual Studio - Allows you to easily generate a schema file from a JSON file and generate a JSON file with dummy data based on a schema file.
🌐
json-everything
docs.json-everything.net β€Ί schema β€Ί schemagen β€Ί schema-generation
Generating JSON Schema from .Net Types | json-everything
1 day ago - JsonSchema.Net.Generation is an extension package to JsonSchema.Net that provides JSON Schema generation from .Net types.
🌐
JSON Formatter
jsonformatter.org β€Ί json-to-jsonschema
Best JSON to Jsonschema Converter
JSON to Jsonschema Online with https and easiest way to convert JSON to Jsonschema. Save online and Share.
🌐
JSON Schema
json-schema.org β€Ί tools
JSON Schema - Tools
Bowtie is a meta-validator for JSON Schema implementations and it provides compliance reports.