WebTools
ツール一覧
🇺🇸
EN
🇯🇵
JA
🇨🇳
ZH
🇰🇷
KO
ホーム
/
ツール一覧
/
JSON Schema生成
JSON Schema生成
JSONデータからJSON Schemaを自動生成します。APIドキュメントやバリデーション設計に。
JSON入力
{ "id": 1, "username": "yamada", "email": "yamada@example.com", "active": true, "score": 98.5, "roles": ["admin", "user"], "profile": { "age": 28, "city": "東京" } }
JSON Schema(Draft-7)
コピー
{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Root", "type": "object", "properties": { "id": { "type": "integer" }, "username": { "type": "string" }, "email": { "type": "string" }, "active": { "type": "boolean" }, "score": { "type": "number" }, "roles": { "type": "array", "items": { "type": "string" } }, "profile": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Root", "type": "object", "properties": { "age": { "type": "integer" }, "city": { "type": "string" } }, "required": [ "age", "city" ] } }, "required": [ "id", "username", "email", "active", "score", "roles", "profile" ] }
関連ツール
JSON Schema生成v2
JSONバリデーター
JSON → TypeScript型定義
JSONフォーマッタ
このツールについて
JSONデータからJSON Schemaを自動生成します。APIドキュメントやバリデーション設計に。