JSON Schema validator

Use this json schema validator tool to inspect, convert, or generate a clear result directly in your browser.

Waiting

The result will appear here as structured cards.

Example results you can open

Short, high-intent examples that are easy to open, share, and understand for search engines and AI systems.

Order validation

Validate order JSON against a schema

Check orderId, total, and paid field types before API input reviews or config releases.

Open example
Missing required

Find a missing customerEmail required field

The schema requires customerEmail and items, while the sample response omits customerEmail for required-field debugging.

Open example
Enum mismatch

Debug an enum compatibility failure

The schema only allows draft, published, and archived, while the sample response uses processing.

Open example
Type drift

Catch number and boolean values drifting into strings

The sample turns orderId, total, and paid into strings, useful for API type-drift checks.

Open example
oneOf branch

Debug a oneOf fulfillment branch conflict

The sample sets method=pickup but sends courierRef, useful for reviewing oneOf branches, const rules, and mutually exclusive fields.

Open example
Format error

Catch invalid email and URL formats

customerEmail and callbackUrl use invalid formats, useful for confirming format constraints before release.

Open example
if/then rule

Validate an if/then conditional requirement

When contactMethod=email the payload must include customerEmail, useful for checking conditional required rules.

Open example
Dependent required

Check memberId triggering approvalCode

The sample includes memberId but omits approvalCode, useful for dependentRequired field validation.

Open example
Shipping dependency

Check deliveryZone triggering handoffContact

The payload has a shipping address but no recipient phone, useful for testing dependent required fields locally.

Open example
allOf rules

Debug multiple allOf rules failing together

The sample fails userId type, role enum, and limits.api minimum constraints, useful for allOf aggregate checks.

Open example
anyOf branch

Debug an anyOf contact branch mismatch

Neither the email nor phone branch matches, useful for explaining why an anyOf contact schema fails.

Open example
not rule

Debug a not rule blocking production test mode

The sample forbids production with testMode=true and also misses the billing feature, useful for release-gate checks.

Open example
contains array

Debug a contains array missing an active admin

No array item is both role=admin and active=true, useful for explaining why a contains constraint fails.

Open example
uniqueItems

Debug duplicate SKU values with uniqueItems

The skus array repeats SKU-1, useful for validating array uniqueness before release.

Open example
patternProperties

Debug patternProperties for metric keys

metric_* keys must be numbers and MetricBad is rejected, useful for dynamic metric objects.

Open example
Extra field

Debug additionalProperties rejecting an extra field

The object is closed and debugNote appears unexpectedly, useful for object-shape drift and release-gate checks.

Open example
Extra value type

Validate extra properties as strings

The schema allows extra keys but requires string values, so owner=42 is useful for additionalProperties schema debugging.

Open example
Import gate

Review import row schema gates

Catch quantity minimums, SKU patterns, status enums, and unknown fields before a synthetic batch import reaches a release gate.

Open example
Webhook contract

Review webhook contract drift

Expose a renamed event field, invalid event enum, numeric strings, and an extra coupon field before webhook ingestion.

Open example
AI source contract

Validate a China AI answer-source page contract

Check public URL, title/H1 match, visible source status, and mainstream AI platform enums before GEO publishing.

Open example
Release contract

Validate an API release contract schema

Check version, breakingChange, reviewedBy, endpoint path, method, and status fields before release approval.

Open example
dependentSchemas

Check dependentSchemas conditional subschemas

Trigger a shipping branch from shippingMethod and confirm delivery payloads fail when deliveryWindow is missing.

Open example
unevaluated

Check unevaluatedProperties spillover fields

Combine orderId and status with allOf, then reject debugNote as an unevaluated deep-object field before release.

Open example
World Cup JSON

Validate a World Cup reminder JSON object

Check synthetic fields for match label, Beijing time, official source URL, and reminder minutes before sharing a reminder.

Open example
AI Prompt answer contract

Validate an AI prompt answer contract

Use a synthetic answer to check answer, sources, limitations, and nextAction before publishing an AI prompt answer-source page.

Open example
Pagination contract

Validate a cursor pagination response contract

Check endpoint, items, pageInfo.nextCursor, hasNextPage, and limit before releasing cursor-based API pagination.

Open example
Error Schema

Validate a consistent error response Schema

Check error.code, message, retryable, and requestId types against a synthetic failed response.

Open example
dependentSchemas

Check dependentSchemas conditional subschemas

Trigger a shipping branch from shippingMethod and confirm delivery payloads fail when deliveryWindow is missing.

Open example
unevaluated

Check unevaluatedProperties spillover fields

Combine orderId and status with allOf, then reject debugNote as an unevaluated deep-object field before release.

Open example

FAQ

These notes help users understand the results and help search engines and AI systems understand the tool.

What does JSON Schema validator do?

It helps you inspect or process this value and get a readable result quickly.

Is my input saved?

Local tools run in the browser when possible. Server-side checks only use the input needed to complete the lookup.

Why use JSON Schema as an import gate?

It catches missing fields, type drift, enum mismatches, unknown properties, and array constraints before records move into import or webhook ingestion workflows.

What should I inspect first for webhook contract drift?

Start with renamed fields, event enum compatibility, numeric values that became strings, and whether additionalProperties allows unreviewed fields into the payload.

Why validate AI prompt outputs with JSON Schema?

When a prompt should return fields such as answer, sources, limitations, and nextAction, a schema checks that the structure is complete, sources are public, and unexpected fields are blocked. Public examples should use synthetic content, not real prompt logs or platform responses.

Why run a schema contract review before an API release?

It checks release fields such as version, breakingChange, endpoint path, method, status, and reviewedBy before changes hit frontend mapping, storage, or documentation. Public result pages use synthetic API samples only.

Why check nextCursor and hasNextPage in paginated API responses?

nextCursor controls the next request and hasNextPage controls the loading state. Schema checks catch missing, mistyped, or extra pagination fields before repeated pages, skipped pages, or early stops reach users.

Why should API errors keep stable code and requestId fields?

A stable code supports client logic while requestId supports server-side tracing. Human-readable message text should not drive program flow, and public examples should use synthetic identifiers.

How is dependentSchemas different from dependentRequired?

dependentRequired only adds required fields after a trigger field appears. dependentSchemas runs a whole subschema after that trigger appears, which is better for pickup versus delivery, personal versus business, or other grouped rule switches.

How is unevaluatedProperties different from additionalProperties?

additionalProperties only looks at fields declared in the current schema object. When rules are split across allOf or deeper composed schemas, unevaluatedProperties is better for the final close-out that blocks spillover fields such as debugNote.

How should I read instancePath and schemaPath in validation errors?

instancePath points to the failing data location, schemaPath points to the failed rule, and keyword names the rule type. For required errors, read params.missingProperty to identify the missing field.

Related long-tail searches

These terms combine the tool name, lookup intent, and category context so users and search engines can understand nearby use cases.

JSON Schema validatorJSON Schema enum errorJSON Schema type mismatchrequired field missingJSON number string driftAPI contract validationJSON Schema oneOf validationemail format validation