WebSchemas/ActivitySchema

From W3C Wiki


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




Overview

The Activity schema is proposed as a way to separate a general real world activity from other schemas such as events, places, touristattractions etc.

A general activity may be anything from 'take a walk in the park' to 'learn to draw', 'swim in the ocean' or 'play poker'.

Activities to do (for example when planning a party or a team building event) are commonly searched for on the web. An activity schema would help people more easily identify, filter and browse activities.

It would also help search engine users differentiate between football as an activity, a football match (event), a football club (organization) or the object football (product).

The Schema will help people who are looking for new things to do (E.g. at will, regularly or once in a lifetime).

The Schema is important because of the growing obesity epidemic. We need to help people get more physically active.

Vocabulary

Example Markup

Not complete.......

<div itemscope itemtype="http://schema.org/Activity">

 <h1 itemprop="name">Birdwatching</h1>
 Activity added by John Doe.  

 <img itemprop="image" src="birdwatching-thumb1.jpg" />

 <div itemprop="description">
   Get in touch with nature and observe the birds.
 </div>

 Typically takes <meta itemprop="takesTime" content="PT6H"> 6 hours to do.<br/>
 Typically requires <meta itemprop="prepareTime" content="PT1H"> 1 hour of planning and preparation.
 Typically done by <span itemprop="personCountMin">1</span> to <span itemprop="personCountMax">4</span> persons.

 <h2>How to prepare for this</h2>
 <ul>
  <li itemprop="howToPrepare">Buy a field guide book with pictures and descriptions of birds.</li>
  <li itemprop="howToPrepare">Check for "Bird Checklists" websites.</li>
 </ul>

 <h2>How to do this</h2>
 <ul>
  <li itemprop="howToDoIt">Get up early. Birds are the most active around dawn.</li>
  <li itemprop="howToDoIt">Bring along binoculars and a field guide.</li>
  <li itemprop="howToDoIt">Check the weather forecast and dress accordingly.</li>
  <li itemprop="howToDoIt">Pack an extra layer of clothing.</li>
  <li itemprop="howToDoIt">Wear boots and a hat to shield you from the sun.</li>
 </ul>

 <meta itemprop="isFamilyFriendly" content="True">Family friendly activity.<br/>
 <meta itemprop="isEquipmentRequired" content="True">Equipment is required.<br/>
 <meta itemprop="isSomethingYouCanDoAtHome" content="True">Can be done at home.<br/>
 <meta itemprop="isPhysical" content="True">You are physically active doing this.<br/>
 <meta itemprop="isBrainRequired" content="True">Brain exercise.<br/>
 <meta itemprop="isCreative" content="True">You get to be creative.<br/>

</div>

Discussion

Original proposal on public vocabs mailinglist.

Add your thoughts and ideas here.