JSON Schema 对比

发布 API 契约前检查 JSON Schema 的结构变化。

Schema path difference report

JSON Schema structure diff

Paste two JSON Schema or OpenAPI component drafts

Сравните два черновика JSON Schema или OpenAPI и проверьте пути, обязательные поля, типы и ограничения.

Схема A
Схема 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.