Trakis

Trakis · Rules

JSON-LD without @context or @type

JSON-LD blocks missing @context or @type. Without them the block does not say what vocabulary it uses or what kind of thing it describes, so it is ignored.

WarningSTRUCT-003 · Structured data · checked on every page

Where it usually comes from

Blocks written by hand from an example that was cut short, or plugins that output a partial object.

How to fix it

  • Start every block with "@context": "https://schema.org" and the "@type" of the thing it describes — Product, Article, Organization.
  • If a plugin writes the block, update or reconfigure it rather than editing its output by hand.
  • Test the page again in the Schema.org validator; it should list the item with its type.

How to check it yourself

Open the JSON-LD in the page source and check its first lines: "@context" and "@type" should be there.

What it looks like in a report

Warning JSON-LD without @context or @type.

The block exists but does not say what it describes, so it is ignored. (An example shop; the numbers are illustrative.)

How the audit counts it

STRUCT-003 is a warning in the structured data category, and weighs moderately in that category’s score. When it appears on many pages built from the same template, the report shows it once, with the number of pages it covers — because one change in the template fixes all of them.

If the finding is deliberate on your site, it can be accepted as intentional in the report. It then leaves the list and the score, and comes back on its own if what it shows changes.

Other structured data checks

Find it on your site

A Trakis audit runs this check and the other 65 on your site, and tells you on how many pages each one sits. Or go back to all the rules.