Required-field validation for JSON-LD

Developers and site editors can check a JSON-LD block before publishing when they need to find which required fields still need attention.

Review a JSON-LD block and its required fields to identify missing elements and make the structured data easier to correct before use.

How to use

  1. Paste the complete JSON-LD block into the input field.
  2. Check that the code starts with a suitable context and type.
  3. Run the validation to find missing required fields.
  4. Read the feedback and correct the structure in your editor.
  5. Validate again after each significant change.

Example

With an Article block containing a context, type, headline, author and date, the tool checks whether the expected fields are present. Look at the validation messages to see if a required element is missing or if the JSON-LD syntax needs fixing before publication.

Input

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Sample article",
  "author": {"@type": "Person", "name": "Jane Example"},
  "datePublished": "2024-01-01"
}

Limits and formats

Where processing happens

The check runs entirely in your browser. The JSON-LD block you paste stays on your device and is not sent to any external service. You can test several versions without an account or storage.

Frequently asked questions

What is a required field in JSON-LD?

It is an element that the chosen schema type expects in order to describe the data correctly. For example, an article may require a headline, author or date. The tool helps you spot these elements, but it does not replace the official guidance of the search engine you target.

Why does my valid block not appear in search results?

Technical validation does not guarantee rich results. A search engine may ignore the block if the content does not match the page, if information is missing or if the format is not supported. Publish a clear and consistent page first.

Can I validate several blocks at once?

The input field usually expects one block at a time. To compare several pages, validate them separately so you can identify errors precisely. You can then correct each block before placing it back into your code.

Tools in the same category