JSON データから自動的に JSON スキーマを生成
Your generated schema will appear here
Enter valid JSON data to get started
プロフェッショナルツール
Paste any JSON and get a valid JSON Schema automatically inferred from the data structure and types
Detects strings, numbers, booleans, arrays, objects, and null values with correct schema types
Marks all present fields as required by default — adjust as needed for your validation rules
Handles deeply nested objects and arrays with proper $ref-style sub-schemas for complex structures
Generates schemas compatible with JSON Schema Draft 7, the most widely supported specification version
Copy the generated schema to clipboard for use in API documentation, validation libraries, or OpenAPI specs
よくある質問
JSON Schema defines the structure and validation rules for JSON data. It's used for API request/response validation, form generation, documentation (OpenAPI/Swagger), database schema enforcement, and config file validation.
The tool generates Draft 7 schemas by default, which is the most widely supported version across libraries and tools. Draft 7 is compatible with ajv (JavaScript), jsonschema (Python), and most API gateway validators.
Yes — paste your JSON data and a schema, and the tool will validate the data against the schema rules. It reports all validation errors with their exact location in the document.
The auto-generator marks all fields as required by default. Edit the 'required' array in the generated schema to remove fields that should be optional. This is a common first step after auto-generation.
Absolutely. Copy the schema and use it with OpenAPI/Swagger for API documentation, ajv or joi for runtime validation in Node.js, Pydantic for Python APIs, or any JSON Schema-compatible validation library.