Say I have markup like this on https://example.org/index.html
:
<span itemscope itemtype="https://schema.org/LocalBusiness">
<meta itemprop="url" content="https://example.org/index.html">
<meta itemprop="name" content="Example Industries">
<span itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
<meta itemprop="addressCountry" content="CA">
<meta itemprop="addressRegion" content="ON">
<meta itemprop="addressLocality" content="Ottawa">
</span>
<meta itemprop="telephone" content="613-555-1234">
...
</span>
Then on https://example.org/employees/joe-blow.html
I have
<span itemscope itemtype="https://schema.org/Person">
<meta itemprop="url" content="https://example.org/employees/joe-blow.html">
<meta itemprop="givenName" content="Joe">
<meta itemprop="familyName" content="Blow">
<span itemprop="worksFor" itemscope itemtype="https://schema.org/LocalBusiness">
<meta itemprop="url" content="https://example.org/index.html">
<meta itemprop="name" content="Example Industries">
</span>
</span>
I obviously don't want to repeat all the information about the LocalBusiness
within each Person
. Is this a valid way for the Person
to reference the LocalBusiness
on another page?
I've also tried it like this:
https://example.org/index.html
:
<span itemid="#business" itemscope itemtype="https://schema.org/LocalBusiness">
<meta itemprop="url" content="https://example.org/index.html">
<meta itemprop="name" content="Example Industries">
<span itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
<meta itemprop="addressCountry" content="CA">
<meta itemprop="addressRegion" content="ON">
<meta itemprop="addressLocality" content="Ottawa">
</span>
<meta itemprop="telephone" content="613-555-1234">
...
</span>
https://example.org/employees/joe-blow.html
:
<span itemscope itemtype="https://schema.org/Person">
<meta itemprop="url" content="https://example.org/employees/joe-blow.html">
<meta itemprop="givenName" content="Joe">
<meta itemprop="familyName" content="Blow">
<link itemprop="worksFor" href="https://example.org/#business">
</span>
But Google's validator doesn't seem to recognize the linked information. It complained unless I re-included the name
property of the LocalBusiness
.
link
withhref
attribute (instead ofmeta
withcontent
attribute) if the value is a URL, e.g., for yoururl
properties.