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.
- Paste a JSON sample.
- Press Generate.
- 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.
관련 도구
JSON 검증기
JSON이 유효한지 확인하고 구문 문제에 대한 명확한 설명을 보여줍니다.
JSON을 TypeScript로
선택적 타입과 유니온 타입을 지원하는 TypeScript 인터페이스를 JSON 샘플에서 생성합니다.
JSON 포매터
설정 가능한 들여쓰기, 오류 강조, 원클릭 복사로 JSON을 정리하고 검증합니다.
JSON 압축기
불필요한 공백과 줄바꿈을 모두 제거하여 가능한 가장 작은 JSON 페이로드를 만듭니다.
JSON 뷰어
깔끔하게 포맷된 보기로 JSON을 읽고 접을 수 있는 트리로 탐색합니다.
JSON 트리 뷰어
JSON을 배열 길이와 값 유형이 표시되는 대화형 접이식 트리로 변환합니다.