JSON Schemaを比較

API契約を公開する前にJSON Schemaの構造変更を確認します。

Schema path difference report

JSON Schema structure diff

Paste two JSON Schema or OpenAPI component drafts

对比两份 JSON Schema 或 OpenAPI 草稿,查看结构路径、必填列表、类型和约束变化。

Schema A
Schema B
文件不会离开您的设备。 隐私与限制
Embed tool Add this tool to your website Get embed code

Add this comparison tool to a related page with a visible FileCompare source link.

关于在线计算器的常见问题

Does this validate a schema?

No. It compares two JSON documents. Use a schema validator separately when you need to check whether either draft is valid.

Does key order affect the result?

No when the default option is enabled; object keys are normalized before paths are compared.

Does this validate my API responses?

No. It compares the schema documents. Run a separate validator against representative payloads when you need validation evidence.

Which schema draft is supported?

The comparison focuses on the JSON structure and keywords present in the documents. Confirm draft-specific behavior with your validator and test suite.

Can I compare schemas containing internal field names?

The workspace is intended for local browser comparison, but you should still follow your organization’s data-handling rules before pasting sensitive material.