The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Intermediate & Advanced SEO
    4. Can Schema handle two sets of business hours?

    Can Schema handle two sets of business hours?

    Intermediate & Advanced SEO
    3 2 70
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • bherman
      bherman 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

        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
        • 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
          • 1 / 1
          • First post
            Last post
          • Can I add FAQS schema on my homepage?
            asifseo098
            asifseo098
            0
            3
            750

          • Could I set a Cruise as an Event in Schema mark up?
            willcritchlow
            willcritchlow
            1
            4
            144

          • Local business with two separate websites...what to do?
            MiriamEllis
            MiriamEllis
            0
            4
            141

          • Can we do Citation posting for national business?
            MiriamEllis
            MiriamEllis
            0
            5
            71

          • Google Places Question: Two Businesses, Same Address
            Trenton-Wiges
            Trenton-Wiges
            1
            4
            17.1k

          • Two sites, two domains, two brands, 98% same content
            LukeHutchinson
            LukeHutchinson
            0
            3
            326

          • Local Business schema / markup
            MiriamEllis
            MiriamEllis
            0
            3
            1.7k

          • Can I use the same source for two different websites?
            Dan-Petrovic
            Dan-Petrovic
            0
            2
            895

          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
          • Digital Marketers
          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 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy