AgentCan
← All checks

Organization and WebSite schema with sameAs links

Group C3 pointsrubric r1

We look through your JSON-LD for an Organization type (or a subtype such as LocalBusiness) and a WebSite type, and for a sameAs property with at least one URL.

Why it matters

When a model meets a name shared by several companies, sameAs links to your LinkedIn, GitHub or Wikipedia profile let the agent confirm which one you are. Without Organization data it cannot link your site to a known entity. Either type gives 1 point, both give 2, and sameAs adds 1. The scan walks every nested object, so types inside an @graph array count, and sameAs on any node earns its point.

How to fix it

  1. Add an Organization object with name, url and logo.
  2. Add a WebSite object with name and url.
  3. Add "sameAs": ["https://www.linkedin.com/company/example", "https://github.com/example"].
  4. Use only official profile URLs that you control.

How to verify

Re-scan this page; the evidence reads Organization=true WebSite=true sameAs=true.

sameAs schema: what the scan reads and how to write it

This is a scan of your live site, not a validator for pasted JSON. It downloads the HTML of your homepage, collects every application/ld+json block, parses each one, and walks all the objects inside. Only the homepage is read: markup that exists on your About page or on product pages is never seen. Points come from three separate signals: an Organization node (or a subtype), a WebSite node, and a sameAs property. The sameAs point is given only when at least one of the first two is present. The two blocks below show the difference. The first earns 3 of 3 points, the second earns 0 of 3, because sameAs sits on a Person and there is no Organization or WebSite.

{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "name": "Example Co",
      "url": "https://example.com/",
      "logo": "https://example.com/logo.png",
      "sameAs": [
        "https://www.linkedin.com/company/example",
        "https://github.com/example"
      ]
    },
    {
      "@type": "WebSite",
      "name": "Example Co",
      "url": "https://example.com/"
    }
  ]
}
# earns 3 of 3

{
  "@context": "https://schema.org",
  "@type": "Person",
  "name": "Jane Doe",
  "sameAs": ["https://github.com/janedoe"]
}
# earns 0 of 3

How sameAs is scored

  1. An Organization node, or one of its listed subtypes (Corporation, NGO, OnlineBusiness, OnlineStore, LocalBusiness, Store, EducationalOrganization, GovernmentOrganization, MedicalOrganization, SportsOrganization), earns 1 point. A WebSite node earns 1 point. Having both gives 2.
  2. A sameAs property on any node adds 1 point, but only if an Organization or a WebSite node has already been found. With neither, the total stays at 0.
  3. The scan walks every nested object, including the items of an @graph array and objects nested inside other objects. The types and sameAs do not have to sit on the same node.
  4. One entry is enough. The property counts when it is present and is not null or an empty array. The URLs are not fetched, resolved or compared with your domain, so a typo in a URL is not caught by this scan.
  5. Matching is case-sensitive. sameAs counts, sameas does not, and a type written as organization does not match Organization.
  6. A JSON-LD block that does not parse as JSON is skipped as a whole, and other blocks on the page are still read. Only the HTML returned for the homepage is examined.

Common sameAs mistakes

sameAs FAQ

What is sameAs in schema.org?
It is a property that holds the URL of a page that unambiguously identifies the same item, such as an official profile, a Wikipedia article or a Wikidata entry. It tells a reader of your markup that those pages describe the same entity as this node.

Which URLs should I put in sameAs?
Official profiles that you control and that are about the same organization: LinkedIn company page, GitHub organization, X or Mastodon account, YouTube channel, Wikipedia or Wikidata if the entry exists. Skip pages that only mention you.

Should sameAs be a string or an array?
Both work. A single URL can be a string, several URLs are an array. This scan accepts either form.

Does sameAs affect rankings or AI agents?
We make no such claim. In this rubric it is one point out of three in this check, a machine-readable statement of which profiles belong to you. We do not state a direct effect on search rankings or on what an AI agent does with it.

How can I check sameAs without the scanner?
Fetch the homepage and look at the JSON-LD blocks: curl -s https://example.com/ | grep -i "application/ld+json" shows whether they are in the served HTML. To check that a block is valid JSON, copy its contents into a file and run python3 -m json.tool file.json.

Check your site free

Related checks

All checks

AgentCan scores a site at one moment; it is not a guarantee about how every agent will treat it.