https://github.com/schemaorg/schemaorg
Raw File
Tip revision: 19475ebab339054918db8f526af68b46cbdbdd29 authored by Dan Brickley on 28 April 2016, 11:56:09 UTC
Fix a bug with Hospital, Dentist definitions.
Tip revision: 19475eb
sdo-creativework-examples.txt
TYPES: #creativework-1 Painting, contentLocation, locationCreated

PRE-MARKUP:

<div>
The Church at Auvers by Vincent van Gogh depicts a church in Auvers-sur-Oise, but was created in Saint-Rémy-de-Provence.
</div>

MICRODATA:

<div itemscope itemtype="http://schema.org/Painting">
<img itemprop="image" src="https://upload.wikimedia.org/wikipedia/commons/a/ad/Vincent_van_Gogh_-_The_Church_in_Auvers-sur-Oise%2C_View_from_the_Chevet_-_Google_Art_Project.jpg" />
<meta itemprop="sameAs" content="https://en.wikipedia.org/wiki/The_Church_at_Auvers" />
<span itemprop="name">The Church at Auvers</span>
by <div itemprop="creator" itemscope itemtype="http://schema.org/Person">
<span itemprop="name">Vincent van Gogh</span>
</div>
</span>,
depicts a church in <div itemprop="contentLocation" itemscope itemtype="http://schema.org/AdministrativeArea">
<span itemprop="name">Auvers-sur-Oise</span>,
</div>
but was creaetd in <div itemprop="locationCreated" itemscope itemtype="http://schema.org/AdministrativeArea">
<span itemprop="name">Saint-Rémy-de-Provence</span>.
</div>
</div>

RDFA:

<div vocab="http://schema.org/" typeof="Painting">
<img property="image" src="https://upload.wikimedia.org/wikipedia/commons/a/ad/Vincent_van_Gogh_-_The_Church_in_Auvers-sur-Oise%2C_View_from_the_Chevet_-_Google_Art_Project.jpg" />
<meta property="sameAs" content="https://en.wikipedia.org/wiki/The_Church_at_Auvers" />
<span property="name">The Church at Auvers</span>
by <div property="creator" typeof="Person">
<span property="name">Vincent van Gogh</span>
</div>
</span>,
depicts a church in <div property="contentLocation" typeof="AdministrativeArea">
<span property="name">Auvers-sur-Oise</span>,
</div>
but was creaetd in <div property="locationCreated" typeof="AdministrativeArea">
<span property="name">Saint-Rémy-de-Provence</span>.
</div>
</div>

JSON:

<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "Painting",
  "name": "The Church at Auvers",
  "image": "https://upload.wikimedia.org/wikipedia/commons/a/ad/Vincent_van_Gogh_-_The_Church_in_Auvers-sur-Oise%2C_View_from_the_Chevet_-_Google_Art_Project.jpg",
  "sameAs": "https://en.wikipedia.org/wiki/The_Church_at_Auvers",
  "creator": {
    "@type": "Person",
    "name": "Vincent van Gogh"
  },
  "contentLocation": {
    "@type": "AdministrativeArea",
    "name": "Auvers-sur-Oise"
  },
  "locationCreated": {
    "@type": "AdministrativeArea",
    "name": "Saint-Rémy-de-Provence"
  }
}
</script>


TYPES: #creativework-2 Conversation,Message

PRE-MARKUP:

<div>
A conversation between two people re: duck season vs rabbit season.
</div>

MICRODATA:

<div itemscope itemtype="http://schema.org/Conversation">
  <meta itemprop="name" content="Duck Season vs Rabbit Season" />
  <meta itemprop="sameAs" content="https://www.youtube.com/watch?v=9-k5J4RxQdE" />
  <div itemscope itemprop="hasPart" itemtype="http://schema.org/Message">
    <div itemscope itemprop="sender" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Bugs Bunny" />
    </div>
    <div itemscope itemprop="recipient" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Daffy Duck" />
    </div>
    <div itemscope itemprop="about" itemtype="http://schema.org/Thing">
      <meta itemprop="name" content="Duck Season" />
    </div>
    <meta itemprop="datePublished" content="2016-02-29" />
  </div>
  <div itemscope itemprop="hasPart" itemtype="http://schema.org/Message">
    <div itemscope itemprop="sender" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Daffy Duck" />
    </div>
    <div itemscope itemprop="recipient" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Bugs Bunny" />
    </div>
    <div itemscope itemprop="about" itemtype="http://schema.org/Thing">
      <meta itemprop="name" content="Rabbit Season" />
    </div>
    <meta itemprop="datePublished" content="2016-03-01" />
  </div>
</div>

RDFA:

<div vocab="http://schema.org/" typeof="Conversation">
  <meta property="name" content="Duck Season vs Rabbit Season" />
  <meta property="sameAs" content="https://www.youtube.com/watch?v=9-k5J4RxQdE" />
  <div property="hasPart" typeof="Message">
    <div property="sender" typeof="Person">
      <meta property="name" content="Bugs Bunny" />
    </div>
    <div property="recipient" typeof="Person">
      <meta property="name" content="Daffy Duck" />
    </div>
    <div property="about" typeof="Thing">
      <meta property="name" content="Duck Season" />
    </div>
    <meta itemprop="datePublished" content="2016-02-29" />
  </div>
  <div property="hasPart" typeof="Message">
    <div property="sender" typeof="Person">
      <meta property="name" content="Daffy Duck" />
    </div>
    <div property="recipient" typeof="Person">
      <meta property="name" content="Bugs Bunny" />
    </div>
    <div property="about" typeof="Thing">
      <meta property="name" content="Rabbit Season" />
    </div>
    <meta itemprop="datePublished" content="2016-03-01" />
  </div>
</div>

JSON:

<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "Conversation",
  "name": "Duck Season vs Rabbit Season",
  "sameAs": "https://www.youtube.com/watch?v=9-k5J4RxQdE",
  "hasPart": [
    {
      "@type": "Message",
      "sender": {
        "@type": "Person",
        "name": "Bugs Bunny"
      },
      "recipient": {
        "@type": "Person",
        "name": "Daffy Duck"
      },
      "about": {
        "@type": "Thing",
        "name": "Duck Season"
      },
      "datePublished": "2016-02-29"
    },
    {
      "@type": "Message",
      "sender": {
        "@type": "Person",
        "name": "Daffy Duck"
      },
      "recipient": {
        "@type": "Person",
        "name": "Bugs Bunny"
      },
      "about": {
        "@type": "Thing",
        "name": "Rabbit Season"
      },
      "datePublished": "2016-03-01"
    }
  ]
}
</script>

TYPES: #creativework-3 Message

PRE-MARKUP:

A message from Dom Portwood to Peter Gibbons about TPS reports.

MICRODATA:

<div itemscope itemtype="http://schema.org/Message">
  <div itemscope itemprop="sender" itemtype="http://schema.org/Person">
    <meta itemprop="name" content="Dom Portwood" />
  </div>
  <div itemscope itemprop="recipient" itemtype="http://schema.org/Person">
    <meta itemprop="name" content="Peter Gibbons" />
  </div>
  <div itemscope itemprop="about" itemtype="http://schema.org/Thing">
    <meta itemprop="name" content="TPS reports" />
  </div>
  <meta itemprop="datePublished" content="2016-02-29" />
  <meta itemprop="dateRead" content="2016-03-03" />
  <div itemscope itemprop="messageAttachement" itemtype="http://schema.org/CreativeWork">
    <meta itemprop="name" content="New coversheet" />
  </div>
</div>

RDFA:

<div vocab="http://schema.org/" typeof="Message">
  <div property="sender" typeof="Person">
    <meta property="name" content="Dom Portwood" />
  </div>
  <div property="recipient" typeof="Person">
    <meta property="name" content="Peter Gibbons" />
  </div>
  <div property="about" typeof="Thing">
    <meta property="name" content="TPS reports" />
  </div>
  <meta property="datePublished" content="2016-02-29" />
  <meta property="dateRead" content="2016-03-03" />
  <div property="messageAttachement" typeof="CreativeWork">
    <meta property="name" content="New coversheet" />
  </div>
</div>

JSON:

<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "Message",
  "sender": {
    "@type": "Person",
    "name": "Dom Portwood"
  },
  "recipient": {
    "@type": "Person",
    "name": "Peter Gibbons"
  },
  "about": {
    "@type": "Thing",
    "name": "TPS reports"
  },
  "datePublished": "2016-02-29",
  "dateRead": "2016-03-03",
  "messageAttachment": {
    "@type": "CreativeWork",
    "name": "New coversheet"
  }
}
</script>
back to top