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 "additionalType" property for indicating additional type information, as described in the W3C wiki.

Note 3: As per the current proposal, the enumeration like http://purl.org/goodrelations/v1#DirectDownload and http://purl.org/goodrelations/v1#Sell will be used directly from the GoodRelations namespace.

Rent Videos for 30 days
Basically the same as above; just the business function in the offer will be changed to LeaseOut and the validity of the lease will be encoded using the eligibleDuration property. Note that the current proposal of integration GoodRelations into schema.org suggest to use all enumerations, including payment options, business functions, credit cards, etc., from the original GoodRelations namespace http://purl.org/goodrelations/v1#. So the URI of LeaseOut as a business function will be http://purl.org/goodrelations/v1#LeaseOut, not http://schema.org/LeaseOut.

  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="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut" /> Price: <div itemprop="priceSpecification" 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="availableDeliveryMethod" href="http://purl.org/goodrelations/v1#DirectDownload" /> Download Validity of the lease: <div itemprop="eligibleDuration" itemscope itemtype="http://schema.org/QuantitativeValue"> 30 -     		  <meta itemprop="unitCode" content="DAY" >days

Bundle: All 3 Episodes of a Series
to be added

Subscription: Time-limited Access to a Collection of Media
Example: Netflix, Amazon Prime, Verizon FIOS subscriber, etc.