JSON Schema Generator
Build options
Generate required fields
Allow additional attributes
Contains sample values
Generate description field
Allow null values
Inferred numerical range
JSON input
Format
Clear
User object
Products
Order
API response
{ "id": 1, "name": "张三", "email": "zhangsan@example.com", "age": 28, "active": true, "roles": ["admin", "user"], "profile": { "avatar": "https://example.com/avatar.jpg", "bio": "软件工程师" }, "createdAt": "2024-01-15T10:30:00Z" }
Number of fields:
0
Nesting depth:
0
JSON Schema
Copy
Download
Tools
About
Privacy
Feedback
Guides