Has JSON-LD Hostel

Has JSON-LD Hostel reports whether the page’s raw HTML contains an @type of Hostel. It returns 1 when the string is present and 0 when it is not — but it is a text match, not a validation of the underlying JSON-LD graph, so a matching string in the wrong place can still return 1.

Factor IDRG-SCJ-108
FamilyStructured Data – JSON-LD
MeasurementBinary presence (0 / 1)
Measured zoneRaw rendered HTML

What it measures

This factor reports whether RankGear finds an @type value of Hostel in the page’s raw source. It is a presence signal for the Hostel schema type — the structured-data class used to describe a real hostel, including its rooms, amenities, location, offers, and booking information. The factor tracks only whether that type string appears; it does not assess the quality or completeness of the markup around it.

How RankGear measures it

RankGear searches the raw HTML for the "@type": "Hostel" declaration, allowing flexible whitespace around the colon and an optional schema: prefix. Matching is case-sensitive, so the capitalization must match exactly. A match sets the factor to 1; no match sets it to 0.

What RankGear looks for

"@type": "Hostel"
"@type" : "Hostel"
"@type":"schema:Hostel"
ValueMeaning
1The Hostel type string was found in the raw HTML.
0No Hostel type string was found.

How to optimize it

Use the Hostel type only for a page that represents a genuine hostel, and describe it with accurate rooms, amenities, location, offers, policies, and booking information. Keep the marked-up properties consistent with what the page actually shows a visitor. Because the detector confirms presence rather than correctness, treat a value of 1 as evidence the type string exists — not as proof the structured data is valid or complete.

Important considerations

  • The detector pattern-matches source text rather than parsing and validating a JSON-LD graph.
  • A matching string that sits outside valid JSON-LD can still produce a 1.
  • Capitalization must match exactly — hostel or HOSTEL will not match.
  • Validate the complete structured data independently with a schema validator; this factor does not do that for you.
  • Presence of this type correlates with, but does not cause, position within a measured result set. It is a prioritization signal, not a guarantee of ranking.

Related factors

Part of the Factors reference · how RankGear measures · glossary.