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
-
Do you know if there is a tool that can tell you if a url have backlink?
Hi, Do you know if there is a tool that I can check backlinks for thousands of URLs Thanks Roy
Intermediate & Advanced SEO | | kadut0 -
Do you know if there is a tool that check all the scripts that are running on the page, and can diagonse scripts that can harm our seo?
Hi, Do you know if there is a tool that check all the scripts that are running on the page, and can diagnose scripts that can harm our seo? Thanks Roy
Intermediate & Advanced SEO | | kadut0 -
Can anyone help me figure out these sitelinks?
My company is Squatty Potty (yes, of magic unicorn fame) and I recently redid our website's navigation. We're overhauling it currently to rebuild the whole thing, but what is there should give a good idea of site hierarchy to Google I would think. The funny thing is, when you Google [squatty potty website] we do have sitelinks. But when you Google just [squatty potty] we don't. Any ideas on why sitelinks would appear on one search but not the other? I see they appear with [squatty potty logo] as well. I can't figure out how to get them to appear for my brand name search, any help appreciated!
Intermediate & Advanced SEO | | DanDeceuster0 -
Do i need to set up a reverse proxy?
Ahoy all, just through another audit - we have a terrible CMS which is ecommerce based only which doesnt allow us to blog or write much content, we have our blog as a seperate WP in our ftp panel and comes up as www.palicomp.co.uk/blog and our site is www.palicomp.co.uk - my question is do i need to set up a reverse proxy so this is classed as one site and my blog provides more value or would it only matter if it was set up as blog.palicomp.co.uk? Many thanks, Chris
Intermediate & Advanced SEO | | palicomp0 -
Parameters when deciding how to set up cross domain analytics?
Hi, I am planning on setting up cross domain analytics for my website. I have found lots of sources about the code to use, but haven't been able to find something about what parameters to consider. Would appreciate my fellow mozzers helping me to put together a list of all the variations of elements I may want to track to ensure I am setting it up correctly. Thanks!
Intermediate & Advanced SEO | | theLotter0 -
Preferred domain can't set in Web master Tool
I have put my domain name as xxxxxtours.com without www in web master tool. i have redirect to www version using htaccess file .So I wanna put Preferred domain "Display urls as www.xxxxtours.com .When trying it give error as attached image.but i have verified site the .waiting for expert help . Ar5qx.png
Intermediate & Advanced SEO | | innofidelity0 -
How Does SEO Help Local Businesses
Hello, I recently took a position as a digital marketing manger with a advertising agency. Its my job to grow the digital marketing department. One of the issues I am running into is 90% of our clients are local businesses. When doing keyword research it is very difficult to find keywords with lots of search. For example, if I am optimizing for a Ford dealership in Hackensack,NJ there are not a lot of searches for this term. How can I justify a larger SEO budget when there is just not a lot of search volume for these keywords? This is nothing like Dog Training Videos or something similar. Am I missing something? Where can I pull traffic from for local businesses to justify larger SEO budgets? Thanks, Bill
Intermediate & Advanced SEO | | wparlaman0 -
Schema - Could a company like mine benefit from this yet?
Hey there - I've been reading about rich snippets and was thinking of hiring a programmer to implement this. In my industry I would be the only one thus far on front page with a highly competitive keywords and would be displaying 5 stars based on our testimonials etc, would that be acceptable? These testimonials are not on my homepage so if I implemented would it be a misuse of these tags? My site is mortgage / financial company and I don’t see much in available tags yet except for “location” and “reviews” I could implement. I'm just trying to figure this out and I greatly appreciate any feedback! 😄
Intermediate & Advanced SEO | | CliffAuerswald0