This factor reports whether a page carries the Microdata attribute itemprop="openingHours" in its rendered body. It returns 1 when the attribute is present and 0 when it is not — a presence signal only, not a validation of whether the hours markup is correct or eligible for a rich result.
| Factor ID | RG-SCM-030 |
|---|---|
| Family | Structured Data – Microdata |
| Measurement | Binary presence (0 / 1) |
| Measured zone | Rendered body HTML with scripts removed |
What it measures
RankGear reports whether it finds the Microdata property itemprop="openingHours" in the rendered body after script elements are stripped out. The openingHours property is the Microdata way of stating when an organization or place is open for business — the inline-markup equivalent of the same field in a JSON-LD block. A result of 1 means the attribute appears at least once; a result of 0 means it does not.
How RankGear measures it
RankGear performs a case-insensitive search for the literal double-quoted form itemprop="openingHours". It returns 1 when at least one match exists and 0 otherwise. The check is a text match against the rendered HTML, not a parse or validation of the Microdata item graph, so it confirms only that the exact attribute string is present.
What RankGear looks for
<td itemprop="openingHours" content="Mo-Fr 09:00-17:00">Mon–Fri 9am–5pm</td>| Value | Meaning |
|---|---|
| 1 | The exact string itemprop="openingHours" appears at least once in the rendered body. |
| 0 | The attribute is absent — or written in a form the pattern does not match (single quotes or added spacing). |
How to optimize it
Use openingHours only as part of the current opening hours for the real organization or place the page represents. Keep the value aligned with the hours visible on the page and with the vocabulary expected by its parent item type. Because the detector matches a literal double-quoted string, write the attribute as itemprop="openingHours" with double quotes and no extra spacing so it registers. Treat a 1 as confirmation the markup is present, not as a target to chase — adding the attribute where no real hours exist serves no one.
Important considerations
- The detector pattern-matches HTML text instead of parsing or validating a Microdata item graph.
- It requires the attribute name, equals sign, double quotes, and property value to be contiguous; single quotes or added spacing do not match.
- Scripts are removed before matching, and capitalization does not affect detection.
- Validate the parent item type, property value, nesting, and structured-data eligibility independently — a 1 does not mean the hours are valid or rich-result eligible.
- This is a correlation signal within a measured result set, not a cause of ranking. Presence of the attribute relates to how a page is prioritized; it does not by itself make a page rank.
Related factors
Part of the Factors reference · how RankGear measures · glossary.