Generate JSON Schema from Sample JSON
Created by
Stas Persiianenko
Create a draft-07 JSON Schema from sample user profile objects, including nested address fields and optional properties.
JSON Schema Generatorautomation-lab/json-schema-generator
Sample #
Title
Fields
Required
+2 fieldsTextNumberBooleanListObject
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
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.
