홈
Tom Utilities

JSON 스키마 생성기

JSON 도구

JSON 샘플에서 유형, 객체, 배열, 필수 필드를 추론해 JSON 스키마를 생성합니다.

입력

결과

사용 방법

Generating a schema

Paste a representative JSON document and press Generate. The tool infers a type for every value, merges the items of arrays and marks each property present in the sample as required.

  1. Paste a JSON sample.
  2. Press Generate.
  3. Adjust required fields and descriptions in the result.

자주 묻는 질문

Which schema draft is produced?

The output declares the 2020-12 dialect, which is compatible with most modern validators.

How are arrays with mixed types handled?

The items schema becomes an anyOf list covering every observed type.