WebSchemas/ActivitySchema

From W3C Wiki
< WebSchemas
Revision as of 16:57, 15 May 2012 by Rlachica (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


This is a WebSchemas proposal Activity schema for schema.org. See Proposals listing for more. Status: Draft Proposal




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.......

  1. <div itemscope itemtype="http://schema.org/Activity">
  2.  
  3.  <h1 itemprop="name">Birdwatching</h1>
  4.  Activity added by John Doe.  
  5.  
  6.  <img itemprop="image" src="birdwatching-thumb1.jpg" />
  7.  
  8.  <div itemprop="description">
  9.    Get in touch with nature and observe the birds.
  10.  </div>
  11.  
  12.  Typically takes <meta itemprop="takesTime" content="PT6H"> 6 hours to do.<br/>
  13.  Typically requires <meta itemprop="prepareTime" content="PT1H"> 1 hour of planning and preparation.
  14.  Typically done by <span itemprop="personCountMin">1</span> to <span itemprop="personCountMax">4</span> persons.
  15.  
  16.  <h2>How to prepare for this</h2>
  17.  <ul>
  18.   <li itemprop="howToPrepare">Buy a field guide book with pictures and descriptions of birds.</li>
  19.   <li itemprop="howToPrepare">Check for "Bird Checklists" websites.</li>
  20.  </ul>
  21.  
  22.  <h2>How to do this</h2>
  23.  <ul>
  24.   <li itemprop="howToDoIt">Get up early. Birds are the most active around dawn.</li>
  25.   <li itemprop="howToDoIt">Bring along binoculars and a field guide.</li>
  26.   <li itemprop="howToDoIt">Check the weather forecast and dress accordingly.</li>
  27.   <li itemprop="howToDoIt">Pack an extra layer of clothing.</li>
  28.   <li itemprop="howToDoIt">Wear boots and a hat to shield you from the sun.</li>
  29.  </ul>
  30.  
  31.  <meta itemprop="isFamilyFriendly" content="True">Family friendly activity.<br/>
  32.  <meta itemprop="isEquipmentRequired" content="True">Equipment is required.<br/>
  33.  <meta itemprop="isSomethingYouCanDoAtHome" content="True">Can be done at home.<br/>
  34.  <meta itemprop="isPhysical" content="True">You are physically active doing this.<br/>
  35.  <meta itemprop="isBrainRequired" content="True">Brain exercise.<br/>
  36.  <meta itemprop="isCreative" content="True">You get to be creative.<br/>
  37.  
  38. </div>

Discussion

Original proposal on public vocabs mailinglist.

Add your thoughts and ideas here.