InteractionCounter

Thing > Intangible > StructuredValue > InteractionCounter

A summary of how users have interacted with this CreativeWork. In most cases, authors will use a subtype to specify the specific type of interaction.
PropertyExpected TypeDescription
Properties from InteractionCounter
interactionService SoftwareApplication  or
WebSite 
The WebSite or SoftwareApplication where the interactions took place.
interactionType Action The Action representing the type of interaction. For up votes, +1s, etc. use LikeAction. For down votes use DislikeAction. Otherwise, use the most specific Action.
userInteractionCount Integer The number of interactions for the CreativeWork using the WebSite or SoftwareApplication.
Properties from Thing
additionalType URL An additional type for the item, typically used for adding more specific types from external vocabularies in microdata syntax. This is a relationship between something and a class that the thing is in. In RDFa syntax, it is better to use the native RDFa syntax - the 'typeof' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.
alternateName Text An alias for the item.
description Text A description of the item.
disambiguatingDescription Text A sub property of description. A short description of the item used to disambiguate from other, similar items. Information from other properties (in particular, name) may be necessary for the description to be useful for disambiguation.
identifier PropertyValue  or
Text  or
URL 
The identifier property represents any kind of identifier for any kind of Thing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See background notes for more details.
image ImageObject  or
URL 
An image of the item. This can be a URL or a fully described ImageObject.
mainEntityOfPage CreativeWork  or
URL 
Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details.
Inverse property: mainEntity.
name Text The name of the item.
potentialAction Action Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.
sameAs URL URL of a reference Web page that unambiguously indicates the item's identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or official website.
subjectOf CreativeWork  or
Event 
A CreativeWork or Event about this Thing..
Inverse property: about.
url URL URL of the item.


Instances of InteractionCounter may appear as values for the following properties

PropertyOn TypesDescription
interactionStatistic CreativeWork The number of interactions for the CreativeWork using the WebSite or SoftwareApplication. The most specific child type of InteractionCounter should be used. Supersedes, interactionCount.
Supersedes
UserBlocks
UserCheckins
UserComments
UserDownloads
UserInteraction
UserLikes
UserPageVisits
UserPlays
UserPlusOnes
UserTweets
Examples

Example 1
A video has the following interactions:
YouTube: 512 up votes
Twitter: 1024 up votes
Twitter: 2345 tweets
Facebook: 1024 likes
4356 views
<div itemid="http://videolectures.net/iswc2013_guha_tunnel/" itemscope itemtype="http://schema.org/VideoObject">
  <h1 itemprop="name">Light at the End of the Tunnel</h1>
  <p>Author:
    <div itemprop="author" itemscope itemtype="http://schema.org/Person">
      <span itemprop="name">Ramanathan V. Guha</span>
    </div>
  </p>
  <video controls>
    <source src="http://videolectures.net/iswc2013_guha_tunnel/" />
  </video>
  <p>Youtube Like Count:
    <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter">
      <div itemprop="interactionService" itemscope itemid="https://www.youtube.com" itemtype="http://schema.org/Website">
        <meta itemprop="name" content="YouTube" />
      </div>
      <link itemprop="interactionType" href="http://schema.org/LikeAction"/>
      <span itemprop="userInteractionCount">512</span>
    </div>
  </p>
  <p>Twitter Favorite Count:
    <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter">
      <div itemprop="interactionService" itemscope itemid="https://www.twitter.com" itemtype="http://schema.org/SoftwareApplication">
        <meta itemprop="name" content="Twitter" />
      </div>
      <link itemprop="interactionType" content="https://schema.org/LikeAction"/>
      <span itemprop="userInteractionCount" content="1024">1,024</span>
    </div>
  </p>
  <p>Twitter Tweet Count:
    <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter">
      <div itemprop="interactionService" itemscope itemid="https://twitter.com" itemtype="http://schema.org/SoftwareApplication">
        <meta itemprop="name" content="Twitter" />
      </div>
      <link itemprop="interactionType" href="http://schema.org/ShareAction"/>
      <span itemprop="userInteractionCount" content="2345">2,345</span>
    </div>
  </p>
  <p>Facebook Like Count:
    <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter">
      <div itemprop="interactionService" itemscope itemid="https://www.facebook.com" itemtype="http://schema.org/Website">
        <meta itemprop="name" content="Facebook" />
      </div>
      <link itemprop="interactionType" href="http://schema.org/LikeAction"/>
      <span itemprop="userInteractionCount" content="1024">1024</span>
    </div>
  </p>
  <p>View Count:
    <div itemprop="interactionStatistic" itemscope itemtype="http://schema.org/InteractionCounter">
      <link itemprop="interactionType" href="http://schema.org/WatchAction"/>
      <span itemprop="userInteractionCount" content="4356">4,356</span>
    </div>
  </p>
</div>
<div vocab="http://schema./org/" resource="http://videolectures.net/iswc2013_guha_tunnel/" typeof="VideoObject">
  <h1 property="name">Light at the End of the Tunnel</h1>
  <p>Author:
    <div property="author" typeof="Person">
      <span property="name">Ramanathan V. Guha</span>
    </div>
  </p>
  <video controls>
    <source src="http://videolectures.net/iswc2013_guha_tunnel/" />
  </video>
  <p>YouTube Like Count:
    <div property="interactionStatistic" typeof="InteractionCounter">
      <div property="interactionService" itemscope itemid="https://www.youtube.com" itemtype="http://schema.org/Website">
        <meta property="name" content="YouTube" />
      </div>
      <link property="interactionType" href="http://schema.org/LikeAction"/>
      <span property="userInteractionCount">512</span>
    </div>
  </p>
  <p>Twitter Favorite Count:
    <div property="interactionStatistic" typeof="InteractionCounter">
      <div property="interactionService" itemscope itemid="https://twitter.com" itemtype="http://schema.org/SoftwareApplication">
        <meta property="name" content="Twitter" />
      </div>
      <link property="interactionType" href="http://schema.org/LikeAction"/>
      <span property="userInteractionCount" content="1024">1024</span>
    </div>
  </p>
  <p>Twitter Tweet Count:
    <div property="interactionStatistic" typeof="InteractionCounter">
      <div property="interactionService" itemscope itemid="https://twitter.com" itemtype="http://schema.org/SoftwareApplication">
        <meta property="name" content="Twitter" />
      </div>
      <link property="interactionType" href="http://schema.org/ShareAction"/>
      <span property="userInteractionCount" content="2345">2345</span>
    </div>
  </p>
  <p>Facebook Like Count:
    <div property="interactionStatistic" typeof="InteractionCounter">
      <div property="interactionService" itemscope itemid="https://www.facebook.com" itemtype="http://schema.org/Website">
        <meta property="name" content="Facebook" />
      </div>
      <link property="interactionType" href="http://schema.org/LikeAction"/>
      <span property="userInteractionCount" content="1024">1024</span>
    </div>
  </p>
  <p>View Count:
    <div property="interactionStatistic" typeof="InteractionCounter">
      <link property="interactionType" href="http://schema.org/WatchAction"/>
      <span property="userInteractionCount" content="4356">4356</span>
    </div>
  </p>
</div>
<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "VideoObject",
  "name": "Light at the End of the Tunnel",
  "@id": "http://videolectures.net/iswc2013_guha_tunnel/",
  "datePublished": "2013-11-28",
  "author": {
    "@type": "Person",
    "name": "Ramanathan V. Guha"
  },
  "interactionStatistic": [
    {
      "@type": "InteractionCounter",
      "interactionService": {
        "@type": "Website",
        "name": "YouTube",
        "@id": "https://youtube.com"
      },
      "interactionType": "http://schema.org/LikeAction",
      "userInteractionCount": "512"
    },
    {
      "@type": "InteractionCounter",
      "interactionService": {
        "@type": "SoftwareApplication",
        "name": "Twitter",
        "url": "https://www.twitter.com"
      },
      "interactionType": "http://schema.org/LikeAction",
      "userInteractionCount": "1024"
    },
    {
      "@type": "InteractionCounter",
      "interactionService": {
        "@type": "SoftwareApplication",
        "name": "Twitter",
        "url": "https://twitter.com"
      },
      "interactionType": "http://schema.org/ShareAction",
      "userInteractionCount": "2345"
    },
    {
      "@type": "InteractionCounter",
      "interactionService": {
        "@type": "Website",
        "name": "Facebook",
        "url": "https://www.facebook.com"
      },
      "interactionType": "http://schema.org/LikeAction",
      "userInteractionCount": "1024"
    },
    {
      "@type": "InteractionCounter",
      "interactionType": "http://schema.org/WatchAction",
      "userInteractionCount": "4356"
    }
  ]
}
</script>