schema.org/ext/ActionTypes.html
author scor <scorlosquet@gmail.com>
Fri, 14 Mar 2014 12:03:13 -0400
changeset 179 b4c3ad199322
parent 119 8e681bba4ea3
permissions -rw-r--r--
Add example inspired from stackoverflow for QA proposal
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
     1
<div id="schema"><h1>The Individual type documentation</h1>Per type documentation.<div class="type" typeof="rdfs:Class" resource="http://schema.org/Thing"><h1 class="page-title"><span id="Thing"><a href="http://schema.org/Thing"><span property="rdfs:label">Thing</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The most generic type of item.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr typeof="rdf:Property" href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code property="rdfs:label">additionalType</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/Thing"><a property="http://schema.org/range" href="http://schema.org/URL">URL</a></td><td property="rdfs:comment" class="prop-desc">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.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/url"><th class="prop-nam" scope="row"><code property="rdfs:label">url</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/Thing"><a property="http://schema.org/range" href="http://schema.org/URL">URL</a></td><td property="rdfs:comment" class="prop-desc">URL of the item.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/description"><th class="prop-nam" scope="row"><code property="rdfs:label">description</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/Thing"><a property="http://schema.org/range" href="http://schema.org/Text">Text</a></td><td property="rdfs:comment" class="prop-desc">A short description of the item.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/image"><th class="prop-nam" scope="row"><code property="rdfs:label">image</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/Thing"><a property="http://schema.org/range" href="http://schema.org/URL">URL</a></td><td property="rdfs:comment" class="prop-desc">URL of an image of the item.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/name"><th class="prop-nam" scope="row"><code property="rdfs:label">name</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/Thing"><a property="http://schema.org/range" href="http://schema.org/Text">Text</a></td><td property="rdfs:comment" class="prop-desc">The name of the item.</td></tr></tbody></table><h3>More specific types</h3><ul><li><a href="#Action">Action</a></li><li><a href="#ActionHandler">ActionHandler</a></li><li><a href="#CreativeWork">CreativeWork</a></li><li><a href="#Enumeration">Enumeration</a></li></ul><div class="version">Schema Draft Version 1.0a</div>TODO(goto): write example.</div><div class="type" typeof="rdfs:Class" resource="http://schema.org/Action"><h1 class="page-title"><span id="Action"><a href="http://schema.org/Thing" property="rdfs:subClassOf"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span property="rdfs:label">Action</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">An action performed by a direct agent and indirect     participants upon a direct object. Optionally happens at a location     with the help of an inanimate instrument. The execution of the action     may produce a result. Specific action sub-type documentation specifies     the exact expectation of each argument/role.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr typeof="rdf:Property" href="http://schema.org/status"><th class="prop-nam" scope="row"><code property="rdfs:label">status</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/Action"><a property="http://schema.org/range" href="http://schema.org/ActionStatus">ActionStatus</a></td><td property="rdfs:comment" class="prop-desc">The state that the action is at.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/handler"><th class="prop-nam" scope="row"><code property="rdfs:label">handler</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/Action"><a property="http://schema.org/range" href="http://schema.org/ActionHandler">ActionHandler</a></td><td property="rdfs:comment" class="prop-desc">The handler that can execute this item.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/agent"><th class="prop-nam" scope="row"><code property="rdfs:label">agent</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/Action"><a property="http://schema.org/range" href="http://schema.org/Person">Person</a> or <a property="http://schema.org/range" href="http://schema.org/Organization">Organization</a></td><td property="rdfs:comment" class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code property="rdfs:label">endTime</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/Action"><a property="http://schema.org/range" href="http://schema.org/DateTime">DateTime</a></td><td property="rdfs:comment" class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code property="rdfs:label">instrument</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/Action"><a property="http://schema.org/range" href="http://schema.org/Thing">Thing</a></td><td property="rdfs:comment" class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/location"><th class="prop-nam" scope="row"><code property="rdfs:label">location</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/Action"><a property="http://schema.org/range" href="http://schema.org/Place">Place</a> or <a property="http://schema.org/range" href="http://schema.org/PostalAddress">PostalAddress</a></td><td property="rdfs:comment" class="prop-desc">The location of the event, organization or action.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/object"><th class="prop-nam" scope="row"><code property="rdfs:label">object</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/Action"><a property="http://schema.org/range" href="http://schema.org/Thing">Thing</a></td><td property="rdfs:comment" class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/participant"><th class="prop-nam" scope="row"><code property="rdfs:label">participant</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/Action"><a property="http://schema.org/range" href="http://schema.org/Person">Person</a> or <a property="http://schema.org/range" href="http://schema.org/Organization">Organization</a></td><td property="rdfs:comment" class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/result"><th class="prop-nam" scope="row"><code property="rdfs:label">result</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/Action"><a property="http://schema.org/range" href="http://schema.org/Thing">Thing</a></td><td property="rdfs:comment" class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code property="rdfs:label">startTime</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/Action"><a property="http://schema.org/range" href="http://schema.org/DateTime">DateTime</a></td><td property="rdfs:comment" class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody></table><h3>More specific types</h3><ul><li><a href="#AchieveAction">AchieveAction</a></li><li><a href="#AssessAction">AssessAction</a></li><li><a href="#ConsumeAction">ConsumeAction</a></li><li><a href="#CreateAction">CreateAction</a></li><li><a href="#FindAction">FindAction</a></li><li><a href="#InteractAction">InteractAction</a></li><li><a href="#MoveAction">MoveAction</a></li><li><a href="#OrganizeAction">OrganizeAction</a></li><li><a href="#PlayAction">PlayAction</a></li><li><a href="#SearchAction">SearchAction</a></li><li><a href="#TradeAction">TradeAction</a></li><li><a href="#TransferAction">TransferAction</a></li><li><a href="#UpdateAction">UpdateAction</a></li></ul><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John listened to Pink with Steve at Anna's appartment on his iPod.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
     2
  // John listened to Pink with Steve at Anna's appartment on his iPod.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
     3
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
     4
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
     5
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
     6
    "@type": "MusicGroup",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
     7
    "name": "Pink!"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
     8
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
     9
  "participant": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    10
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    11
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    12
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    13
  "location": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    14
    "@type": "Residence",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    15
    "name": "Ann's appartment"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    16
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    17
  "instrument": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    18
    "@type": "Product",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    19
    "name": "iPod"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    20
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    21
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    22
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    23
</pre><b>Example 2</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John created an exercise plan with Steve.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    24
  // John created an exercise plan with Steve.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    25
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    26
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    27
  "result": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    28
    "@type": "ExercisePlan",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    29
    "name": "John's weight loss plan"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    30
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    31
  "participant": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    32
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    33
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    34
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    35
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    36
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
    37
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/AchieveAction"><h1 class="page-title"><span id="AchieveAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action" property="rdfs:subClassOf"><span>Action</span></a> &gt; <a href="http://schema.org/AchieveAction"><span property="rdfs:label">AchieveAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of accomplishing something via     previous efforts. It is an instantaneous action rather than an ongoing     process.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AchieveAction">AchieveAction</a></th></tr></thead><tbody class="supertype"></tbody></table><h3>More specific types</h3><ul><li><a href="#LoseAction">LoseAction</a></li><li><a href="#TieAction">TieAction</a></li><li><a href="#WinAction">WinAction</a></li></ul><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John achieved his exercise plan.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    38
  // John achieved his exercise plan.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    39
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    40
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    41
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    42
    "@type": "ExercisePlan",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    43
    "exerciseType": "biking"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    44
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    45
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    46
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
    47
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/LoseAction"><h1 class="page-title"><span id="LoseAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/AchieveAction" property="rdfs:subClassOf"><span>AchieveAction</span></a> &gt; <a href="http://schema.org/LoseAction"><span property="rdfs:label">LoseAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of being defeated in a competitive activity.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AchieveAction">AchieveAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#LoseAction">LoseAction</a></th></tr></thead><tbody class="supertype"> <tr typeof="rdf:Property" href="http://schema.org/winner"><th class="prop-nam" scope="row"><code property="rdfs:label">winner</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/LoseAction"><a property="http://schema.org/range" href="http://schema.org/Person">Person</a></td><td property="rdfs:comment" class="prop-desc">A sub property of <a property="rdfs:subPropertyOf" href="http://schema.org/participant">participant</a>. The winner of the action.</td></tr></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John lost a match of angry birds to Steve.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    48
  // John lost a match of angry birds to Steve.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    49
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    50
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    51
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    52
    "@type": "SoftwareApplication",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    53
    "name": "Angry Birds"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    54
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    55
  "winner": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    56
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    57
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    58
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    59
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    60
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
    61
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/TieAction"><h1 class="page-title"><span id="TieAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/AchieveAction" property="rdfs:subClassOf"><span>AchieveAction</span></a> &gt; <a href="http://schema.org/TieAction"><span property="rdfs:label">TieAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of reaching a draw in a competitive activity.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AchieveAction">AchieveAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#TieAction">TieAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John tied on a match of chess with Steve.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    62
  // John tied on a match of chess with Steve.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    63
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    64
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    65
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    66
    "@type": "SoftwareApplication",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    67
    "name": "chess"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    68
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    69
  "participant": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    70
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    71
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    72
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    73
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    74
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
    75
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/WinAction"><h1 class="page-title"><span id="WinAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/AchieveAction" property="rdfs:subClassOf"><span>AchieveAction</span></a> &gt; <a href="http://schema.org/WinAction"><span property="rdfs:label">WinAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of achieving victory in a competitive activity.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AchieveAction">AchieveAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#WinAction">WinAction</a></th></tr></thead><tbody class="supertype"> <tr typeof="rdf:Property" href="http://schema.org/loser"><th class="prop-nam" scope="row"><code property="rdfs:label">loser</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/WinAction"><a property="http://schema.org/range" href="http://schema.org/Person">Person</a></td><td property="rdfs:comment" class="prop-desc">A sub property of <a property="rdfs:subPropertyOf" href="http://schema.org/participant">participant</a>. The loser of the action.</td></tr></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John won a Nobel prize.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    76
  // John won a Nobel prize.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    77
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    78
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    79
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    80
    "@type": "Award",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    81
    "name": "Nobel prize"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    82
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    83
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    84
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
    85
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/AssessAction"><h1 class="page-title"><span id="AssessAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action" property="rdfs:subClassOf"><span>Action</span></a> &gt; <a href="http://schema.org/AssessAction"><span property="rdfs:label">AssessAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of forming one's opinion, reaction or sentiment.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AssessAction">AssessAction</a></th></tr></thead><tbody class="supertype"></tbody></table><h3>More specific types</h3><ul><li><a href="#ChooseAction">ChooseAction</a></li><li><a href="#IgnoreAction">IgnoreAction</a></li><li><a href="#ReactAction">ReactAction</a></li><li><a href="#ReviewAction">ReviewAction</a></li></ul><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John assessed a scholar paper.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    86
  // John assessed a scholar paper.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    87
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    88
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    89
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    90
    "@type": "ScholarlyArticle",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    91
    "name": "Does P = NP?"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    92
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    93
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    94
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
    95
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/ChooseAction"><h1 class="page-title"><span id="ChooseAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/AssessAction" property="rdfs:subClassOf"><span>AssessAction</span></a> &gt; <a href="http://schema.org/ChooseAction"><span property="rdfs:label">ChooseAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of expressing a preference from a set of options or a large or unbounded set of choices/options.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AssessAction">AssessAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ChooseAction">ChooseAction</a></th></tr></thead><tbody class="supertype"> <tr typeof="rdf:Property" href="http://schema.org/option"><th class="prop-nam" scope="row"><code property="rdfs:label">option</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/ChooseAction"><a property="http://schema.org/range" href="http://schema.org/Text">Text</a> or <a property="http://schema.org/range" href="http://schema.org/Thing">Thing</a></td><td property="rdfs:comment" class="prop-desc">A sub property of <a property="rdfs:subPropertyOf" href="http://schema.org/object">object</a>. The options subject to this action.</td></tr></tbody></table><h3>More specific types</h3><ul><li><a href="#VoteAction">VoteAction</a></li></ul><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John chose Dogfish Head between that and Russian River.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    96
  // John chose Dogfish Head between that and Russian River.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    97
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    98
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
    99
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   100
    "@type": "Brewery",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   101
    "name": "Dogfish Head"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   102
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   103
  "option": [
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   104
    {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   105
      "@type": "Brewery",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   106
      "name": "Dogfish Head"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   107
    },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   108
    {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   109
      "@type": "Brewery",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   110
      "name": "Russian River"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   111
    }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   112
  ]
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   113
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   114
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   115
</pre><b>Example 2</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John chose Dogfish Head from all breweries.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   116
  // John chose Dogfish Head from all breweries.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   117
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   118
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   119
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   120
    "@type": "Brewery",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   121
    "name": "Dogfish Head"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   122
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   123
  "option": "Brewery"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   124
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   125
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   126
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/VoteAction"><h1 class="page-title"><span id="VoteAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/AssessAction"><span>AssessAction</span></a> &gt; <a href="http://schema.org/ChooseAction" property="rdfs:subClassOf"><span>ChooseAction</span></a> &gt; <a href="http://schema.org/VoteAction"><span property="rdfs:label">VoteAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of expressing a preference from a fixed/finite/structured set of choices/options as part of a collaborative selection process.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AssessAction">AssessAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ChooseAction">ChooseAction</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/option"><th class="prop-nam" scope="row"><code>option</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a> or <a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">A sub property of <a href="http://schema.org/object">object</a>. The options subject to this action.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#VoteAction">VoteAction</a></th></tr></thead><tbody class="supertype"> <tr typeof="rdf:Property" href="http://schema.org/candidate"><th class="prop-nam" scope="row"><code property="rdfs:label">candidate</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/VoteAction"><a property="http://schema.org/range" href="http://schema.org/Person">Person</a></td><td property="rdfs:comment" class="prop-desc">A sub property of <a property="rdfs:subPropertyOf" href="http://schema.org/object">object</a>. The candidate subject of this action.</td></tr></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John voted on Steve.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   127
  // John voted on Steve.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   128
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   129
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   130
  "candidate": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   131
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   132
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   133
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   134
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   135
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   136
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/IgnoreAction"><h1 class="page-title"><span id="IgnoreAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/AssessAction" property="rdfs:subClassOf"><span>AssessAction</span></a> &gt; <a href="http://schema.org/IgnoreAction"><span property="rdfs:label">IgnoreAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of intentionally disregarding the object. An agent ignores an object.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AssessAction">AssessAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#IgnoreAction">IgnoreAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John ignored Steve.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   137
  // John ignored Steve.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   138
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   139
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   140
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   141
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   142
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   143
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   144
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   145
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   146
</pre><b>Example 2</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John and Steve ignored an article.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   147
  // John and Steve ignored an article.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   148
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   149
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   150
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   151
    "@type": "ScholarlyArticle",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   152
    "name": "Do we really need to know whether P = NP?"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   153
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   154
  "participant": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   155
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   156
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   157
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   158
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   159
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   160
</pre><b>Example 3</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John ignores a friend request from Steve.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   161
  // John ignores a friend request from Steve.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   162
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   163
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   164
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   165
    "@type": "BefriendAction",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   166
    "agent": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   167
      "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   168
      "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   169
    },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   170
    "instrument": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   171
      "@type": "WebPage",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   172
      "url": "https://www.social.com"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   173
    }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   174
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   175
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   176
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   177
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/ReactAction"><h1 class="page-title"><span id="ReactAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/AssessAction" property="rdfs:subClassOf"><span>AssessAction</span></a> &gt; <a href="http://schema.org/ReactAction"><span property="rdfs:label">ReactAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of responding instinctively and emotionally to an object, expressing a sentiment.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AssessAction">AssessAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ReactAction">ReactAction</a></th></tr></thead><tbody class="supertype"></tbody></table><h3>More specific types</h3><ul><li><a href="#AgreeAction">AgreeAction</a></li><li><a href="#DisagreeAction">DisagreeAction</a></li><li><a href="#DislikeAction">DislikeAction</a></li><li><a href="#EndorseAction">EndorseAction</a></li><li><a href="#LikeAction">LikeAction</a></li><li><a href="#WantAction">WantAction</a></li></ul><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John reacted to a scholar paper claiming that P = NP!.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   178
  // John reacted to a scholar paper claiming that P = NP!.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   179
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   180
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   181
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   182
    "@type": "ScholarlyArticle",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   183
    "name": "We found out that P = NP!"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   184
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   185
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   186
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   187
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/AgreeAction"><h1 class="page-title"><span id="AgreeAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/AssessAction"><span>AssessAction</span></a> &gt; <a href="http://schema.org/ReactAction" property="rdfs:subClassOf"><span>ReactAction</span></a> &gt; <a href="http://schema.org/AgreeAction"><span property="rdfs:label">AgreeAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of expressing a consistency of opinion with the object. An agent agrees to/about an object (a proposition, topic or theme) with participants.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AssessAction">AssessAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ReactAction">ReactAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AgreeAction">AgreeAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John and Steve agreed with a scholar paper claiming that P = NP!.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   188
  // John and Steve agreed with a scholar paper claiming that P = NP!.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   189
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   190
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   191
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   192
    "@type": "ScholarlyArticle",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   193
    "name": "We found out that P = NP!"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   194
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   195
  "participant": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   196
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   197
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   198
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   199
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   200
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   201
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/DisagreeAction"><h1 class="page-title"><span id="DisagreeAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/AssessAction"><span>AssessAction</span></a> &gt; <a href="http://schema.org/ReactAction" property="rdfs:subClassOf"><span>ReactAction</span></a> &gt; <a href="http://schema.org/DisagreeAction"><span property="rdfs:label">DisagreeAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of expressing a difference of opinion with the object. An agent disagrees to/about an object (a proposition, topic or theme) with participants.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AssessAction">AssessAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ReactAction">ReactAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#DisagreeAction">DisagreeAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John and Steve disagreed with a scholar paper claiming that P = NP!,  resulting in another scholar paper claiming that P is in fact != NP!.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   202
  // John and Steve disagreed with a scholar paper claiming that P = NP!,  resulting in another scholar paper claiming that P is in fact != NP!.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   203
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   204
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   205
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   206
    "@type": "ScholarlyArticle",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   207
    "name": "We found out that P = NP!"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   208
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   209
  "participant": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   210
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   211
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   212
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   213
  "result": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   214
    "@type": "ScholarlyArticle",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   215
    "name": "No it is not! P != NP!"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   216
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   217
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   218
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   219
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/DislikeAction"><h1 class="page-title"><span id="DislikeAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/AssessAction"><span>AssessAction</span></a> &gt; <a href="http://schema.org/ReactAction" property="rdfs:subClassOf"><span>ReactAction</span></a> &gt; <a href="http://schema.org/DislikeAction"><span property="rdfs:label">DislikeAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of expressing a negative sentiment about the object. An agent dislikes an object (a proposition, topic or theme) with participants.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AssessAction">AssessAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ReactAction">ReactAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#DislikeAction">DislikeAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John and Steve dislike an article.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   220
  // John and Steve dislike an article.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   221
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   222
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   223
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   224
    "@type": "ScholarlyArticle",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   225
    "name": "We found out that P = NP!"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   226
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   227
  "participant": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   228
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   229
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   230
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   231
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   232
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   233
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/EndorseAction"><h1 class="page-title"><span id="EndorseAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/AssessAction"><span>AssessAction</span></a> &gt; <a href="http://schema.org/ReactAction" property="rdfs:subClassOf"><span>ReactAction</span></a> &gt; <a href="http://schema.org/EndorseAction"><span property="rdfs:label">EndorseAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">An agent approves/certifies/likes/supports/sanctions an object.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AssessAction">AssessAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ReactAction">ReactAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#EndorseAction">EndorseAction</a></th></tr></thead><tbody class="supertype"> <tr typeof="rdf:Property" href="http://schema.org/endorsee"><th class="prop-nam" scope="row"><code property="rdfs:label">endorsee</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/EndorseAction"><a property="http://schema.org/range" href="http://schema.org/Person">Person</a> or <a property="http://schema.org/range" href="http://schema.org/Organization">Organization</a></td><td property="rdfs:comment" class="prop-desc">A sub property of <a property="rdfs:subPropertyOf" href="http://schema.org/participant">participant</a>. The person/organization being supported.</td></tr></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John endorsed Steve.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   234
  // John endorsed Steve.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   235
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   236
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   237
  "endorsee": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   238
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   239
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   240
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   241
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   242
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   243
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/LikeAction"><h1 class="page-title"><span id="LikeAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/AssessAction"><span>AssessAction</span></a> &gt; <a href="http://schema.org/ReactAction" property="rdfs:subClassOf"><span>ReactAction</span></a> &gt; <a href="http://schema.org/LikeAction"><span property="rdfs:label">LikeAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of expressing a positive sentiment about the object. An agent likes an object (a proposition, topic or theme) with participants.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AssessAction">AssessAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ReactAction">ReactAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#LikeAction">LikeAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John and Steve like an article.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   244
  // John and Steve like an article.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   245
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   246
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   247
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   248
    "@type": "ScholarlyArticle",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   249
    "name": "We found out that P = NP!"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   250
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   251
  "participant": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   252
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   253
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   254
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   255
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   256
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   257
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/WantAction"><h1 class="page-title"><span id="WantAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/AssessAction"><span>AssessAction</span></a> &gt; <a href="http://schema.org/ReactAction" property="rdfs:subClassOf"><span>ReactAction</span></a> &gt; <a href="http://schema.org/WantAction"><span property="rdfs:label">WantAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of expressing a desire about the object. An agent wants an object.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AssessAction">AssessAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ReactAction">ReactAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#WantAction">WantAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John and Steve want an iPod.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   258
  // John and Steve want an iPod.
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   259
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   260
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   261
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   262
    "@type": "Product",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   263
    "name": "ipod"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   264
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   265
  "participant": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   266
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   267
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   268
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   269
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   270
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   271
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/ReviewAction"><h1 class="page-title"><span id="ReviewAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/AssessAction" property="rdfs:subClassOf"><span>AssessAction</span></a> &gt; <a href="http://schema.org/ReviewAction"><span property="rdfs:label">ReviewAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of producing a balanced opinion about the object for an audience. An agent reviews an object with participants resulting in a review.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AssessAction">AssessAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ReviewAction">ReviewAction</a></th></tr></thead><tbody class="supertype"> <tr typeof="rdf:Property" href="http://schema.org/resultReview"><th class="prop-nam" scope="row"><code property="rdfs:label">resultReview</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/ReviewAction"><a property="http://schema.org/range" href="http://schema.org/Review">Review</a></td><td property="rdfs:comment" class="prop-desc">A sub property of <a property="rdfs:subPropertyOf" href="http://schema.org/result">result</a>. The review that resulted in the performing of the action.</td></tr></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John and Steve reviewed an article.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   272
  // John and Steve reviewed an article.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   273
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   274
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   275
  "resultReview": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   276
    "@type": "Review",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   277
    "reviewBody": "It is pretty awesome!"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   278
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   279
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   280
    "@type": "ScholarlyArticle",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   281
    "name": "We found out that P = NP!"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   282
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   283
  "participant": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   284
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   285
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   286
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   287
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   288
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   289
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/ConsumeAction"><h1 class="page-title"><span id="ConsumeAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action" property="rdfs:subClassOf"><span>Action</span></a> &gt; <a href="http://schema.org/ConsumeAction"><span property="rdfs:label">ConsumeAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of ingesting information/resources/food.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ConsumeAction">ConsumeAction</a></th></tr></thead><tbody class="supertype"></tbody></table><h3>More specific types</h3><ul><li><a href="#DrinkAction">DrinkAction</a></li><li><a href="#EatAction">EatAction</a></li><li><a href="#InstallAction">InstallAction</a></li><li><a href="#ListenAction">ListenAction</a></li><li><a href="#ReadAction">ReadAction</a></li><li><a href="#UseAction">UseAction</a></li><li><a href="#ViewAction">ViewAction</a></li><li><a href="#WatchAction">WatchAction</a></li></ul><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">The biceps consumed 100 calories.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   290
  // The biceps consumed 100 calories.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   291
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   292
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   293
  "agent": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   294
    "@type": "Muscle",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   295
    "name": "Biceps"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   296
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   297
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   298
    "@type": "Energy",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   299
    "name": "100 calories"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   300
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   301
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   302
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   303
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/DrinkAction"><h1 class="page-title"><span id="DrinkAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/ConsumeAction" property="rdfs:subClassOf"><span>ConsumeAction</span></a> &gt; <a href="http://schema.org/DrinkAction"><span property="rdfs:label">DrinkAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of swallowing liquids.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ConsumeAction">ConsumeAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#DrinkAction">DrinkAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John drank a coke.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   304
  // John drank a coke.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   305
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   306
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   307
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   308
    "@type": "Product",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   309
    "name": "Coke"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   310
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   311
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   312
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   313
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/EatAction"><h1 class="page-title"><span id="EatAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/ConsumeAction" property="rdfs:subClassOf"><span>ConsumeAction</span></a> &gt; <a href="http://schema.org/EatAction"><span property="rdfs:label">EatAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of swallowing solid objects.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ConsumeAction">ConsumeAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#EatAction">EatAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John eat a cake.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   314
  // John eat a cake.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   315
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   316
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   317
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   318
    "@type": "Product",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   319
    "name": "Cake"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   320
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   321
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   322
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   323
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/InstallAction"><h1 class="page-title"><span id="InstallAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/ConsumeAction" property="rdfs:subClassOf"><span>ConsumeAction</span></a> &gt; <a href="http://schema.org/InstallAction"><span property="rdfs:label">InstallAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of installing an application.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ConsumeAction">ConsumeAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#InstallAction">InstallAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John installed fitbit.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   324
  // John installed fitbit.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   325
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   326
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   327
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   328
    "@type": "MobileApplication",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   329
    "name": "Fitbit"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   330
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   331
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   332
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   333
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/ListenAction"><h1 class="page-title"><span id="ListenAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/ConsumeAction" property="rdfs:subClassOf"><span>ConsumeAction</span></a> &gt; <a href="http://schema.org/ListenAction"><span property="rdfs:label">ListenAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of consuming audio content.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ConsumeAction">ConsumeAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ListenAction">ListenAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John listened to Pink.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   334
  // John listened to Pink.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   335
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   336
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   337
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   338
    "@type": "MusicGroup",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   339
    "name": "Pink!"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   340
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   341
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   342
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   343
</pre><b>Example 2</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John listened to star 101.3.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   344
  // John listened to star 101.3.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   345
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   346
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   347
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   348
    "@type": "RadioStation",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   349
    "name": "Star 101.3"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   350
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   351
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   352
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   353
</pre><b>Example 3</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John listened to an Elvis playlist.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   354
  // John listened to an Elvis playlist.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   355
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   356
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   357
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   358
    "@type": "MusicPlaylist",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   359
    "name": "All Elvis Songs"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   360
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   361
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   362
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   363
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/ReadAction"><h1 class="page-title"><span id="ReadAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/ConsumeAction" property="rdfs:subClassOf"><span>ConsumeAction</span></a> &gt; <a href="http://schema.org/ReadAction"><span property="rdfs:label">ReadAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of consuming written content.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ConsumeAction">ConsumeAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ReadAction">ReadAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John read an article.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   364
  // John read an article.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   365
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   366
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   367
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   368
    "@type": "ScholarlyArticle",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   369
    "name": "Article"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   370
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   371
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   372
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   373
</pre><b>Example 2</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John read a book.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   374
  // John read a book.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   375
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   376
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   377
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   378
    "@type": "Book",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   379
    "name": "We found that P = NP!"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   380
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   381
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   382
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   383
</pre><b>Example 3</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John read a code.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   384
  // John read a code.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   385
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   386
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   387
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   388
    "@type": "Code",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   389
    "name": "The linux kernel"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   390
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   391
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   392
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   393
</pre><b>Example 4</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John read a web page.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   394
  // John read a web page.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   395
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   396
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   397
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   398
    "@type": "WebPage",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   399
    "name": "CNN news!"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   400
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   401
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   402
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   403
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/UseAction"><h1 class="page-title"><span id="UseAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/ConsumeAction" property="rdfs:subClassOf"><span>ConsumeAction</span></a> &gt; <a href="http://schema.org/UseAction"><span property="rdfs:label">UseAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of applying an object to its intended purpose.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ConsumeAction">ConsumeAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#UseAction">UseAction</a></th></tr></thead><tbody class="supertype"></tbody></table><h3>More specific types</h3><ul><li><a href="#WearAction">WearAction</a></li></ul><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John used an exercise plan.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   404
  // John used an exercise plan.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   405
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   406
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   407
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   408
    "@type": "ExercisePlan",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   409
    "name": "How to lose 100 calories a day."
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   410
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   411
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   412
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   413
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/WearAction"><h1 class="page-title"><span id="WearAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/ConsumeAction"><span>ConsumeAction</span></a> &gt; <a href="http://schema.org/UseAction" property="rdfs:subClassOf"><span>UseAction</span></a> &gt; <a href="http://schema.org/WearAction"><span property="rdfs:label">WearAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of dressing oneself in clothing.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ConsumeAction">ConsumeAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#UseAction">UseAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#WearAction">WearAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John wore Calvin Klein.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   414
  // John wore Calvin Klein.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   415
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   416
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   417
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   418
    "@type": "Brand",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   419
    "name": "Calvin Klein"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   420
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   421
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   422
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   423
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/ViewAction"><h1 class="page-title"><span id="ViewAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/ConsumeAction" property="rdfs:subClassOf"><span>ConsumeAction</span></a> &gt; <a href="http://schema.org/ViewAction"><span property="rdfs:label">ViewAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of consuming static visual content.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ConsumeAction">ConsumeAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ViewAction">ViewAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John viewed Les demoiselles d'avignon.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   424
  // John viewed Les demoiselles d'avignon.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   425
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   426
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   427
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   428
    "@type": "Painting",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   429
    "name": "Les demoiselles d'avignon"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   430
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   431
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   432
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   433
</pre><b>Example 2</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John viewed a photo of Steve.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   434
  // John viewed a photo of Steve.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   435
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   436
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   437
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   438
    "@type": "ImageObject",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   439
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   440
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   441
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   442
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   443
</pre><b>Example 3</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John viewed The Thinker.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   444
  // John viewed The Thinker.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   445
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   446
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   447
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   448
    "@type": "Sculpture",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   449
    "name": "The Thinker"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   450
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   451
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   452
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   453
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/WatchAction"><h1 class="page-title"><span id="WatchAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/ConsumeAction" property="rdfs:subClassOf"><span>ConsumeAction</span></a> &gt; <a href="http://schema.org/WatchAction"><span property="rdfs:label">WatchAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of consuming dynamic/moving visual content.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#ConsumeAction">ConsumeAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#WatchAction">WatchAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John watched Friends.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   454
  // John watched Friends.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   455
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   456
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   457
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   458
    "@type": "TvEpisode",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   459
    "name": "Friends!"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   460
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   461
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   462
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   463
</pre><b>Example 2</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John watched The Big Bang Theory</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   464
  // John watched The Big Bang Theory
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   465
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   466
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   467
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   468
    "@type": "TvSeries",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   469
    "name": "The Big Bang Theory"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   470
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   471
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   472
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   473
</pre><b>Example 3</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John watched The Internship</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   474
  // John watched The Internship
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   475
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   476
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   477
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   478
    "@type": "Movie",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   479
    "name": "The Internship"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   480
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   481
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   482
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   483
</pre><b>Example 4</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John watched The Bolshoi Ballet group in Russia.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   484
  // John watched The Bolshoi Ballet group in Russia.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   485
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   486
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   487
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   488
    "@type": "PerformingGroup",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   489
    "name": "Bolshoi"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   490
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   491
  "location": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   492
    "@type": "PerformingArtsTheater",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   493
    "name": "Chuvash State Opera and Ballet Theater"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   494
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   495
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   496
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   497
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/CreateAction"><h1 class="page-title"><span id="CreateAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action" property="rdfs:subClassOf"><span>Action</span></a> &gt; <a href="http://schema.org/CreateAction"><span property="rdfs:label">CreateAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of deliberately creating/producing/generating/building a result out of the agent.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#CreateAction">CreateAction</a></th></tr></thead><tbody class="supertype"></tbody></table><h3>More specific types</h3><ul><li><a href="#CookAction">CookAction</a></li><li><a href="#DrawAction">DrawAction</a></li><li><a href="#FilmAction">FilmAction</a></li><li><a href="#PaintAction">PaintAction</a></li><li><a href="#PhotographAction">PhotographAction</a></li><li><a href="#WriteAction">WriteAction</a></li></ul><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John created a website.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   498
  // John created a website.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   499
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   500
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   501
  "result": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   502
    "@type": "WebPage",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   503
    "name": "John's thought about the web"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   504
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   505
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   506
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   507
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/CookAction"><h1 class="page-title"><span id="CookAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/CreateAction" property="rdfs:subClassOf"><span>CreateAction</span></a> &gt; <a href="http://schema.org/CookAction"><span property="rdfs:label">CookAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of producing/preparing food.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#CreateAction">CreateAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#CookAction">CookAction</a></th></tr></thead><tbody class="supertype"> <tr typeof="rdf:Property" href="http://schema.org/recipe"><th class="prop-nam" scope="row"><code property="rdfs:label">recipe</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/CookAction"><a property="http://schema.org/range" href="http://schema.org/Recipe">Recipe</a></td><td property="rdfs:comment" class="prop-desc">A sub property of <a property="rdfs:subPropertyOf" href="http://schema.org/instrument">instrument</a>. The recipe/instructions used to perform the action.</td></tr></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John cooked a banana bread at the Cheesecake Factory.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   508
  // John cooked a banana bread at the Cheesecake Factory.
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   509
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   510
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   511
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   512
    "@type": "Thing",
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   513
    "name": "dinner"
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   514
  },
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   515
  "recipe": {
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   516
    "@type": "Recipe",
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   517
    "name": "Mom's World Famous Banana Bread"
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   518
  },
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   519
  "location": {
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   520
    "@type": "Bakery",
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   521
    "name": "Cheesecake Factory"
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   522
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   523
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   524
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   525
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/DrawAction"><h1 class="page-title"><span id="DrawAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/CreateAction" property="rdfs:subClassOf"><span>CreateAction</span></a> &gt; <a href="http://schema.org/DrawAction"><span property="rdfs:label">DrawAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of producing a visual/graphical representation of an object, typically with a pen/pencil and paper as instruments.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#CreateAction">CreateAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#DrawAction">DrawAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John drew a drawing.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   526
  // John drew a drawing.
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   527
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   528
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   529
  "object": {
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   530
    "@type": "Thing",
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   531
    "name": "A drawing"
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   532
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   533
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   534
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   535
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/FilmAction"><h1 class="page-title"><span id="FilmAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/CreateAction" property="rdfs:subClassOf"><span>CreateAction</span></a> &gt; <a href="http://schema.org/FilmAction"><span property="rdfs:label">FilmAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of capturing sound and moving images on film, video, or digitally.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#CreateAction">CreateAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#FilmAction">FilmAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John filmed The Internship.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   536
  // John filmed The Internship.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   537
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   538
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   539
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   540
    "@type": "Movie",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   541
    "name": "The Internship"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   542
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   543
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   544
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   545
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/PaintAction"><h1 class="page-title"><span id="PaintAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/CreateAction" property="rdfs:subClassOf"><span>CreateAction</span></a> &gt; <a href="http://schema.org/PaintAction"><span property="rdfs:label">PaintAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of producing a painting, typically with paint and canvas as instruments.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#CreateAction">CreateAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#PaintAction">PaintAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John painted Les Demoiselles d'Avignon.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   546
  // John painted Les Demoiselles d'Avignon.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   547
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   548
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   549
  "object": {
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   550
    "@type": "Painting",
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   551
    "name": "Les Demoiselles d'Avignon"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   552
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   553
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   554
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   555
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/PhotographAction"><h1 class="page-title"><span id="PhotographAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/CreateAction" property="rdfs:subClassOf"><span>CreateAction</span></a> &gt; <a href="http://schema.org/PhotographAction"><span property="rdfs:label">PhotographAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of capturing still images of objects using a camera.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#CreateAction">CreateAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#PhotographAction">PhotographAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John took a photo of Steve.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   556
  // John took a photo of Steve.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   557
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   558
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   559
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   560
    "@type": "ImageObject",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   561
    "url": "http://john.com/steve.jpg"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   562
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   563
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   564
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   565
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/WriteAction"><h1 class="page-title"><span id="WriteAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/CreateAction" property="rdfs:subClassOf"><span>CreateAction</span></a> &gt; <a href="http://schema.org/WriteAction"><span property="rdfs:label">WriteAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of authoring written creative content.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#CreateAction">CreateAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#WriteAction">WriteAction</a></th></tr></thead><tbody class="supertype"> <tr typeof="rdf:Property" href="http://schema.org/language"><th class="prop-nam" scope="row"><code property="rdfs:label">language</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/WriteAction"><a property="http://schema.org/range" href="http://schema.org/Language">Language</a></td><td property="rdfs:comment" class="prop-desc">A sub property of <a property="rdfs:subPropertyOf" href="http://schema.org/instrument">instrument</a>. The language used on this action.</td></tr></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John wrote an article on algorithms.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   566
  // John wrote an article on algorithms.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   567
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   568
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   569
  "result": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   570
    "@type": "ScholarlyArticle",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   571
    "name": "We found that P = NP!"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   572
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   573
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   574
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   575
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/FindAction"><h1 class="page-title"><span id="FindAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action" property="rdfs:subClassOf"><span>Action</span></a> &gt; <a href="http://schema.org/FindAction"><span property="rdfs:label">FindAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of finding an object.<p>Related actions:</p><ul><li><a href="http://schema.org/SearchAction">SearchAction</a>: FindAction is generally lead by a SearchAction, but not necessarily.</li></ul></span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#FindAction">FindAction</a></th></tr></thead><tbody class="supertype"></tbody></table><h3>More specific types</h3><ul><li><a href="#CheckAction">CheckAction</a></li><li><a href="#DiscoverAction">DiscoverAction</a></li><li><a href="#TrackAction">TrackAction</a></li></ul><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John found the answer to life.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   576
  // John found the answer to life.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   577
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   578
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   579
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   580
    "@type": "QuantitativeValue",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   581
    "name": "42"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   582
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   583
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   584
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   585
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/CheckAction"><h1 class="page-title"><span id="CheckAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/FindAction" property="rdfs:subClassOf"><span>FindAction</span></a> &gt; <a href="http://schema.org/CheckAction"><span property="rdfs:label">CheckAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">An agent inspects/determines/investigates/inquires or examines an object's accuracy/quality/condition or state.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#FindAction">FindAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#CheckAction">CheckAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John checked his flight status.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   586
  // John checked his flight status.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   587
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   588
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   589
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   590
    "@type": "Flight",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   591
    "name": "AA123"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   592
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   593
  "result": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   594
    "@type": "FlightStatus",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   595
    "name": "On time"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   596
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   597
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   598
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   599
</pre><b>Example 2</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John checked his blood test.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   600
  // John checked his blood test.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   601
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   602
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   603
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   604
    "@type": "BloodTest",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   605
    "name": "You are fine!"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   606
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   607
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   608
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   609
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/DiscoverAction"><h1 class="page-title"><span id="DiscoverAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/FindAction" property="rdfs:subClassOf"><span>FindAction</span></a> &gt; <a href="http://schema.org/DiscoverAction"><span property="rdfs:label">DiscoverAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of discovering/finding an object serendipitously, something that was not being explicitly searched for (e.g. stumbling upon).</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#FindAction">FindAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#DiscoverAction">DiscoverAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John discovered a Pink!</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   610
  // John discovered a Pink!
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   611
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   612
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   613
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   614
    "@type": "MusicRecording",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   615
    "name": "Pink"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   616
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   617
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   618
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   619
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/TrackAction"><h1 class="page-title"><span id="TrackAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/FindAction" property="rdfs:subClassOf"><span>FindAction</span></a> &gt; <a href="http://schema.org/TrackAction"><span property="rdfs:label">TrackAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">An agent tracks an object for updates.<p>Related actions:</p><ul><li><a href="http://schema.org/FollowAction">FollowAction</a>: Unlike FollowAction, TrackAction refers to interest in the location of inanimate objects.</li><li><a href="http://schema.org/SubscribeAction">SubscribeAction</a>: Unlike SubscribeAction, TrackAction refers to interest in the location of inanimate objects.</li></ul></span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#FindAction">FindAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#TrackAction">TrackAction</a></th></tr></thead><tbody class="supertype"> <tr typeof="rdf:Property" href="http://schema.org/deliveryMethod"><th class="prop-nam" scope="row"><code property="rdfs:label">deliveryMethod</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/TrackAction"><a property="http://schema.org/range" href="http://schema.org/DeliveryMethod">DeliveryMethod</a></td><td property="rdfs:comment" class="prop-desc">A sub property of <a property="rdfs:subPropertyOf" href="http://schema.org/instrument">instrument</a>. The method of delivery.</td></tr></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John tracked his fitbit via UPS.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   620
  // John tracked his fitbit via UPS.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   621
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   622
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   623
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   624
    "@type": "Product",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   625
    "name": "fitbit"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   626
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   627
  "deliveryMethod": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   628
    "@type": "http://purl.org/goodrelations/v1#UPS"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   629
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   630
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   631
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   632
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/InteractAction"><h1 class="page-title"><span id="InteractAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action" property="rdfs:subClassOf"><span>Action</span></a> &gt; <a href="http://schema.org/InteractAction"><span property="rdfs:label">InteractAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of interacting with another person or organization.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#InteractAction">InteractAction</a></th></tr></thead><tbody class="supertype"></tbody></table><h3>More specific types</h3><ul><li><a href="#BefriendAction">BefriendAction</a></li><li><a href="#CommunicateAction">CommunicateAction</a></li><li><a href="#FollowAction">FollowAction</a></li><li><a href="#JoinAction">JoinAction</a></li><li><a href="#LeaveAction">LeaveAction</a></li><li><a href="#MarryAction">MarryAction</a></li><li><a href="#RegisterAction">RegisterAction</a></li><li><a href="#SubscribeAction">SubscribeAction</a></li><li><a href="#UnRegisterAction">UnRegisterAction</a></li></ul><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John interacted with Steve.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   633
  // John interacted with Steve.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   634
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   635
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   636
  "participant": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   637
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   638
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   639
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   640
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   641
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   642
</pre><b>Example 2</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John interacted with the IEEE.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   643
  // John interacted with the IEEE.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   644
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   645
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   646
  "participant": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   647
    "@type": "Organization",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   648
    "name": "IEEE"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   649
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   650
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   651
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   652
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/BefriendAction"><h1 class="page-title"><span id="BefriendAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/InteractAction" property="rdfs:subClassOf"><span>InteractAction</span></a> &gt; <a href="http://schema.org/BefriendAction"><span property="rdfs:label">BefriendAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of forming a personal connection with someone (object) mutually/bidirectionally/symmetrically.<p>Related actions:</p><ul><li><a href="http://schema.org/FollowAction">FollowAction</a>: Unlike FollowAction, BefriendAction implies that the connection is reciprocal.</li></ul></span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#InteractAction">InteractAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#BefriendAction">BefriendAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John befriended Steve.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   653
  // John befriended Steve.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   654
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   655
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   656
  "object": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   657
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   658
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   659
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   660
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   661
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   662
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/CommunicateAction"><h1 class="page-title"><span id="CommunicateAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/InteractAction" property="rdfs:subClassOf"><span>InteractAction</span></a> &gt; <a href="http://schema.org/CommunicateAction"><span property="rdfs:label">CommunicateAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of conveying information to another person via a communication medium (instrument) such as speech, email, or telephone conversation.</span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#InteractAction">InteractAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#CommunicateAction">CommunicateAction</a></th></tr></thead><tbody class="supertype"> <tr typeof="rdf:Property" href="http://schema.org/about"><th class="prop-nam" scope="row"><code property="rdfs:label">about</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/CommunicateAction"><a property="http://schema.org/range" href="http://schema.org/Thing">Thing</a></td><td property="rdfs:comment" class="prop-desc">The subject matter of the content.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/content"><th class="prop-nam" scope="row"><code property="rdfs:label">content</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/CommunicateAction"><a property="http://schema.org/range" href="http://schema.org/Thing">Thing</a></td><td property="rdfs:comment" class="prop-desc">The content of the communication.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/recipient"><th class="prop-nam" scope="row"><code property="rdfs:label">recipient</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/CommunicateAction"><a property="http://schema.org/range" href="http://schema.org/Person">Person</a> or <a property="http://schema.org/range" href="http://schema.org/Organization">Organization</a> or <a property="http://schema.org/range" href="http://schema.org/Audience">Audience</a></td><td property="rdfs:comment" class="prop-desc">A sub property of <a property="rdfs:subPropertyOf" href="http://schema.org/participant">participant</a>. The participant who is at the receiving end of the action.</td></tr> <tr typeof="rdf:Property" href="http://schema.org/language"><th class="prop-nam" scope="row"><code property="rdfs:label">language</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/CommunicateAction"><a property="http://schema.org/range" href="http://schema.org/Language">Language</a></td><td property="rdfs:comment" class="prop-desc">A sub property of <a property="rdfs:subPropertyOf" href="http://schema.org/instrument">instrument</a>. The language used on this action.</td></tr></tbody></table><h3>More specific types</h3><ul><li><a href="#AskAction">AskAction</a></li><li><a href="#CheckInAction">CheckInAction</a></li><li><a href="#CheckOutAction">CheckOutAction</a></li><li><a href="#CommentAction">CommentAction</a></li><li><a href="#InformAction">InformAction</a></li><li><a href="#InviteAction">InviteAction</a></li><li><a href="#ReplyAction">ReplyAction</a></li><li><a href="#ShareAction">ShareAction</a></li></ul><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John communicated with Steve.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   663
  // John communicated with Steve.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   664
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   665
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   666
  "recipient": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   667
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   668
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   669
  }
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   670
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   671
&lt;/script&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   672
</pre><b>Example 2</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John communicated to the medical community his retirement.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   673
  // John communicated to the medical community his retirement.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   674
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   675
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   676
  "recipient": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   677
    "@type": "MedicalAudience",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   678
    "name": "Brain surgeons"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   679
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   680
  "object": "I'm retiring"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   681
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   682
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   683
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/AskAction"><h1 class="page-title"><span id="AskAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/InteractAction"><span>InteractAction</span></a> &gt; <a href="http://schema.org/CommunicateAction" property="rdfs:subClassOf"><span>CommunicateAction</span></a> &gt; <a href="http://schema.org/AskAction"><span property="rdfs:label">AskAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of posing a question / favor to someone.<p>Related actions:</p><ul><li><a href="http://schema.org/ReplyAction">ReplyAction</a>: Appears generally as a response to AskAction.</li></ul></span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#InteractAction">InteractAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#CommunicateAction">CommunicateAction</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/about"><th class="prop-nam" scope="row"><code>about</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The subject matter of the content.</td></tr> <tr href="http://schema.org/content"><th class="prop-nam" scope="row"><code>content</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The content of the communication.</td></tr> <tr href="http://schema.org/recipient"><th class="prop-nam" scope="row"><code>recipient</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a> or <a href="http://schema.org/Audience">Audience</a></td><td class="prop-desc">A sub property of <a href="http://schema.org/participant">participant</a>. The participant who is at the receiving end of the action.</td></tr> <tr href="http://schema.org/language"><th class="prop-nam" scope="row"><code>language</code></th><td class="prop-ect"><a href="http://schema.org/Language">Language</a></td><td class="prop-desc">A sub property of <a href="http://schema.org/instrument">instrument</a>. The language used on this action.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#AskAction">AskAction</a></th></tr></thead><tbody class="supertype"> <tr typeof="rdf:Property" href="http://schema.org/question"><th class="prop-nam" scope="row"><code property="rdfs:label">question</code></th><td class="prop-ect"><link property="http://schema.org/domain" href="http://schema.org/AskAction"><a property="http://schema.org/range" href="http://schema.org/Text">Text</a></td><td property="rdfs:comment" class="prop-desc">A sub property of <a property="rdfs:subPropertyOf" href="http://schema.org/object">object</a>. A question.</td></tr></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John asked Steve 'What is 2 + 2?'.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   684
  // John asked Steve 'What is 2 + 2?'.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   685
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   686
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   687
  "recipient": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   688
    "@type": "Person",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   689
    "name": "Steve"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   690
  },
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   691
  "question": "What's 2 + 2?"
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   692
}
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   693
&lt;/script&gt;
119
8e681bba4ea3 action handlers, first cut
danbri <danbri@google.com>
parents: 118
diff changeset
   694
</pre></div><div class="type" typeof="rdfs:Class" resource="http://schema.org/CheckInAction"><h1 class="page-title"><span id="CheckInAction"><a href="http://schema.org/Thing"><span>Thing</span></a> &gt; <a href="http://schema.org/Action"><span>Action</span></a> &gt; <a href="http://schema.org/InteractAction"><span>InteractAction</span></a> &gt; <a href="http://schema.org/CommunicateAction" property="rdfs:subClassOf"><span>CommunicateAction</span></a> &gt; <a href="http://schema.org/CheckInAction"><span property="rdfs:label">CheckInAction</span></a></span></h1><span datatype="rdf:XMLLiteral" property="rdfs:comment">The act of an agent communicating (service provider, social media, etc) their arrival by registering/confirming for a previously reserved service (e.g. flight check in) or at a place (e.g. hotel), possibly resulting in a result (boarding pass, etc).<p>Related actions:</p><ul><li><a href="http://schema.org/CheckOutAction">CheckOutAction</a>: The antonym of CheckInAction.</li><li><a href="http://schema.org/ArriveAction">ArriveAction</a>: Unlike ArriveAction, CheckInAction implies that the agent is informing/confirming the start of a previously reserved service.</li><li><a href="http://schema.org/ConfirmAction">ConfirmAction</a>: Unlike ConfirmAction, CheckInAction implies that the agent is informing/confirming the *start* of a previously reserved service rather than its validity/existance.</li></ul></span><table cellspacing="3" class="definition-table"><thead><tr><th>Property</th><th>Expected Type</th><th>Description</th></tr></thead><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Thing">Thing</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/additionalType"><th class="prop-nam" scope="row"><code>additionalType</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">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.</td></tr> <tr href="http://schema.org/url"><th class="prop-nam" scope="row"><code>url</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of the item.</td></tr> <tr href="http://schema.org/description"><th class="prop-nam" scope="row"><code>description</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">A short description of the item.</td></tr> <tr href="http://schema.org/image"><th class="prop-nam" scope="row"><code>image</code></th><td class="prop-ect"><a href="http://schema.org/URL">URL</a></td><td class="prop-desc">URL of an image of the item.</td></tr> <tr href="http://schema.org/name"><th class="prop-nam" scope="row"><code>name</code></th><td class="prop-ect"><a href="http://schema.org/Text">Text</a></td><td class="prop-desc">The name of the item.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#Action">Action</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/status"><th class="prop-nam" scope="row"><code>status</code></th><td class="prop-ect"><a href="http://schema.org/ActionStatus">ActionStatus</a></td><td class="prop-desc">The state that the action is at.</td></tr> <tr href="http://schema.org/handler"><th class="prop-nam" scope="row"><code>handler</code></th><td class="prop-ect"><a href="http://schema.org/ActionHandler">ActionHandler</a></td><td class="prop-desc">The handler that can execute this item.</td></tr> <tr href="http://schema.org/agent"><th class="prop-nam" scope="row"><code>agent</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">The direct performer or driver of the action (animate or inanimate). e.g. *John* wrote a book.</td></tr> <tr href="http://schema.org/endTime"><th class="prop-nam" scope="row"><code>endTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: end time. This is for actions that span a period of time. e.g. John wrote a book from January to *December*.</td></tr> <tr href="http://schema.org/instrument"><th class="prop-nam" scope="row"><code>instrument</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object that helped the agent perform the action. e.g. John wrote a book with *a pen*.</td></tr> <tr href="http://schema.org/location"><th class="prop-nam" scope="row"><code>location</code></th><td class="prop-ect"><a href="http://schema.org/Place">Place</a> or <a href="http://schema.org/PostalAddress">PostalAddress</a></td><td class="prop-desc">The location of the event, organization or action.</td></tr> <tr href="http://schema.org/object"><th class="prop-nam" scope="row"><code>object</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). e.g. John read *a book*.</td></tr> <tr href="http://schema.org/participant"><th class="prop-nam" scope="row"><code>participant</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a></td><td class="prop-desc">Other co-agents that participated in the action indirectly. e.g. John wrote a book with *Steve*.</td></tr> <tr href="http://schema.org/result"><th class="prop-nam" scope="row"><code>result</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The result produced in the action. e.g. John wrote *a book*.</td></tr> <tr href="http://schema.org/startTime"><th class="prop-nam" scope="row"><code>startTime</code></th><td class="prop-ect"><a href="http://schema.org/DateTime">DateTime</a></td><td class="prop-desc">When the Action was performed: start time. This is for actions that span a period of time. e.g. John wrote a book from *January* to December.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#InteractAction">InteractAction</a></th></tr></thead><tbody class="supertype"></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#CommunicateAction">CommunicateAction</a></th></tr></thead><tbody class="supertype"> <tr href="http://schema.org/about"><th class="prop-nam" scope="row"><code>about</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The subject matter of the content.</td></tr> <tr href="http://schema.org/content"><th class="prop-nam" scope="row"><code>content</code></th><td class="prop-ect"><a href="http://schema.org/Thing">Thing</a></td><td class="prop-desc">The content of the communication.</td></tr> <tr href="http://schema.org/recipient"><th class="prop-nam" scope="row"><code>recipient</code></th><td class="prop-ect"><a href="http://schema.org/Person">Person</a> or <a href="http://schema.org/Organization">Organization</a> or <a href="http://schema.org/Audience">Audience</a></td><td class="prop-desc">A sub property of <a href="http://schema.org/participant">participant</a>. The participant who is at the receiving end of the action.</td></tr> <tr href="http://schema.org/language"><th class="prop-nam" scope="row"><code>language</code></th><td class="prop-ect"><a href="http://schema.org/Language">Language</a></td><td class="prop-desc">A sub property of <a href="http://schema.org/instrument">instrument</a>. The language used on this action.</td></tr></tbody><thead class="supertype"><tr><th class="supertype-name" colspan="3">Properties from <a href="#CheckInAction">CheckInAction</a></th></tr></thead><tbody class="supertype"></tbody></table><div class="version">Schema Draft Version 1.0a</div><b>Example 1</b><p><b>Original HTML:</b></p><pre class="prettyprint lang-html linenums">John checked in at Yandex.</pre><b>With structured data:</b><pre class="prettyprint lang-html linenums">&lt;script type="application/ld+json"&gt;
114
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   695
  // John checked in at Yandex.
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   696
{
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   697
  "@context": "http://schema.org",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   698
  "location": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   699
    "@type": "Place",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   700
    "address": {
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   701
      "@type": "PostalAddress",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   702
      "name": "Yandex",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>
parents: 113
diff changeset
   703
      "streetAddress": "16 Leo Tolstoy St",
744494d69a14 Latest test build (rdfa needs some work).
danbri <danbri@google.com>