Can Schema handle two sets of business hours?
-
I have a client who, due to covid, will have two sets of business hours. Morning hours for business customers, and afternoon hours for general customers. Is it possible to designate this distinction in schema?
-
What it will break is the ability to indicate that a place is closed over lunch-time with a single OpeningHoursSpecification node, which works currently because you can simply sort the times for opens/closes to reconstruct the intended order, like so:
<code># opens 8:00 - 12:30 and 14:00 - 20:00 opens 08:00:00 closes 12:30:00 opens 14:00:00 closes 20:00:00</code>
if you allow
<code># opens 20.00 - 02:00 next day opens 20:00:00 closes 02:00:00</code>
then there can be cases that become ambiguous, e.g. i. if you use more than one pair per OpeningHoursSpecification without making the case undecidable, like so:
<code># opens 8 - 16:00 and 21:00 - 9:00: next day opens 08:00:00 closes 16:00:00 opens 21:00:00 closes 09:00:00</code>
It could also mean opens 8:00 - 9:00 and 21:00 - 16:00 next day.
What might work is a rule that cross-midnight intervals are only allowed if you have exactly one pair of opens / closes properties. And we need to precisely define how this works in the light of additional statements for the next day of the week, in particular with validity constraints (like seasonal opening hours).
-
Hello,
covid I with you and your client safe days ahead
https://developers.google.com/search/docs/data-types/special-announcements
https://www.schemaapp.com/how-to/your-guide-to-covid-19-structured-data/ https://schema.org/CovidTestingFacility
https://support.google.com/business/answer/3039617?co=GENIE.Platform%3DiOS&hl=en
for Structured data I would use it like pharmacy’s do but name is what you like.
this tool will help you make your own
https://technicalseo.com/tools/schema-markup-generator/
Here are some great examples
<title>Dave's Department Store</title>
<scripttype="application ld+json"="">{
"@context":"https://schema.org",
"@type":"Store",
"image":[
"https://example.com/photos/1x1/photo.jpg",
"https://example.com/photos/4x3/photo.jpg",
"https://example.com/photos/16x9/photo.jpg"
],
"@id":"http://davesdeptstore.example.com",
"name":"Dave's Department Store",
"address":{
"@type":"PostalAddress",
"streetAddress":"1600 Saratoga Ave",
"addressLocality":"San Jose",
"addressRegion":"CA",
"postalCode":"95129",
"addressCountry":"US"
},
"geo":{
"@type":"GeoCoordinates",
"latitude":37.293058,
"longitude":-121.988331
},
"url":"http://www.example.com/store-locator/sl/San-Jose-Westgate-Store/1427",
"priceRange":"$$",
"telephone":"+14088717984",
"openingHoursSpecification":[
{
"@type":"OpeningHoursSpecification",
"dayOfWeek":[
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday"
],
"opens":"08:00",
"closes":"23:59"
},
{
"@type":"OpeningHoursSpecification",
"dayOfWeek":"Sunday",
"opens":"08:00",
"closes":"23:00"
}
],
"department":[
{
"@type":"Pharmacy",
"image":[
"https://example.com/photos/1x1/photo.jpg",
"https://example.com/photos/4x3/photo.jpg",
"https://example.com/photos/16x9/photo.jpg"
],
"name":"Dave's Pharmacy",
"telephone":"+14088719385",
"openingHoursSpecification":[
{
"@type":"OpeningHoursSpecification",
"dayOfWeek":[
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens":"09:00",
"closes":"19:00"
},
{
"@type":"OpeningHoursSpecification",
"dayOfWeek":"Saturday",
"opens":"09:00",
"closes":"17:00"
},
{
"@type":"OpeningHoursSpecification",
"dayOfWeek":"Sunday",
"opens":"11:00",
"closes":"17:00"
}
]
}
]
}</scripttype="application>remember to submit the changes to google here [https://search.google.com/search-console/special-announcement](https://search.google.com/search-console/special-announcement) I didn’t finish the last one but the tool will help ma it work sincerely, Tom
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Ranking after redirecting two URLs to a new domain
I run two websites which operate in similar business sectors. Each has a calculator tool that offers the same functionality. The pages rank 2nd and 5th for the key search term. I'd like to improve the functionality of this and have thought about setting up a new domain for this calculator to move it away from the main sites. If I did this and 301 redirected both pages to the new domain do you think I'd maintain a strong ranking position for this search term on the new domain? Thanks for any advice.
Intermediate & Advanced SEO | | craigramsay0 -
Data Vocab or Schema?
Hi I've always used schema mark up in previous companies, however product pages on the site I'm currently working on are in data vocab. I cant find much about data vocab, so is it best to move away from this? I need to update the mark up on our product pages - so want the best mark up for this Thank you
Intermediate & Advanced SEO | | BeckyKey0 -
SEO - Ecommerce Small Business Quick Wins
Hi I have a few hurdles I need some help with. I work on an ecommerce site, it's huge but I'm the only SEO. I've identified areas where we can make progress in rankings - we already have pages appearing for those terms, but they still need help to be pushed higher. My issue is - if it's a product listing page & we have all the SEO foundations here already, how can we push this even further? No one in the company wants too much content on this page taking away from products & I've tried adding a small amount - with no results. I know UX is something to be looked at, but I need support from others so this will be slow. Does anyone agree that writing user guides, hub pages & articles that this is a good next step? My only worry is - these pages will also be new and take time to rank so will they help the category pages enough? How can I maximise them? I'm also the only SEO, so really need to pick my battles. Thanks Becky
Intermediate & Advanced SEO | | BeckyKey0 -
How should I setup schema.org for ecommerce site?
I understand how to do products, what I am more curious about is the organization schema. Is it worth it to set it up as an ecommerce business? I would have to set it up on the About Us page for the site, does it matter to Google that it is not located on the homepage?
Intermediate & Advanced SEO | | EcommerceSite0 -
Merging two existing company sites into one
Hi Moz community, I have recently started a new job for a Fire & Security company in the UK to help with their non existent SEO efforts. Currently they have two separate websites. One of the websites is for their services and the other website is for their eCommerce store selling fire alarm equipment etc. The eCommerce store is higher up in the SERPs and overall has a lot more links. It also uses a better branded domain name. As I have never attempted such a project I have a few questions. The current eCommerce store is hosted and maintained by another web company which uses their bespoke CMS. What I want to do is take the service website and merge it with the ecommerce domain, however the service site runs on wordpress, which I want to continue for its flexibility. The service page wants to be the new homepage with a link on it to go to the store. I just cant get my head around the whole operation so if anyone could give me some advice to point me in the right direction that would be great. Thanks
Intermediate & Advanced SEO | | BradNichol0 -
How can I see all the pages google has indexed for my site?
Hi mozers, In WMT google says total indexed pages = 5080. If I do a site:domain.com commard it says 6080 results. But I've only got 2000 pages in my site that should be indexed. So I would like to see all the pages they have indexed so I can consider noindexing them or 404ing them. Many thanks, Julian.
Intermediate & Advanced SEO | | julianhearn0 -
How can you rank for several cities ?
I have a website design client who wishes to rank for several cities they are willing to service locally. I have seen a competitor do this, Main-site.com/web-design content all about web design subcategories main-site.com/web-design/city-name-website-designer Content about web design plus content about the city itself and hiring a website designer in that city main-site.com/web-design/next-city-name-website-designer Content about web design plus content about the next city itself and hiring a website designer in that city Is this a great strategy, it seems to be working for them, or will Google eventually penalize this ? Or would you just put all 4 city names in the title and descriptions and content on one page ?
Intermediate & Advanced SEO | | jlane90 -
Does having a file type on the end of a url affect rankings (example www.fourcolormagnets.com/business-cards.php VS www.fourcolormagnets.com/business-cards)????
Does having a file type on the end of a url affect rankings (example www.fourcolormagnets.com/business-cards.php VS www.fourcolormagnets.com/business-cards)????
Intermediate & Advanced SEO | | JHSpecialty0