This product is not yet available. The documentation below describes the planned product and may change as we build it.
01Purpose
Teams often write JSON Schema by hand after an API already exists, so the schema describes what someone remembers rather than what the service actually returns. Structured data for search has the same gap: schema.org markup is copied from an old page, edited by hand, and slowly drifts away from the content it describes. Both problems tend to surface late, as a broken client integration or a rich result that quietly stops appearing.
SchemaSmith is designed to start from evidence. You paste or upload sample payloads, and the planned inference engine proposes a schema that reflects the types, required fields, formats and enumerations it actually observed. The same workspace will validate new payloads against that schema, generate schema.org JSON-LD from product, article or organization data, and emit output with stable key ordering, so that a schema change produces a small, readable diff instead of a reshuffled file.
02Who it is for
- Backend engineers — get a first-draft contract for an existing endpoint without reverse-engineering it field by field.
- API platform teams — keep published schemas aligned with real responses as services evolve.
- Technical SEO specialists — build and check schema.org JSON-LD from structured product or article data instead of hand-editing snippets.
- QA engineers — validate fixture files and recorded responses against an agreed contract before a release.
- Frontend developers — derive form validation rules from a schema their backend colleagues can review.
03Planned features
- Multi-sample inference — Feed several payloads at once. Fields present in every sample are proposed as required, fields seen only sometimes become optional, and conflicting types are surfaced as a union for you to resolve.
- Format and enum detection — The planned engine recognizes common string formats such as date-time, email, URI and UUID, and suggests an enum when a field holds a small, repeated set of values.
- Draft selection — Output will target a chosen JSON Schema draft, with notes wherever a keyword behaves differently between drafts.
- schema.org JSON-LD builder — Map columns or JSON fields to types such as Product, Article, FAQPage and Organization, and generate markup with required and recommended properties flagged.
- Validation runs — Validate one payload or a batch and receive a failure list with JSON Pointer paths, the failing keyword and the observed value.
- Diff-friendly output — Deterministic key ordering, consistent indentation and one property per line, so pull requests show only real changes.
- Schema comparison — Compare two schema versions and classify each change as additive, narrowing or breaking for consumers.
04Use cases
Documenting a legacy endpoint
An internal service has returned the same order object for years, but nobody has written down its shape. An engineer records twenty responses from staging, drops them into SchemaSmith, and reviews a proposed schema that marks three fields as sometimes missing. Those three fields become the first questions for the owning team.
Keeping product markup consistent
An e-commerce team exports its catalog as CSV. They map columns to schema.org Product and Offer properties once, then generate JSON-LD for every product page. Missing recommended properties, such as an absent availability value, appear as warnings before the markup is deployed.
Catching contract drift in review
A team stores its schemas in a repository. When a developer regenerates a schema from new samples, the stable output means the pull request shows a single changed line where a field moved from required to optional, and the comparison view labels it as breaking for strict clients.
05How it is intended to work
- Collect samples — Paste JSON, upload files, or point to a folder of recorded responses.
- Infer — SchemaSmith proposes a schema and highlights every decision it was unsure about, such as mixed types or rarely present fields.
- Refine — Accept or override each suggestion, add descriptions, and tighten constraints such as minimum lengths or patterns.
- Validate — Run the schema against additional samples to confirm it accepts good data and rejects bad data.
- Export — Download the schema or JSON-LD with stable formatting, ready to commit.
- Compare over time — When samples change, regenerate and review the classified differences against the previous version.
06Technical overview
Planned architecture
The inference engine is designed as a pure function: samples in, a schema and a list of decision notes out. Keeping it free of side effects means identical samples always produce an identical schema, which is what makes the diff-friendly output trustworthy. Validation will use a standards-based JSON Schema validator, and the schema.org builder will work from a versioned snapshot of the vocabulary so generated markup does not shift when the vocabulary is updated upstream.
Data and integrations
- Inputs: JSON and NDJSON files, pasted payloads, and CSV for the JSON-LD builder.
- Outputs: JSON Schema documents, JSON-LD blocks, and a plain-text comparison report.
- A command-line interface is planned so inference and validation can run in CI pipelines.
- Possible future connectors for Git repositories to open schema updates as pull requests.
Security and privacy
- Sample payloads may contain personal data, so the design keeps samples only as long as needed for inference, with an option to discard them immediately afterward.
- A local CLI mode is intended for teams that cannot send production payloads to a hosted service.
- Example values are excluded from generated schemas by default.
07Documentation
Getting started (planned)
Create a workspace, add at least three representative samples, and run inference. Review the decision notes before exporting; they are where the engine tells you what it guessed.
Key concepts
- Sample set — The group of payloads a schema is inferred from. More varied samples produce a more accurate schema.
- Decision note — A recorded choice the engine made with incomplete evidence, such as marking a field optional.
- Stable output — Formatting rules that guarantee identical input produces byte-identical output.
- Change class — The label on a schema difference: additive, narrowing or breaking.
Limitations and considerations
- Inference can only describe what the samples contain. A field that never appeared will not appear in the schema.
- Generated schema.org markup does not guarantee that a search engine will display a rich result.
- Very large or deeply recursive payloads may need trimming before inference.
- Business rules that span several fields are outside what an inferred schema can express.
08Roadmap
-
Inference core and stable output
Multi-sample inference, format detection, decision notes and deterministic formatting.
-
Validation and schema comparison
Batch validation with JSON Pointer reporting and change classification between schema versions.
-
schema.org JSON-LD builder
Field mapping to common schema.org types with required and recommended property checks.
-
CLI and CI integration
Command-line inference and validation for pipelines, with optional pull request output.
09Questions
Is SchemaSmith available today?
No. SchemaSmith is in development and has not been released. This page describes the intended product, and details may change before launch.
Which JSON Schema drafts will be supported?
We intend to support the most widely used recent drafts and to flag draft-specific keywords in the output. The exact list will be confirmed closer to release.
Will it generate code types from a schema?
Type generation for common languages is a possible later addition. The first focus is an accurate, reviewable schema.
Does SchemaSmith keep my sample data?
The planned design lets you discard samples right after inference, and a local CLI mode is intended for sensitive payloads.
10Available today
Until SchemaSmith is released, these independent tools cover similar ground. They are made by other companies and are not affiliated with Seacrab AI.
-
Visit site ↗ (Schema Markup Validator, opens in a new tab)
Schema Markup Validator by Schema.org
Validates structured data in JSON-LD, Microdata or RDFa against the schema.org vocabulary.
-
Visit site ↗ (JSON Schema, opens in a new tab)
JSON Schema by JSON Schema organisation
The specification and tooling ecosystem for describing and validating JSON data.