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.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • 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
    1427
    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

      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

        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
        • BlueprintMarketing
          BlueprintMarketing last edited by

          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
          • First post
            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

          • Collegis_Education

            Schema Markup Validator vs. Rich Results Test

            schema structured data

            I am working on a schema markup project. When I test the schema code in the Schema Markup Validator, everything looks fine, no errors detected. However, when I test it in the Rich Results Test, a few errors come back.
            What is the difference between these two tests? Should I trust one over the other?

            Intermediate & Advanced SEO | | Collegis_Education
            1
          • Choice

            How does Google handle fractions in titles?

            Which is better practice, using 1/2" or ½"? The keyword research suggests people search for "1 2" with the space being the "/". How does Google handle fractions? Would ½ be the same as 1/2?

            Intermediate & Advanced SEO | | Choice
            2
          • ffctas

            Combining Two Sites With Similar Domain Authority

            Hello, We run two sites with the same product, product descriptions and url structure. Essentially, the two sites are the same except for domain name and minor differences on the home pages. We've run this way for quite a few years. Both sites have a domain authority of 48 and there are not a large number of duplicate incoming links. I understand the "book" to say we should combine the sites with 301's to the similar pages. I am concerned about doing this because "site 2" still does about 20% of our business. We have been losing organic traffic for a number of years. I think this mainly has to do with a more competitive environment. However, where google used to serve both our sites for a search term it now will only show one. How much organic benefit should we see if we combine. Will it be significant enough to merge the two sites. Understandably, I realize the future can't be predicted but I would like to know if anyone has had a similar experience or opinion Thanks

            Intermediate & Advanced SEO | | ffctas
            0
          • Kingalan1

            H1 and Schema Codes Set Up Correctly?

            Greetings: It was pointed out to me that the h1 tags on my website (www.nyc-officespace-leader.com) all had exactly the same text and that duplication may be contributing to the very low page authority for most URLs. The duplicate h1 appears in line 54-54 (see below) of the home page: www.nyc-officespace-leader.com: itemscope itemtype="http://schema.org/LocalBusiness" style="position:absolute;top:-9999em;"> <span<br>itemprop="name">Metro Manhattan Office Space</span<br> <img< p="">But the above refers to schema" so is this really duplicate H1 or is there an exception if the H1 is within a schema? Also, I was told that the company street address and city and state were set up incorrectly as part of an alt tag. However these items also appear as schema in lines 49-68 shown below: Dangerous for me to perform surgery on the code without being certain about these key items!! Could ask my developer, however they may be uncomfortable considering that they set this up in the 1st place. So the view of neutral professionals would be highly welcome! itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
            <span<br>itemprop="streetAddress">347 5th Ave #1008
            <span<br>itemprop="addressLocality">New York
            <span<br>itemprop="addressRegion">NY
            <span<br>itemprop="postalCode">10016<div<br>itemprop="brand" itemscope itemtype="http://schema.org/Organization">
            ---------------------------------------------------------------------------</div<br></span<br></span<br></span<br></span<br></img<>

            Intermediate & Advanced SEO | | Kingalan1
            0
          • cos2030

            How can I get Bing to index my subdomain correctly?

            Hi guys, My website exists on a subdomain (i.e. https://website.subdomain.com) and is being indexed correctly on all search engines except Bing and Duck Duck Go, which list 'https://www.website.subdomain.com'. Unfortunately my subdomain isn't configured for www (the domain is out of my control), so searchers are seeing a server error when clicking on my homepage in the SERPs. I have verified the site successfully in Bing Webmaster Tools, but it still shows up incorrectly. Does anyone have any advice on how I could fix this issue? Thank you!

            Intermediate & Advanced SEO | | cos2030
            0
          • techdesign

            Two Different Domains exact same content

            Hello, I suspect I know the answer to this but would like to have it confirmed. I have been speaking to a company the last couple of weeks who have 2 domains with the exact same content. Possible a third but they haven't supplied a link. This from all I've read would be a huge problem for ranking and SEO. What would be the best way to deal with this ? I did do a search and found articles/questions on same content on the same site and in articles etc but nothing about exactly the same websites on 2 domains. Cheers David.

            Intermediate & Advanced SEO | | techdesign
            0
          • PeteC12

            H2 Tags- Can you have more than 1 H2 tag

            Hi All, Screaming frog has identified that we have a few H2 tags on our pages , although we only have 1 H1 tag. We have numerous H3,H4's etc. I am wondering, is it good SEO to have only 1 H2 tag like with H1 tag or can you have more ? thanks Peter

            Intermediate & Advanced SEO | | PeteC12
            0
          • robotseo

            How to set up 301 redirect for URL with question mark

            I have encountered some issue with 301 redirect and htaccess file. I need to redirect the following url: http://www.domain.com/?specifications=colours/page/3 to: http://www.domain.com/colours The 301 redirect command I wrote in htaccess file is as follow: Redirect 301 /?specifications=colours/page/3 http://www.domain.com/colours And it doesn't work at the moment. What is the correct way to set up 301 redirect here? Your help will be sincerely appreciated!

            Intermediate & Advanced SEO | | robotseo
            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
          • 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

          Access all your tools in one place. Whether you're tracking progress or analyzing data, everything you need is at your fingertips.

          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.