Updated on 30 November 2026, by João Leite, Founder of murmur.

To use JSON-LD so AI understands the site, put a block on each page that describes the company, the author and the page. The block uses the schema.org vocabulary and repeats the data the screen already shows, with nothing extra. The format’s official website, json-ld.org, presents JSON-LD like this: “JSON-LD is a lightweight Linked Data format. It is easy for humans to read and write.” And schema.org, which defines the types and properties, writes that its vocabulary works in JSON-LD, in RDFa and in Microdata.

  • JSON-LD is a block of code that describes the page for machines. It says who the company is, who wrote it and what the page is, using schema.org types and properties.
  • schema.org is the vocabulary, and JSON-LD is one of the formats. In 2024, more than 45 million domains marked their pages with the schema.org vocabulary, according to schema.org itself.
  • The @id links the pieces. The company, the person and the page get fixed identifiers, point to each other through them and stay together in an @graph.
  • The block repeats the screen. Data that exists only in the JSON-LD stays outside what the person reads and becomes hidden text.
  • A site with several brands gives each brand an @id, so the machine does not merge two companies into one.

JSON-LD describes the page for machines, with the schema.org vocabulary

JSON-LD describes the page for machines: it says, with schema.org terms, that one name belongs to a company, that another belongs to a person and that the page is an article written by that person. Structured data, or schema, is that markup in the code that puts a label on each piece of information, and JSON-LD is the way of writing it in a single block, separate from the text. For AI, the block works as a description of the page, not as a substitute for it. The answer the person reads comes from the page text, and the tests on the effect of markup on that answer are in the guide on whether schema markup helps you appear in AI answers.

What JSON-LD is, according to the format’s official website

JSON-LD is, according to the format’s official website, a lightweight Linked Data format, easy for people to read and write. Linked Data is the idea of giving each thing an identifier and letting one thing point to another through it. json-ld.org also records that the formal specification of JSON-LD is the responsibility of the W3C JSON-LD working group, the web standards consortium.

The vocabulary comes from somewhere else: schema.org, which lists the types, such as Organization, Person and WebPage, and the properties of each one. schema.org writes that this vocabulary works in several formats, including RDFa, Microdata and JSON-LD, and that, in 2024, more than 45 million domains marked their pages with more than 450 billion of its objects. RDFa and Microdata go in as attributes inside HTML tags, mixed with the text. JSON-LD sits in a separate block, which makes it easier to write, check and swap the markup without touching the text.

Where JSON-LD goes: a block in the page code that the visitor does not see

JSON-LD goes in a block of the page code, inside a script tag of the application/ld+json type, and the visitor does not see it on the screen. The block can go in the HTML head or body, and each page carries its own, with its own data. The block usually comes in through the system that generates the pages or at the hands of a developer, and the guide on schema markup in AI answers covers both paths. A minimal block, with the company, the person and the page connected, looks like this:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "SITE-ADDRESS/#empresa",
      "name": "COMPANY NAME, SAME AS ON THE SCREEN",
      "url": "SITE-ADDRESS/",
      "sameAs": ["COMPANY'S OFFICIAL LINKEDIN PROFILE"]
    },
    {
      "@type": "Person",
      "@id": "SITE-ADDRESS/#autor",
      "name": "NAME OF THE PERSON WHO WRITES",
      "worksFor": { "@id": "SITE-ADDRESS/#empresa" }
    },
    {
      "@type": "WebPage",
      "@id": "PAGE-ADDRESS/",
      "inLanguage": "pt-BR",
      "author": { "@id": "SITE-ADDRESS/#autor" },
      "publisher": { "@id": "SITE-ADDRESS/#empresa" }
    }
  ]
}
</script>

The values in capitals mark the place of each company’s data. The rest of the block, with the @context, the @type and the connections through @id, works for any site.

The pieces of JSON-LD: @context, @type, @id and the properties

JSON-LD is built with four fixed pieces, @context, @type, @id and @graph, and with the properties schema.org defines for each type.

piecewhat it doesexample value
@contextsays which vocabulary the block useshttps://schema.org
@typesays what kind of thing the item isOrganization, Person or WebPage
@idgives the item an identifier that does not changethe site URL followed by #empresa (example)
@graphgathers several items in the same blockthe list with the company, the person and the page
namethe name of the itemthe company name, same as on the screen (example)
urlthe item’s official URLthe site’s home page (example)
sameAsthe URLs that identify the item unambiguouslythe company’s official LinkedIn profile (example)
worksForlinks the person to the organization they work forthe company’s @id

The four pieces with an at sign are the grammar of the block, and the properties are the content. The @context says where the words come from, the @type chooses the type, and the @id is what lets a page cite the company without repeating its data. Without the @id, each page describes the company again, and a name written differently on one of them can become a second company for the machine.

The company, the person and the page are linked in JSON-LD through the @id: each one gets a fixed identifier, and the others point to it instead of repeating the data. The company is an Organization item, with @id, name, url and sameAs. schema.org defines sameAs as “URL of a reference Web page that unambiguously indicates the item’s identity.”, the reference page that says without doubt who that item is.

The person is a Person item, and the property worksFor, which schema.org describes in the Person type as the organizations the person works for, points to the company’s @id. The page points the author to the person’s @id and the publisher to the company’s @id. With that, the machine reads a complete sentence: this page was written by this person, who works at this company.

The @graph is the list that gathers the three items in the same block. With it, the page carries a single block, and the company identifier holds for all the items that point to it. The same @id repeats across all the pages of the site, and each new page reinforces the same company instead of creating another.

JSON-LD repeats the screen, and data that exists only in the block stays out

JSON-LD repeats what the screen shows: the name, the author, the date and the price that are in the block are also written on the page. In a direct reading test by searchVIU, an SEO tools company, in October 2025, data placed only in the block was not found by the systems tested, as the guide on schema markup and AI answers shows. Putting data in the block that the screen does not show is hiding from the person what is shown to the machine, and the risk of that hidden text falls on the entire domain. What AI uses to answer is the text, and the shape of that text, with the answer at the start and the numbers with sources, is in the content structure guide.

HTML structure is another layer: the headings, lists and tables the text already carries, the subject of the guide on semantic HTML in GEO. Before any markup, the About us page needs to say in writing who the company is, and what goes on it is in the guide on how to write the About us page.

How to use JSON-LD on the site in six steps

To use JSON-LD on the site, follow this order, from choosing the type to checking the code:

  1. Choose the type of each page. The home page describes the company, the author page describes the person, and the article carries the article type, with the author and the company linked.
  2. Write the block with the schema.org @context. The value is https://schema.org, and each item carries the @type that says what it is.
  3. Give the company and the person a fixed @id. The site URL with a marker at the end, such as #empresa, works, as long as it never changes.
  4. Link the page to them through the @id. The author points to the person, and the publisher points to the company.
  5. Put the official profiles in sameAs. Only the profiles that belong to the company itself, such as its LinkedIn page.
  6. Open the source code and check the block. It has to be in the HTML the server delivers and repeat what the screen shows.

The check in step 6 catches what the site’s system generates on its own. The automatic block can come out with the company’s old name, without the author or with a test URL, and only reading the code shows that.

The common JSON-LD mistakes

The common JSON-LD mistakes come from the block saying one thing and the screen, or another block, saying another:

  1. Data that exists only in the block. A price, address or rating that the page does not show becomes hidden text.
  2. Two blocks with different names for the same company. One plugin writes the legal name and another the trade name, and the machine receives two companies.
  3. The @id that changes from one page to another. Each new identifier looks like a new company, and the link between the pages is lost.
  4. The sameAs that points to a profile that is not the company’s. A partner’s, a distributor’s or a similarly named brand’s profile mixes identities.

The four mistakes are found the same way: by comparing the block with the page and the blocks with each other. The check is worth doing again whenever the site changes systems, gains a plugin or changes a brand name.

On a site with several brands and languages, each brand gets its own identifier in JSON-LD

On a site with several brands and several languages, JSON-LD has to give each brand its own identifier, so the machine does not merge two companies into one. Each brand becomes an Organization item with its own @id, name, address and sameAs, and each brand’s pages point to the right @id. The page version in another language carries the inLanguage of that language and points to the same brand @id, because the company is the same in both texts. What each language version needs in writing is in the guide on the versions of the same page in two languages.

murmur, a GEO-first agency that places brands in AI answers to every question in the sector, serves this type of site: large companies, with more than one brand and more than one language, and several brands from the same client. Content and measurement also come out in other languages, and murmur measures brand by brand, because each one has its own questions and its own competitors in AI answers.

Frequently asked questions

Are JSON-LD and schema markup the same thing?

No: schema.org is the vocabulary, and JSON-LD is one of the formats in which it is written. Schema.org states that the vocabulary works in RDFa, in Microdata and in JSON-LD. Schema markup is the name the market gives to markup made with that vocabulary, in any of the three formats. JSON-LD is the separate-block format, and the other two are mixed into the HTML.

Can I have more than one JSON-LD block on the same page?

You can, and @graph joins everything into a single block when you want to simplify. Two blocks on the same page work, as long as they do not contradict each other: the company has to have the same @id, the same name and the same address in both. The common conflict appears when the site theme and a plugin each write a company block with different data, and then one of the two goes.

Does JSON-LD have to be in Portuguese?

The property names stay in English, because that is the schema.org vocabulary, and the value goes in the language of the page. In name, the company name goes as the company presents itself; in description, the description in Portuguese, the same as the one shown on the screen. The inLanguage property states the language of the text, such as pt-BR. The page version in another language carries the translated values and the same company @id.

What goes in the company’s sameAs?

sameAs holds the addresses that identify the company without doubt: schema.org defines the property as the reference web page that unambiguously indicates the item’s identity. In practice, they are the official profiles of the company itself, such as its LinkedIn page and its profiles on the networks where it publishes. A partner’s, a reseller’s or another similarly named company’s profile stays out, because it mixes the identity that sameAs should establish.

Where to start

Start with what AI models already say about your company, to find out whether their description matches the one on the screen. murmur’s free diagnostic is an automatic tool: given the site address, it shows how AI models answer the questions in your market, in less than two minutes and without asking for registration. With the result in hand, the JSON-LD of each page is written over a text that is already right. To see what happens in your market, murmur publishes sector studies with the brands that AI models mentioned in each one.

Read also

References

  • json-ld.org, home page of the official JSON-LD site. JSON-LD is a lightweight Linked Data format, easy to read and write, and the formal specification is the responsibility of the W3C JSON-LD working group. https://json-ld.org/ (accessed on 10 November 2026).
  • Schema.org, home page. The vocabulary works in RDFa, Microdata and JSON-LD; in 2024, more than 45 million domains marked their pages with more than 450 billion schema.org objects. https://schema.org/ (accessed on 10 November 2026).
  • Schema.org, sameAs property. “URL of a reference Web page that unambiguously indicates the item’s identity.” https://schema.org/sameAs (accessed on 10 November 2026).
  • Schema.org, Person type, worksFor property. “Organizations that the person works for.” https://schema.org/Person (accessed on 10 November 2026).