W3C home > Mailing lists > Public > public-vocabs@w3.org > January 2014

Re: makesOffer should accept Service

From: Dan Scott <dan@coffeecode.net>
Date: Wed, 1 Jan 2014 17:22:20 -0500
Message-ID: <CAJcoVMhwD0yivuhEAMvVHjH3_op+pHeeKEVnYQgaUpO14xin1w@mail.gmail.com>
To: Tyler Shuster <tyler.herrshuster@gmail.com>
Cc: SchemaDot Org <public-vocabs@w3.org>
On Wed, Jan 1, 2014 at 2:47 PM, Tyler Shuster
<tyler.herrshuster@gmail.com> wrote:
> I'm just starting out here, but it seems to me that "makesOffer" should also
> accept Thing/Intangible/Service. Specifically, I work for a computer repair
> company and I want to be able to say that we provide a service, not a
> product. My markup under "schema.org/LocalBusiness" is `
> itemprop="makesOffer" itemscope itemtype="http://schema.org/Service/"`.

Hi Tyler:

http://schema.org/makesOffer actually takes an Offer. Offer has an
itemOffered property, which in turn points at a Product. The
definition of http://schema.org/Product is that it includes commodity
services; that is, your service _is_ the product.

Your markup should end up looking like:

<div itemscope itemtype="http://schema.org/Organization">
<h1 itemprop="name">Computer Repair Inc</h1>
<div itemprop="makesOffer" itemscope itemtype="http://schema.org/Offer">
<div itemprop="itemOffered" itemscope itemtype="http://schema.org/Product">
<h2 itemprop="name">Computer repair</h2>
<div itemprop="price">$100 / hour</div>

(You would flesh it out further, of course).

Name aside, is there anything about "Service" vs "Product" that you
feel you need to describe your offering that the current Offer /
Product approach does not cover?
Received on Wednesday, 1 January 2014 22:23:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:49:20 UTC