Note: You are viewing the development version of Schema.org. See how we work for more details.

sharedContent

A Schema.org Property
A CreativeWork such as an image, video, or audio clip shared as part of this posting.

Values expected to be one of these types

Used on these types

Examples

Example 1
Copied
Example notes or example HTML without markup.
  1. <h1>Leaked new BMW 2 series (m235i)</h1>
  2. <p>Date posted: March 4, 2014</p>
  3. <p>Author: <a href="https://www.pinterest.com/ryansammy/">Ryan Sammy</a></p>
  4. <p>
  5.    <b><a href="http://www.reddit.com/r/BMW/comments/1oyh6j/leaked_new_bmw_2_series_m235i_ahead_of_oct_25/">
  6.      Leaked new BMW 2 series (m235i) ahead of oct 25 reveal</a></b>
  7. </p>
  8. <p>Author: threal135i</p>
Example encoded as Microdata embedded in HTML.
  1. <div itemid="https://www.pinterest.com/pin/201887995769400347/" itemscope itemtype="https://schema.org/SocialMediaPosting">
  2.   <h1 itemprop="headline">Leaked new BMW 2 series (m235i)</h1>
  3.   <p>Date posted: March 4, 2014 <meta itemprop="datePublished" content="2014-03-04" /></p>
  4.   <p>Author:
  5.     <span itemprop="author" itemscope itemtype="https://schema.org/Person">
  6.       <span itemprop="name">
  7.         <a itemprop="url" href="https://www.pinterest.com/ryansammy/">Ryan Sammy</a></span>
  8.     </span>
  9.   </p>
  10.   <div itemprop="sharedContent" itemscope itemtype="https://schema.org/WebPage">
  11.       <p>
  12.         <b itemprop="headline"><a itemprop="url" href="http://www.reddit.com/r/BMW/comments/1oyh6j/leaked_new_bmw_2_series_m235i_ahead_of_oct_25/">
  13.           Leaked new BMW 2 series (m235i) ahead of oct 25 reveal</a></b>
  14.       </p>
  15.       <p>Author:
  16.         <span itemprop="author" itemscope itemtype="https://schema.org/Person">
  17.           <span itemprop="name">threal135i</span>
  18.         </span>
  19.       </p>
  20.   </div>
  21. </div>
Example encoded as RDFa embedded in HTML.
  1. <div vocab="https://schema.org/" typeof="SocialMediaPosting" resource="https://www.pinterest.com/pin/201887995769400347/">
  2.   <h1 property="headline">Leaked new BMW 2 series (m235i)</h1>
  3.   <p>Date posted: March 4, 2014 <meta property="datePublished" content="2014-03-04" /></p>
  4.   <p>Author:
  5.     <span property="author" typeof="Person">
  6.       <span property="name">
  7.         <a property="url" href="https://www.pinterest.com/ryansammy/">Ryan Sammy</a></span>
  8.     </span>
  9.   </p>
  10.   <div property="sharedContent" typeof="WebPage">
  11.       <p>
  12.         <b property="headline"><a property="url" href="http://www.reddit.com/r/BMW/comments/1oyh6j/leaked_new_bmw_2_series_m235i_ahead_of_oct_25/">
  13.           Leaked new BMW 2 series (m235i) ahead of oct 25 reveal</a></b>
  14.       </p>
  15.       <p>Author:
  16.         <span property="author" typeof="Person">
  17.           <span property="name">threal135i</span>
  18.         </span>
  19.       </p>
  20.   </div>
  21. </div>
Example encoded as JSON-LD in a HTML script tag.
  1. <script type="application/ld+json">
  2. {
  3.   "@context":"https://schema.org",
  4.   "@type":"SocialMediaPosting",
  5.   "@id":"https://www.pinterest.com/pin/201887995769400347/",
  6.   "datePublished":"2014-03-04",
  7.   "author":{
  8.     "@type":"Person",
  9.     "name":"Ryan Sammy",
  10.     "url":"https://www.pinterest.com/ryansammy/"
  11.   },
  12.   "headline":"Leaked new BMW 2 series (m235i)",
  13.   "sharedContent":{
  14.     "@type":"WebPage",
  15.     "headline":"Leaked new BMW 2 series (m235i) ahead of oct 25 reveal",
  16.     "url":"http://www.reddit.com/r/BMW/comments/1oyh6j/leaked_new_bmw_2_series_m235i_ahead_of_oct_25/",
  17.     "author":{
  18.       "@type":"Person",
  19.       "name":"threal135i"
  20.     }
  21.   }
  22. }
  23. </script>
Structured representation of the JSON-LD example.