W3C home > Mailing lists > Public > public-vocabs@w3.org > October 2013

schema.org/MedicalClinic question

From: David Deering <david@touchpointdigital.net>
Date: Thu, 10 Oct 2013 11:24:34 -0500
Message-ID: <5256D4C2.2040302@touchpointdigital.net>
To: public-vocabs@w3.org
I am sort of stumped and would love some help from the community here.  
This question might seem trivial compared to the recent discussions.  
haha!  But I am trying to figure out how to mark up a laser eye surgery 
clinic using schema.  I would like to include of course the name of the 
clinic, their address, the service they provide, and even an aggregate 
rating, which are found on an external review site.  So far, I have this:

<div itemscope itemtype="http://schema.org/MedicalClinic">
    <span itemprop="name">Laser Eye Surgery Clinic Name</span>
    <div itemprop="address" itemscope 
itemtype="http://schema.org/PostalAddress">
      <span itemprop="streetAddress">123 Main St.</span>
      <span itemprop="addressLocality">Anytown</span>,
      <span itemprop="addressRegion">LA</span>
      <span itemprop="postalCode">70123</span>
    </div>
    Phone: <span itemprop="telephone">123-456-7890</span>
    <a href="http://googlemapurl.com" itemprop="maps">URL of Google Map</a>

<div itemscope itemtype="http://data-vocabulary.org/Review-aggregate">
     Our <span itemprop="itemreviewed">laser eye surgery</span> has been 
rated
     <span itemprop="rating" itemscope 
itemtype="http://data-vocabulary.org/Rating">
       <span itemprop="average">9.5</span>
       out of <span itemprop="best">10</span>
    based on <span itemprop="votes">100</span> patient reviews, which 
can be read at <a href="http://www.reviewsiteexample.com">this review 
site</a>.
   </div>

</div>

When I attempted to include the aggregate rating schema, I received a 
message from Google's testing tool telling me that if I do not include 
the actual reviews on the page, then I should use "votes", which is a 
data-vocabulary markup.  So I did and it seems to be working, but I 
don't know if this is the best markup to use for the ratings/reviews and 
I am also stumped as to where/how to add the medical procedure schema 
for laser eye surgery.  And should the aggregate review/rating be for 
the clinic or the laser eye surgery?

If the markup is completely incorrect, please don't be afraid to say.  
Forgive me, I'm learning as much as I can and as fast as I can but for 
some reason my brain is not working at full-speed today. Thanks in 
advance for everyone's time and help.

David
Received on Thursday, 10 October 2013 16:24:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:29:32 UTC