변환
로컬 실행 · 업로드 없음

JSON Schema 검증

draft-07 / 2020-12 subset · Local · Zero upload

YAML 변환

준비됨

원본 입력

                                
                            
파싱 출력

                                
고정 높이, 긴 코드는 영역 내 스크롤

ABOUT

About JSON Schema 검증

Check whether a JSON document matches a JSON Schema: types, required properties, extra keys, arrays, enum and const. This is structural validation, not syntax checking.

Paste the instance on the left and the schema on the right. Errors list a JSON Pointer path. $ref and format are not evaluated in this first version.

DEEP DIVE

JSON Schema 검증

API contracts and agent tool parameters are usually JSON Schema. Formatter only tells you the text is valid JSON. This page tells you whether the object fits the contract.

Use Code Generator when you need a schema from a sample. Come back here to test instances against that schema. Blog notes on why agents need Schema stay on the blog, not in this title.

FEATURES

JSON Schema 검증

01

Instance + Schema

Two panes: JSON on the left, Schema on the right.

02

Path-listed errors

required, type, additionalProperties, items, enum, const, min/max.

03

Draft subset

draft-07 / 2020-12 keywords we implement; no $ref hop yet.

04

Local only

Instance and schema never leave the browser.

05

Not a syntax checker

Broken JSON still belongs on Formatter / Auto Fix.

06

Pairs with Codegen

Generate a schema there, validate instances here.

URL

URL에서 불러오기

공개 Schema 전체를 오른쪽 칸에 넣을 수 있습니다. 원격 $ref는 자동 전개하지 않습니다.

HOW TO USE

How to use

  1. 1

    Paste instance (left) and Schema (right), or Load from URL into the Schema pane (CORS; no remote $ref).

  2. 2

    Click Sample for the fictional A-1042 object.

  3. 3

    Read valid / errorCount / errors[].path.

  4. 4

    Fix the instance or the schema, then run again.

FAQ

FAQ

Is this a JSON syntax validator?

No. If parse fails, use Formatter. This page checks structure against a schema.

Which drafts are covered?

A shared subset of draft-07 and 2020-12: type, properties, required, additionalProperties, items, enum, const, min/max lengths and numbers.

Do you follow $ref?

This version does not follow remote $ref. Use Load from URL to fill a whole public Schema into the right pane, or inline nested schemas.

Is format (email, uri) checked?

No. format is annotation-only here.

URL에서 JSON을 불러올 수 있나요?

가능합니다. 도구 모음의 URL에서 불러오기는 브라우저가 공개 HTTPS를 직접 요청합니다. CORS가 없으면 실패하므로 응답을 붙여넣으세요. JSONSort로는 전송되지 않습니다.

URL 불러오기는 업로드인가요?

JSONSort로 업로드하는 것이 아닙니다. 브라우저만 해당 주소에 접속하며 대상 서버는 IP를 볼 수 있습니다.

Is data uploaded?

No. Validation runs in your browser.

Where do I generate a schema?

Code Generator still has a Schema button; its title stays TypeScript/Java/Go. A dedicated generator page is a later phase.

클립보드에 복사됨