Generate JSON Schema from Sample JSON

Create a draft-07 JSON Schema from sample user profile objects, including nested address fields and optional properties.

Try for free
JSON Schema Generator
JSON Schema Generatorautomation-lab/json-schema-generator
Sample #
Title
Fields
Required
+2 fields
Text
Number
Boolean
List
Object

Input

JSON samples(required)
id:1+1
name:Alice+1
email:alice@example.com+1
active:true+1
address
Schema title:UserProfile
Schema description:Schema for user profile records.
Output format:json
Infer required fields:true
Allow additional properties:true
Merge all samples:true

Output fields

Sample #
Title
Fields
Required
Format
Schema

How it works

Sign up on Apify01

Create your Apify account to access the JSON Schema Generator.

Start the run02

The Actor will start running based on the input automatically.

Receive the output03

Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.

Integrate into your workflow04

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.

Image

Integrate Actor directly into your workflow

Choose from one of 100+ integration options we provide or integrate via API

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay