undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • SEO Q&A

      Insights & discussions from an SEO community of 500,000+.

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. SEO Tactics
  3. Intermediate & Advanced SEO
  4. Can Schema handle two sets of business hours?

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

Can Schema handle two sets of business hours?

Intermediate & Advanced SEO
2
3
1.4k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • bherman
    bherman Subscriber last edited by May 4, 2020, 5:51 PM

    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?

    1 Reply Last reply Reply Quote 0
    • BlueprintMarketing
      BlueprintMarketing last edited by Sep 14, 2020, 11:19 PM Sep 14, 2020, 11:19 PM

      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).

      1 Reply Last reply Reply Quote 0
      • topic:timeago_earlier,4 months
      • BlueprintMarketing
        BlueprintMarketing last edited by May 5, 2020, 8:32 AM May 5, 2020, 8:23 AM

        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

        https://searchengineland.com/schema-org-adds-covid-19-related-structured-data-types-in-version-7-0-330831

        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

        https://developers.google.com/search/docs/data-types/local-business#business-hourshttps://developers.google.com/search/docs/data-types/local-business#multiple-departments```

        <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
        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 out of 3
        • First post
          1/3
          Last post

        Got a burning SEO question?

        Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


        Start my free trial


        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.

        • See all categories

        Related Questions

        • Insightful_Media

          Shopify: AggregateRating Schema Error

          Hi lovely community, I know google made some schema changes in Sept 2019. I got an AggregateRating Error:
          One of offers or review or aggregateRating should be provided. I am using a third-party app 'Shopify Product Review' to implement the rating. What I should do to solve this error. Thanks very much for the help! I found many people have this issue too in the community! Many thanks Pui

          Intermediate & Advanced SEO | Jan 3, 2020, 10:40 AM | Insightful_Media
          0
        • atiagr123

          How to update Schema markup code to all pages of my website ?

          Hi all i have a website with 1k+ pages and i have schema markup code for reviews and FAQ's, so need help in knowing how to update code for all pages in one go without using tag manager as updating to all pages manually is similar to impossible, let me know is there any way out to achieve the results and my website is built on word-press, awaiting for earliest reply......... Thanks

          Intermediate & Advanced SEO | Nov 21, 2019, 5:44 PM | atiagr123
          2
        • NoWayAsh

          Could I set a Cruise as an Event in Schema mark up?

          Hi there, We are now in the process of implementing a JSON-LD mark-up solution and are building cruises as an event.  Will this work and can we get away with this without penalty? Previously they have been marking their cruises as events using the data highlighter and this has displayed correctly in the SERP. The ideal schema would be Trip but this is not supported by Google Rich Results yet, hopefully they will support this in the future. Another alternative would be product but this does not display rich-results as we would like. Event has the best result in terms of how the information is displayed. For example someone might search "Cruises to Spain" and the landing page would display the next 3 cruises that go to Spain, with dates & prices. The event location would be the cruise terminal, the offer would be the starting price and the start & end date would be the cruise duration, these are fixed dates. I am interested to hear the communities opinion and experience with this problem.

          Intermediate & Advanced SEO | Jun 25, 2019, 9:34 AM | NoWayAsh
          1
        • RickyShockley

          Schema for restaurants and menus?

          Hi all, Anyone have experience with using Schema for restaurants other than the normal local business NAP? Is there a way to use Schema markup for food menus as well? Examples and schema code much appreciated 🙂 Thanks!

          Intermediate & Advanced SEO | Jan 4, 2017, 12:35 AM | RickyShockley
          0
        • McTaggart

          Local SEO - two businesses at same address - best course of action?

          Hi Mozzers - I'm working with 2 businesses at the moment, at the same address - the only difference between the two is the phone number. I could ask to split the business addresses apart, so that NAP(name, address, phone number) is different for each businesses (only the postcode will be the same). Or simply carry on at the moment, with the N and Ps different, yet with the As the same - the same addresses for both businesses. I've never experienced this issue before, so I'd value your input. Many thanks, Luke

          Intermediate & Advanced SEO | Apr 25, 2016, 8:26 AM | McTaggart
          0
        • nicole.healthline

          Schema markup for video playlists?

          We're adding schema markup for all of our videos, but some videos exist only in a playlist (all integrated into one URL, and loaded after a javascript call). Per Google: "Make sure that your video and schema.org markup are visible without executing any JavaScript or Flash." https://support.google.com/webmasters/answer/2413309?hl=en So we know the current implementation won't work for schema markup... What's the best practice for adding schema markup for video playlists? Should we host all of these videos on individual URLs (but then they appear twice) or is there some other workaround?

          Intermediate & Advanced SEO | May 27, 2014, 6:07 PM | nicole.healthline
          0
        • CupidTeam

          My website (non-adult) is not appearing in Google search results when i have safe search settings on. How can i fix this?

          Hi, I have this issue where my website does not appear in Google search results when i have the safe search settings on. If i turn the safe search settings off, my site appears no problem. I'm guessing Google is categorizing my website as adult, which it definitely is not. Has anyone had this issue before? Or does anyone know how to resolve this issue? Any help would be much appreciated. Thanks

          Intermediate & Advanced SEO | Aug 16, 2013, 4:49 AM | CupidTeam
          0
        • kurus

          Googlebot HTTP 204 Status Code Handling?

          If a user runs a search that returns no results, and the server returns a 204 (No Content), will Googlebot treat that as the rough equivalent of a 404 or a noindex? If not, then it seems one would want to noindex the page to avoid low quality penalties, but that might require more back and forth with the server, which isn't ideal. Kurus

          Intermediate & Advanced SEO | Mar 17, 2011, 3:19 PM | kurus
          0

        Get started with Moz Pro!

        Unlock the power of advanced SEO tools and data-driven insights.

        Start my free trial
        Products
        • Moz Pro
        • Moz Local
        • Moz API
        • Moz Data
        • STAT
        • Product Updates
        Moz Solutions
        • SMB Solutions
        • Agency Solutions
        • Enterprise Solutions
        Free SEO Tools
        • Domain Authority Checker
        • Link Explorer
        • Keyword Explorer
        • Competitive Research
        • Brand Authority Checker
        • Local Citation Checker
        • MozBar Extension
        • MozCast
        Resources
        • Blog
        • SEO Learning Center
        • Help Hub
        • Beginner's Guide to SEO
        • How-to Guides
        • Moz Academy
        • API Docs
        About Moz
        • About
        • Team
        • Careers
        • Contact
        Why Moz
        • Case Studies
        • Testimonials
        Get Involved
        • Become an Affiliate
        • MozCon
        • Webinars
        • Practical Marketer Series
        • MozPod
        Connect with us

        Contact the Help team

        Join our newsletter
        Moz logo
        © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
        • Accessibility
        • Terms of Use
        • Privacy

        Looks like your connection to Moz was lost, please wait while we try to reconnect.