Cookbook/Video content

= GoodRelations for Video Content =

= Video Content =

This pages shows how to model offers for video content using GoodRelations and schema.org. For the moment, we just give Microdata examples using the GoodRelations elements in the http://schema.org namespace, as per the extension proposal under discussion available from https://docs.google.com/document/pub?id=1Kx63gW9DBky1j97Jpwl3dU9k0pKPSgCT3EntTVvGjX4#h.ark9j0fmugnv

Buy Videos for Download

 * On-line delivery / download
 * You get permanent access to the video content

First we describe the movie title as a product model:

  Pirates of the Carribean: On Stranger Tides (2011) Jack Sparrow and Barbossa embark on a quest to  find the elusive fountain of youth, only to discover that Blackbeard and his daughter are after it too.

Then we describe the the actual movies that you can rent or purchase plus the offer:

  Pirates of the Carribean: On Stranger Tides (2011) Jack Sparrow and Barbossa embark on a quest to  find the elusive fountain of youth, only to discover that Blackbeard and his daughter are after it too. More information on imdb.com   Price: $ 9.90    				  Delivery:  Download

Note 1: In the example, I used the more granular, new http://schema.org/UnitPriceSpecification type. The simple schema.org type would also work here. Note 2: The example depends on the new "type" property for indivating additional type information, as discussed with Dan Brickley.

Rent Videos for 30 days
Basically the same as above; just the business function in the offer will be changed to http://schema.org/LeaseOut and the validity of the lease will be encoded using the eligibleDuration property:

  Pirates of the Carribean: On Stranger Tides (2011) Jack Sparrow and Barbossa embark on a quest to  find the elusive fountain of youth, only to discover that Blackbeard and his daughter are after it too. More information on imdb.com <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <link itemprop="hasBusinessFunction" href="http://schema.org/LeaseOut" /> Price: <div itemprop="hasPriceSpecification" itemscope itemtype="http://schema.org/UnitPriceSpecification">$ 3.99    				<meta itemprop="priceCurrency" content="USD"> <time itemprop="validThrough" datetime="2012-12-31T23:59:59Z"> Delivery: <link itemprop="availableDeliveryMethods" href="http://schema.org/DirectDownload" /> Download Validity of the lease: <div itemprop="eligibleDuration" itemscope itemtype="http://schema.orgQuantitativeValue"> 30 -     		  <meta itemprop="unitCode" content="DAY" >days