Loading...

tools / schema-validator

Schema Validator

Validate JSON payloads and schema notes for type mismatches, missing required fields, enum errors, and API-contract drift.

P1API / NetworkHigh severity
100
debug signal score
4 signals

4 signals detected. Start with missing required field.

Detected signals

Missing required field

A required field is absent.

Compare the failing payload with schema required fields and generate a minimal valid fixture.

Type mismatch

A value type does not match the contract.

Inspect serialization, nullability, number/string coercion, and API version.

Enum or union failure

The value is outside the allowed set.

Check client/server version drift and update enum mapping.

Unexpected property

The payload contains fields the schema rejects.

Remove unknown fields or update the schema if the API contract changed intentionally.

Highlighted lines
line 1
ValidationError: required property userId missing
Missing required field
line 2
expected string, received number
Type mismatch
line 3
additionalProperties not allowed
Unexpected property
line 4
oneOf failed
Enum or union failure
Fix checklist
Compare the failing payload with schema required fields and generate a minimal valid fixture.
Inspect serialization, nullability, number/string coercion, and API version.
Check client/server version drift and update enum mapping.
Remove unknown fields or update the schema if the API contract changed intentionally.
Keep one failing payload and one passing payload.
Confirm schema version and endpoint version.
Turn the failure into a contract test.

DebugTools product

Schema Validator

Schema Validator is a focused DebugTools mini-product for developers. Validate JSON payloads and schema notes for type mismatches, missing required fields, enum errors, and API-contract drift.

Use cases

  • Debug request, response, header, status, redirect, and payload problems.
  • Create a small reproduction before changing client or backend code.
  • Compare working and failing network evidence without leaving the browser.

How it works

  • Paste or load the snippet you want to inspect in Schema Validator.
  • Run the tool in the browser and review the highlighted output.
  • Copy, export, or turn the result into the next debugging step.

Privacy

  • Schema Validator is local-first. The core workflow runs in your browser and does not require sending pasted content to DebugTools servers.

This tool history

Recent Schema Validator sessions

Only visits for this tool are shown. Pasted content, tokens, request bodies, and logs are not stored here.

Loading this tool history...