Here is a small experiment. Take a personal site with a blog, view source on the about page, and view source on any article. Count the Person nodes.

On most sites the answer is two, and they are different objects. The about page has a Person with a name, a job title, a description and some social links. The article has a Person with a name, and possibly a URL, because the schema for an article requires an author and something had to go there.

Both validate. Both are correct markup. And between them they have described two people who happen to share a name.

What @id is actually for

JSON-LD is a serialisation of a graph. Nodes have properties, and nodes can refer to other nodes. The mechanism for referring to a node rather than describing a new one is @id.

Without an @id, a node is anonymous. It exists inside the document it appeared in and nowhere else. Two anonymous nodes with identical properties are not the same node; they are two nodes that look alike. Nothing in the model says they are the same, because nothing in the model can say it.

With an @id, a node has a name. Define it once, with all its properties. Everywhere else, refer to it:

{ "@id": "https://example.com/#person" }

That object is not a Person with one property. It is a reference to the Person defined elsewhere. A consumer that has both documents can merge them, and the properties accumulate onto one entity rather than being split across several.

This is standard JSON-LD and it is not obscure. It is just skipped, because leaving it out produces markup that passes every check and looks finished.

What it costs to skip

The consequence is not a penalty. It is a dilution, which is harder to notice and harder to attribute.

Consider what your site knows about you, distributed across its pages. The about page knows your job title, your location and your social profiles. Each article knows you wrote it, and when. The archive knows how many there are. If every page mints its own anonymous Person, each of those facts is attached to a separate entity, and the entity with the most evidence is whichever page happens to have the most complete node.

If every page references one @id, all of it accrues to a single entity. You are one person who has a job title, a location, verified profiles, and forty articles with dates. That is a materially stronger claim, and it is the same markup rearranged.

The situation gets worse with sameAs. That property is how you assert that the entity described here is the entity at those other URLs: a profile on a professional network, a company page, a repository account. It is the closest thing structured data has to identity verification, because the consumer can go and check.

Attach sameAs to an anonymous Person on your about page, and you have verified the about page’s Person. The Person who wrote your articles is a different node and has verified nothing. You did the work and it landed on the wrong entity.

Being about someone, versus mentioning them

There is a second gap, and it sits one level up.

A Person node on a page says a person is described here. It does not say the page is about that person. Those are different claims, and the difference matters for exactly the kind of page where it is most likely to be skipped: an about page, an author page, a personal site’s home page.

The type for the stronger claim is ProfilePage, and the property that does the work is mainEntity:

{
  "@type": "ProfilePage",
  "@id": "https://example.com/#webpage",
  "url": "https://example.com/",
  "mainEntity": { "@id": "https://example.com/#person" }
}

Read that as a sentence: this web page’s main entity is that person. It is a claim no amount of Person-node detail makes on its own.

Note that mainEntity here is a reference, not a nested definition. Nesting the whole Person inside the ProfilePage would work, but then the Person’s identity is once again local to this document. The reference plus a separately defined node is what makes the same entity available from the article pages.

That combination is also what makes the dangling-reference failure possible, which is worth guarding against: a mainEntity pointing at an @id that nothing in the graph defines is a claim about nobody. It validates. It is checkable in about four lines, and it is worth checking, because a typo in a fragment is silent.

What I actually emit

The shape I have settled on, for a site whose subject is one person, is three nodes in a single @graph, each with an @id, cross-referenced rather than duplicated.

A WebSite node for the site itself, identified as origin plus #website. A ProfilePage node for the home page, #webpage, whose mainEntity and about both point at the person. And the Person node, #person, defined once with everything: name, job title, location, sameAs, languages, and the roles.

Every article on the same host then emits a BlogPosting whose author and publisher are both { "@id": "https://example.com/#person" }. No second Person node exists anywhere on the site. There is one human and one node.

The roles deserve a note, because this is where a lot of personal sites either say nothing or say something they cannot support. A career is a sequence of positions with start and end dates. Expressed as a flat list of job titles it reads as several simultaneous present-tense jobs, which is wrong for everyone who has ever changed employer.

The type that fixes it is Role, which wraps an occupation with dates:

{
  "@type": "Role",
  "roleName": "Chief Executive Officer",
  "startDate": "2019-03",
  "endDate": "2023-03",
  "worksFor": { "@type": "Organization", "name": "Example Ltd" }
}

YYYY-MM is a valid ISO 8601 date and it is honest about precision. If your source says March 2019, emitting 2019-03-01 invents a day. Precision you do not have is not neutral in a graph whose purpose is to be believed.

Person or Organization, and when it is both

A related question that comes up on every one-person business, and where the wrong answer is usually the tidy-looking one.

If you trade as a company, the company is an Organization and you are a Person, and those are two entities even when they have one bank account. The relationship between them is expressed with properties, not by merging them: the Person worksFor the Organization, and the Organization has a founder. Each gets its own @id.

The tempting shortcut is to describe the company as though it were you, or to describe yourself as though you were the company, because on a small site the distinction feels like paperwork. It is not. The two entities accumulate different evidence from different places. A company gets registry records, review profiles and a business address. A person gets a professional profile, authorship and a career history. Collapsing them means neither accumulates properly, and it makes claims that are simply false: an Organization does not have a jobTitle and a Person does not have a company registration number.

The case where a personal site genuinely has no Organization is the case where there is no company: you publish under your own name, and the publisher of every article is you. That is a legitimate graph and it is what this site emits. What is not legitimate is inventing an Organization node so that publisher has something more official-looking to point at. A publisher that does not exist is worse than a publisher who is a person.

There is a third entity that is frequently missed and is genuinely useful: the WebSite itself. It is not the same thing as its owner and not the same thing as any page on it. It carries the site’s name and language, and its publisher points at whichever of the two above actually publishes it. It costs four lines and it gives every page on the host something to be isPartOf.

Migrating a site that already has markup

If you have been shipping structured data for a while, you almost certainly have the duplicated version, and the migration is mechanical.

Start by inventorying what you emit. Fetch a representative page of each type, extract the JSON-LD block, and list the node types. On most sites the result is a short list with repeats: a Person on the about page, a Person on every article, an Organization on the home page and possibly on the contact page, and a WebSite either everywhere or nowhere.

Then decide the @id for each real-world entity, once. Origin plus a fragment is the convention and it is worth following: #person, #organization, #website. The fragment does not have to resolve. Its job is to be identical in two files, which is why it must be an absolute URL rather than a bare fragment; a relative #person means something different depending on which document resolved it.

Then pick, for each entity, the single page that will define it fully. Usually the home page or the about page. Every other page emits a reference and nothing else. The mechanical test that you have done this correctly: search your built output for "@type": "Person" and count. It should equal the number of distinct humans your site describes, not the number of pages that mention one.

Finally, generate it. Every step above is easy to get right once and impossible to hold by hand, for the reason in the next section.

The rule that makes this maintainable

Everything above is easy to get right once and impossible to keep right by hand, because structured data is invisible in a browser. Nothing renders it. Nothing about a stale graph looks wrong.

So: generate it. The graph on my own site is compiled from the same data file the visible page renders, and there is a check in the build that fails if a hand-written graph ever reappears in a template. That rule exists because I know exactly how a second copy gets introduced. Someone needs one extra property, adding it to the generator looks like more work than pasting a node into the page, and the pasted node is correct on the day it is pasted and wrong within a quarter.

One more property is worth getting right while you are in there, because it is the one Google’s own guidelines are most explicit about: the markup has to describe content that is actually on the page. A Person node listing an award, a qualification or an employer that appears nowhere in the visible document is not enrichment, it is a claim the page does not support. The rule is easy to break with generated markup precisely because the generator has access to more data than the template renders.

The version of that rule I enforce is narrower and easier to check: anything in the graph must come from the same source the page renders from. That does not guarantee every field is visible, but it guarantees the graph cannot say something the site does not know, and it removes the entire category of markup that was true when it was pasted.

The check I would add first, if you add only one, is the reference-resolution check: every @id referenced anywhere in the graph must be defined somewhere in the graph. It is a few lines, it runs against the built output rather than the source, and it needs no network. It catches typos in fragments, nodes that got renamed during a refactor, references that survived the deletion of the node they pointed at, and mainEntity pointing at a person who no longer exists in the document. All three are silent, all three destroy the thing the markup was for, and none of them will ever show up in a validator, because a dangling reference is not invalid JSON-LD. It is just a claim about nothing, expressed in correct syntax, which is the most expensive kind of wrong.