PixelOkay
Private browser workspaceAll developer tools ↗
Tools
DEVELOPER TOOLS · VISUAL WORKSPACE

JSON Schema Studio

Create nested JSON schemas, set constraints, generate example data, and inspect validation results—all in one local-first workspace.

2020-122020-12 subset checks
0Schema nodes
0Required fields
SCHEMA DESIGNER

Customer profile

Add fields and rules to your data contract

Ready
Choose a field to edit. Nested objects and arrays appear in the outline.

Start with a template

Choose a structured example. Existing unsaved changes can be undone after selection.

Using JSON Schema Studio

Create or import a schema, edit supported constraints and local definitions, then apply source changes. Validate supported JSON or a bounded batch and inspect diagnostics before exporting reports. Save a portable project only after reviewing its included test data.

The bundled validator implements a declared Draft 2020-12 subset, not full standards conformance. Contract Lab adds named tests, observed multi-example inference, structural comparison, a limited offline reference bundler and documentation exports. Unsupported assertions block validation and external references are not fetched. Regex heuristics do not enforce a hard execution timeout. Review untrusted or complex regex schemas with a trusted, sandboxed standards-complete validator. Test-data draft storage is opt-in, but portable projects include current test JSON. Size, depth, batch and diagnostic budgets apply.

Visual schemas, contract cases, inference and version reviews

Use the Visual designer for property definitions, Validate data for individual or array-member checks, Source for direct JSON editing, and Contract Lab for named fixtures, offline local references, candidate inference and schema evolution. Full 2020-12 dialect validation requires a standards-complete validator outside this release.

Choose a schema, validation report or data-bearing project

Practice: test a required string property

  1. Define an object schema with a required string property named name.
  2. Compare the fictional test objects {"name":"Draft"} and {"name":3}, inspecting the diagnostics for the declared type.
  3. Review included test data before exporting the portable project.

This is an authored validation exercise, not executed test output or a standards-conformance claim.

Schema validation questions

Can I compare two schema versions or infer from several JSON examples?

Yes. Contract Lab captures a local baseline, compares structural JSON Pointer changes and retests supplied witnesses against each version. Inference considers every supplied example, including missing, null and mixed fields; it is a candidate rather than an API guarantee.

Do you fetch external schema references?

No. You can explicitly import local resources and bundle a restricted class of JSON Pointer references into $defs. Nested resource identifiers, named anchors, dynamic references and advanced unevaluated keywords are not supported by the bundled validator.

Will every Draft 2020-12 schema validate here?

No. The validator implements a declared subset. Unsupported assertions block results, external references are not fetched, and regex heuristics do not provide a hard execution timeout.

Does disabling browser test-data storage remove it from exported projects?

No. Portable projects include the current test JSON even when draft-data storage is not opted in. Export the schema alone when that is the intended handoff, and inspect any project for private values.

Related tools