This factor reports whether RankGear finds a JSON-LD @type of LodgingBusiness in a page’s raw HTML. It returns a simple 1 (found) or 0 (not found). It is a text match on the source, not a validation of the structured-data graph, so treat it as an observation and not a ranking lever.
| Factor ID | RG-SCJ-139 |
|---|---|
| Family | Structured Data – JSON-LD |
| Measurement | Binary presence (0 / 1) |
| Measured zone | Raw rendered HTML |
What it measures
This factor reports whether RankGear finds an @type value of LodgingBusiness in the page’s raw source. LodgingBusiness is the Schema.org type for accommodation providers such as hotels, inns, and vacation rentals, so its presence signals that a page has declared itself as a lodging entity in machine-readable form. The result is binary: the string is present, or it is not.
How RankGear measures it
RankGear searches the raw HTML for the token "@type": "LodgingBusiness", allowing flexible whitespace around the colon and optionally accepting a schema: prefix on the value. Matching is case-sensitive, so the source must use the exact capitalization LodgingBusiness. If the pattern is found the factor returns 1; otherwise it returns 0.
What RankGear looks for
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LodgingBusiness",
"name": "Cedar Ridge Inn",
"address": { "@type": "PostalAddress", "streetAddress": "12 Pine Rd" }
}
</script>| Value | Meaning |
|---|---|
| 1 | The exact string "@type": "LodgingBusiness" (optionally schema:-prefixed) was found in the raw HTML. |
| 0 | No matching string was found, or the capitalization did not match exactly. |
How to optimize it
Use LodgingBusiness only for a genuine lodging business, and make the markup accurate: reflect real accommodation details, amenities, location, availability, policies, and contact information. Every property in the schema should match content a user can verify on the page itself. Because this factor is a presence check rather than a validity check, treat a returned 1 as confirmation that the declaration exists, not as proof that the structured data is correct or that it will move rankings.
Important considerations
- The detector pattern-matches source text; it does not validate a JSON-LD graph, so a 1 does not confirm the markup is well-formed or complete.
- A matching string that appears outside valid JSON-LD (for example in a comment, code sample, or inline script) can still produce a 1.
- Matching is case-sensitive: the source must use the exact capitalization
LodgingBusiness, or the factor returns 0. - Validate the complete structured data independently with a dedicated schema validator.
- Correlation is not causation. This factor tracks how presence of the type relates to position within a measured result set; it does not make a page rank or guarantee any ranking.
Related factors
Part of the Factors reference · how RankGear measures · glossary.