title: How to write valid opening hours with lunch break in schema.org with JSON-LD
body: <p>I was reading all posts around this topic here but couldn't find a solution.</p>
  <p>I'm building a page for a business that has the following opening hours:</p>
  <p><strong>Monday-Friday 07:00 - 12:00 and 13:00 - 17:00</strong> (1 hour lunch break)</p>
  <p>I can't find a way to write this as valid JSON-LD for my schema.org markup. Google's rich results test tool is not accepting my ideas and on schema.org documentation I cannot find any examples for a case like that.</p>
  <p>The standard valid code <strong>without the lunch break</strong> looks like this:</p>
  <pre><code>&quot;openingHoursSpecification&quot;: {
      &quot;@type&quot;: &quot;OpeningHoursSpecification&quot;,
      &quot;dayOfWeek&quot;: [
        &quot;Monday&quot;,
        &quot;Tuesday&quot;,
        &quot;Wednesday&quot;,
        &quot;Thursday&quot;,
        &quot;Friday&quot;
      ],
      &quot;opens&quot;: &quot;07:00&quot;,
      &quot;closes&quot;: &quot;17:00&quot;
    },
  </code></pre>
  <p>The code that <strong>I would like to have</strong> there is something like this, but I can't validate it and I can't find any examples that show how it's done.</p>
  <pre><code>&quot;openingHoursSpecification&quot;: {
      &quot;@type&quot;: &quot;OpeningHoursSpecification&quot;,
      &quot;dayOfWeek&quot;: [
        &quot;Monday&quot;,
        &quot;Tuesday&quot;,
        &quot;Wednesday&quot;,
        &quot;Thursday&quot;,
        &quot;Friday&quot;
      ],
      &quot;opens&quot;: &quot;07:00&quot;,
      &quot;closes&quot;: &quot;12:00&quot;,
      &quot;opens&quot;: &quot;13:00&quot;,
      &quot;closes&quot;: &quot;17:00&quot;
    },
  </code></pre>