Microdata and a few discoveries per day

Suppose the place does not offer an autopsy day. Therefore, we have two discoveries in one day. How to define Microdata with schema.org/OpeningHoursSpecification ? I believe that you need to create two separate instances of schema.org/OpeningHoursSpecification as follows:

Opening hours: <div itemprop="openingHoursSpecification" itemscope itemtype="http://schema.org/OpeningHoursSpecification">Mo, <link itemprop="dayOfWeek" href="http://purl.org/goodrelations/v1#Monday" /> <meta itemprop="opens" content="08:00:00">8:00 am - <meta itemprop="closes" content="12:00:00">12:00 am </div> <div itemprop="openingHoursSpecification" itemscope itemtype="http://schema.org/OpeningHoursSpecification">Mo, <link itemprop="dayOfWeek" href="http://purl.org/goodrelations/v1#Monday" /> <meta itemprop="opens" content="16:00:00">4:00 am - <meta itemprop="closes" content="20:00:00">8:00 pm </div> 

I'm right?

+2
microdata
source share
1 answer

Yes, you are absolutly right!

If you want to understand the template, you can also play with GoodRelations Annotator's (deprecated) tool

 http://www.ebusiness-unibw.org/tools/goodrelations-annotator/en/ 

It will generate the appropriate RDFa markup for form-based input.

Note that in schema.org, the name of the elements may be slightly different from the name in the original namespace, as described here:

 http://wiki.goodrelations-vocabulary.org/Cookbook/Schema.org#Naming_Differences 

Best wishes

Martin happy

+2
source share

All Articles