WebSchemas/SocialAccountProperty

From W3C Wiki


This is an archived WebSchemas proposal socialAccount Property for schema.org. See Proposals listing for more. Note: active schema.org development is now based at github



This page tracks a proposal to extend schema.org's vocabulary for describing people, organizations and contact points by indicating a 'socialAccount'. This would typically from a multi-user social network site e.g. Twitter but the link could be from any site of any size.

Proposal

Add a new property, 'socialAccount':

  • Comment: "Indicates a corresponding profile page for an account on a socially-oriented Web site."
  • Used on types: ContactPoint, Person, MusicGroup, Organization, ServiceChannel
  • Expected types: URL, WebPage (i.e. a plain link or an inline description are both OK)

Notes:

  • Language of the socialAccount could be roughly inferred from http://schema.org/availableLanguage on ServiceChannel or ContactPoint.
  • The property does not mandate 'public profile' since account status settings can easily change. As with all personally identifying information, publishers should take care when describing other people.

Examples

A Person, their twitter account and a wikipedia page

Microdata:

<div itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Stephen Fry</span> 
     (<a itemprop="url" href="http://www.stephenfry.com/">stephenfry.com</a>, 
      <a itemprop="socialAccount" href="http://twitter.com/stephenfry">twitter</a>, 
<a itemprop="sameAs" href="http://en.wikipedia.org/wiki/Stephen_Fry">wikipedia</a>)
</div>

RDFa:

<div vocab="http://schema.org/" typeof="Person">
 <span property="name">Stephen Fry</span>
      (<a property="url" href="http://www.stephenfry.com/">stephenfry.com</a>, 
       <a property="socialAccount" href="http://twitter.com/stephenfry">twitter</a>, 
       <a property="sameAs" href="http://en.wikipedia.org/wiki/Stephen_Fry">wikipedia</a>)
</div>