Organization and WebSite schema with sameAs links
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
- Add an
Organizationobject withname,urlandlogo. - Add a
WebSiteobject withnameandurl. - Add
"sameAs": ["https://www.linkedin.com/company/example", "https://github.com/example"]. - 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
- An
Organizationnode, or one of its listed subtypes (Corporation,NGO,OnlineBusiness,OnlineStore,LocalBusiness,Store,EducationalOrganization,GovernmentOrganization,MedicalOrganization,SportsOrganization), earns 1 point. AWebSitenode earns 1 point. Having both gives 2. - A
sameAsproperty 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. - The scan walks every nested object, including the items of an
@grapharray and objects nested inside other objects. The types andsameAsdo not have to sit on the same node. - One entry is enough. The property counts when it is present and is not
nullor 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. - Matching is case-sensitive.
sameAscounts,sameasdoes not, and a type written asorganizationdoes not matchOrganization. - 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
- Putting
sameAson a node that is not an Organization or WebSite, such as aPersonorArticle, and having neither of those two types anywhere on the page. It adds nothing. - Writing the key as
sameasorSameAs. The scan reads exactlysameAs. - A syntax error, such as a trailing comma or an unescaped quote, which makes the whole block unparseable. The scan then sees none of its contents.
- Adding the markup only to inner pages such as
/about. The scan reads the homepage HTML only. - Inserting the JSON-LD with JavaScript after the page loads, for example from a tag manager. The scan reads the HTML as served, so make sure the script tag is in the response itself.
- Listing profiles you do not control or that are not official, such as a fan page or a directory listing of another company. The scan does not check this, but the links are meant to point to your own entity.
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.