---
title: "Hotel structured data (Hotel / LodgingBusiness) · Specoria"
description: "Travel agents shortlist by location, stars and check-in times; a property without this data is described from guesses or left out."
source_url: "https://specoria.com/method/checks/lodging-schema/"
lang: "en"
---

[← All checks](https://specoria.com/method/checks/)
lodging_schema

# Hotel structured data (Hotel / LodgingBusiness)

Why it matters Travel agents shortlist by location, stars and check-in times; a property without this data is described from guesses or left out.

**Category**
Property and service data

**Weight**
18 of 100 points (together with the common checks)

**Critical blocker**
No. If it fails, it only costs its own weight.

**Applies to**
Hotels and lodging

**Effort**
1-2 hours · developer

**Score model**
v2.4

## How we measure it

We look for Hotel / LodgingBusiness structured data on the homepage and count seven fields: name, address, location, phone, star rating, check-in and check-out time. All pass, no data fails, anything in between is scored in proportion.

### What the result page says

These are the sentences in the test result; “…” is replaced by what we found on your site.

- Passed Hotel data is complete: …, with address, location, phone, star rating and check-in/check-out times.
- Partial Hotel data is present but missing: ….
- Failed The homepage has no Hotel, Resort or LodgingBusiness data describing the property.

## How to fix it

**Target:** The homepage carries one Hotel (or Resort, BedAndBreakfast…) node with name, address, geo coordinates, phone, star rating and check-in/check-out times.

### Example code

`{
"@context": "https://schema.org",
"@type": "Hotel",
"@id": "https://example.com/#hotel",
"name": "Hotel name",
"url": "https://example.com",
"telephone": "+00 000 000 0000",
"address": { "@type": "PostalAddress", "streetAddress": "…", "addressLocality": "…", "addressCountry": "US" },
"geo": { "@type": "GeoCoordinates", "latitude": 0.0, "longitude": 0.0 },
"starRating": { "@type": "Rating", "ratingValue": 4 },
"checkinTime": "14:00",
"checkoutTime": "12:00"
}`
Example values (example.com, product name, price) are placeholders; replace them with your own.

### How to verify it yourself

The homepage’s Hotel JSON-LD should include name, address, geo, telephone, starRating, checkinTime and checkoutTime; test it in Google’s Rich Results Test.

### Fix it with an AI coding agent

Paste this into Claude Code, Cursor or another coding agent working on your store’s code. Review the change before you deploy it.

`You are working on my online store. Specoria’s agent readiness test checks the item below. Fix it so AI shopping agents can read the store and act on it.

## 1. Hotel structured data (Hotel / LodgingBusiness) (lodging_schema)
Target: The homepage carries one Hotel (or Resort, BedAndBreakfast…) node with name, address, geo coordinates, phone, star rating and check-in/check-out times.
Example fix (adapt it to this codebase and platform; example values are placeholders):
```
{
"@context": "https://schema.org",
"@type": "Hotel",
"@id": "https://example.com/#hotel",
"name": "Hotel name",
"url": "https://example.com",
"telephone": "+00 000 000 0000",
"address": { "@type": "PostalAddress", "streetAddress": "…", "addressLocality": "…", "addressCountry": "US" },
"geo": { "@type": "GeoCoordinates", "latitude": 0.0, "longitude": 0.0 },
"starRating": { "@type": "Rating", "ratingValue": 4 },
"checkinTime": "14:00",
"checkoutTime": "12:00"
}
```
Reference: https://specoria.com/method/checks/lodging-schema/

## Rules
- First look through the codebase and tell me which files or templates you will change, before editing anything.
- Change only what these checks need, and keep the visible page and the structured data saying the same thing.
- Never invent prices, stock, shipping or return terms, reviews or product identifiers (GTIN): take them from the store’s real data or ask me.
- Don’t block or slow down real visitors and don’t add tracking.
- After deploying, run the free test again at https://specoria.com/ to verify the fix.`

## Specifications and guidance

- [schema.org/Hotel ↗](https://schema.org/Hotel)
- [schema.org/LodgingBusiness ↗](https://schema.org/LodgingBusiness)

The check is based on these open sources; links go to the publisher’s own pages.

[← PreviousSite search that works by URL](https://specoria.com/method/checks/site-search/)[Next →Amenities in structured data](https://specoria.com/method/checks/lodging-amenities/)

[Run the free test](https://specoria.com/method/checks/lodging-schema/#test) [See the sample report →](https://specoria.com/reports/sample-report/)

## Related

- [Amenities in structured data](https://specoria.com/method/checks/lodging-amenities/)
- [Rooms and prices readable](https://specoria.com/method/checks/room-offers/)
- [Agent Readiness Index 2027](https://specoria.com/index/) How the benchmarked stores scored, with open data
- [Glossary and formulas](https://specoria.com/glossary/) Every metric, defined the way we compute it

FREE TEST

## Test your store now

Enter your store’s address: 27 checks on your public pages, the way a shopping agent reads them.

The free test runs in your browser and needs JavaScript. [Request the free deep audit by email instead →](https://specoria.com/#contact)

Your result opens on its own page. Want the full picture? The free deep audit and panel come next, by email.
