Re: Finalizing Reservation schemas for schema.org

Hi Dan, Vicki:
Looks good. The text of the priceCurrency property is a bit confusing, but I would rather not touch it at this point because of the many potential side-effects (in the GR model).

One could think about enforcing the use of PriceSpecification for the price. The downside is that you always have one more itemtype, the advantage is that you will only have one way of modeling prices, which will make it way easier to consume such data.

In that case, simply change

   220     <div typeof="rdf:Property" resource="http://schema.org/pricePaid">
   221       <span class="h" property="rdfs:label">pricePaid</span>
   222       <span property="rdfs:comment">The price paid for the reservation or ticket.</span>
   223       <span>domain: <a property="http://schema.org/domain" href="http://schema.org/Reservation">Reservation</a></span>
   224       <span>domain: <a property="http://schema.org/domain" href="http://schema.org/Ticket">Ticket</a></span>
   225       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Number">Number</a></span>
   226       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Text">Text</a></span>
   227       <span>Range: <a property="http://schema.org/range" href="http://schema.org/PriceSpecification">PriceSpecification</a></span>
   228     </div>

to

   220     <div typeof="rdf:Property" resource="http://schema.org/pricePaid">
   221       <span class="h" property="rdfs:label">pricePaid</span>
   222       <span property="rdfs:comment">The price paid for the reservation or ticket.</span>
   223       <span>domain: <a property="http://schema.org/domain" href="http://schema.org/Reservation">Reservation</a></span>
   224       <span>domain: <a property="http://schema.org/domain" href="http://schema.org/Ticket">Ticket</a></span>
   227       <span>Range: <a property="http://schema.org/range" href="http://schema.org/PriceSpecification">PriceSpecification</a></span>
   228     </div>

and remove


   229     <div typeof="rdf:Property" resource="http://schema.org/priceCurrency">
   230       <span class="h" property="rdfs:label">priceCurrency</span>
   231       <span property="rdfs:comment">The currency (in 3-letter ISO 4217 format) of the price or a price component, when attached to PriceSpecification and its subtypes.</span>
   232       <span>domain: <a property="http://schema.org/domain" href="http://schema.org/Reservation">Reservation</a></span>
   233       <span>domain: <a property="http://schema.org/domain" href="http://schema.org/Ticket">Ticket</a></span>
   234       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Text">Text</a></span>
   235     </div>

This will also save one property.


Martin


On Jan 29, 2014, at 9:35 PM, Dan Brickley wrote:

> On 29 January 2014 20:26, Vicki Tardif Holland <vtardif@google.com> wrote:
>> I sent another update to Dan.
> 
> Which I've posted to W3C webschemas Mercurial repo:
> 
> ~/w3c/webschema/schema.org/ext$ hg commit -m "update from vicki,
> http://lists.w3.org/Archives/Public/public-vocabs/2014Jan/0206.html "
> Reservation.html
> 
> -> https://dvcs.w3.org/hg/webschema/log/dddf24b53d65/schema.org/ext/Reservation.html
> 
> I've also regenerated the test site, see
> http://sdo-wip2.appspot.com/Reservation and nearby (some of the
> subtypes now have examples too, thanks Vicki :)
> 
> Dan
> 

--------------------------------------------------------
martin hepp
e-business & web science research group
universitaet der bundeswehr muenchen

e-mail:  hepp@ebusiness-unibw.org
phone:   +49-(0)89-6004-4217
fax:     +49-(0)89-6004-4620
www:     http://www.unibw.de/ebusiness/ (group)
         http://www.heppnetz.de/ (personal)
skype:   mfhepp 
twitter: mfhepp

Check out GoodRelations for E-Commerce on the Web of Linked Data!
=================================================================
* Project Main Page: http://purl.org/goodrelations/

Received on Thursday, 30 January 2014 10:18:17 UTC