JSON Schema for API Responses
Created by
Stas Persiianenko
Generate a YAML JSON Schema from multiple API response examples and infer required fields across all samples.
JSON Schema Generatorautomation-lab/json-schema-generator
Sample #
Title
Fields
Required
+2 fieldsTextNumberBooleanListObject
Input
JSON samples(required)
status:ok+1
data
Schema title:ProductApiResponse
Schema description:Schema inferred from product API responses.
Output format:yaml
Infer required fields:true
Allow additional properties:false
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.
