JSONツール

JSON Schema生成・検証

サンプルからJSON Schemaを生成するか、JSONを検証して項目ごとのエラーを表示します。

Input JSON

All data is processed locally in your browser. Nothing is uploaded or sent to analytics.

ほとんどのツールはブラウザ内でローカル処理します。背景除去では選択した画像を設定済みサーバーで処理し、完了後に元画像を削除します。

使い方

  1. Choose Generate or Validate.
  2. For generation, paste sample JSON and choose the draft and required-field option.
  3. For validation, paste both JSON and Schema to see every detected error.

おすすめの用途

  • Documenting an API contract
  • Checking imported data
  • Creating a starting schema for a project

注意点

Generation infers types from one sample. Validation covers common type, required, enum, length, pattern and nested property rules.

よくある質問

Which drafts are available?

Draft-07 and 2020-12 identifiers are available for generated schemas.

Does validation stop at the first error?

No. All supported nested errors are collected and shown together.

関連ツール