- From: Martin Hepp <mfhepp@gmail.com>
- Date: Wed, 2 Sep 2015 22:49:18 +0300
- To: Brian Tremblay <schema@btrem.com>
- Cc: "schema.org Mailing List" <public-schemaorg@w3.org>
Hi Brian: There is no need to develop a large set of subtypes for schema:LocalBusiness. There are at least two ways to handle this with the current schema.org vocabulary: 1. Use schema:additionalType with the URI of a specific subtype, e.g. from www.productontology.org Like so: <div itemscope itemtype="http://schema.org/LocalBusiness"> <link itemprop="additionalType" href="http://www.productontology.org/id/Internet_caf%C3%A9" /> <!-- other schema.org properties go in here --> </div> for an Internet café. See www.productontology.org for details. The examples there use schema:Product as the baseline itemtype, but schema:LocalBusiness or schema:Place works as well. 2. Attach a generic schema:Offer to the schema:LocalBusiness that describes the set of products or services <div itemscope itemtype="http://schema.org/LocalBusiness"> <div itemprop="makesOffer" itemscope itemtype="http://schema.org/Offer"> <div itemprop="name">Internet café</div> <div itemprop="description">We have free Wifi and 20 Internet terminals</div> </div> <!-- other schema.org properties go in here --> </div> Both approaches are valid in the Google validator, the second is a bit better. Martin ----------------------------------- martin hepp http://www.heppnetz.de mhepp@computer.org @mfhepp > On 02 Sep 2015, at 22:27, Brian Tremblay <schema@btrem.com> wrote: > > We have many subclasses of LocalBusiness (FinancialService, InternetCafe, TravelAgency, DryCleaningOrLaundry, etc.). I could imagine many more (TargetPractice, WindowInsulation, BeerTapCleaning, etc.). > > Rather than create a separate itemtype for every business imaginable, perhaps we can add a property called "service" to LocalBusiness (or perhaps Organization), and have its expected type to be Service. Then a beer tap cleaning business would not need its own subclass of LocalBusiness; it would just mark up the service it offers using the Service schema. > > -- > Brian Tremblay >
Received on Wednesday, 2 September 2015 19:49:53 UTC