Wix Hotels schema markup: LodgingBusiness, Hotel and Room schema
Module 18: Wix Bookings, Hotels & Service Business SEO | Lesson 220 of 687 | 58 min read
By Michael Andrews, Wix SEO Expert UK
Schema markup (structured data) tells Google exactly what your accommodation business offers in a machine-readable format. When implemented correctly, it can earn you rich results in search: star ratings, price ranges, availability indicators and review counts displayed directly in the search results. For accommodation businesses, the relevant schema types are Hotel, LodgingBusiness, BedAndBreakfast, and HotelRoom. This lesson provides complete JSON-LD implementations for each type, explains when to use which schema, shows you how to add it to your Wix Hotels pages, and covers testing and validation to ensure Google can parse your structured data correctly.

Choosing the Right Schema Type for Your Accommodation
Schema.org provides several types for accommodation businesses. Choosing the correct one ensures Google categorises your property accurately. Using the wrong type (e.g., Hotel schema for a holiday cottage) can confuse Google and reduce the effectiveness of your structured data.
- Hotel: Use for traditional hotels with reception, room service, and daily housekeeping. Includes properties for star rating, number of rooms, and amenities.
- BedAndBreakfast: Use for B&Bs and guesthouses where breakfast is included and the property has a more personal, home-like atmosphere.
- LodgingBusiness: The parent type that works for any accommodation. Use this as a catch-all if your property does not fit neatly into Hotel or BedAndBreakfast.
- VacationRental: Use for self-catering holiday cottages, apartments and villas where guests have independent access.
- Hostel: Use for hostels and budget accommodation with shared facilities.
- Resort: Use for resort properties with extensive on-site facilities.
Hotel Schema: Full JSON-LD Implementation
The Hotel schema is the most comprehensive accommodation type. Add this to your homepage or Rooms Overview page as a JSON-LD script in the Wix Editor custom code section (Settings > Custom Code > Head).
{
"@context": "https://schema.org",
"@type": "Hotel",
"name": "The Harbour Hotel",
"description": "Boutique hotel overlooking Whitby harbour with 12 individually designed rooms, harbour view restaurant, and direct access to the historic town centre.",
"url": "https://www.yoursite.com",
"telephone": "+44-1234-567890",
"email": "[email protected]",
"image": [
"https://www.yoursite.com/images/hotel-exterior.jpg",
"https://www.yoursite.com/images/harbour-view-room.jpg",
"https://www.yoursite.com/images/restaurant.jpg"
],
"address": {
"@type": "PostalAddress",
"streetAddress": "15 Harbour Road",
"addressLocality": "Whitby",
"addressRegion": "North Yorkshire",
"postalCode": "YO21 3PU",
"addressCountry": "GB"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": "54.4858",
"longitude": "-0.6206"
},
"starRating": {
"@type": "Rating",
"ratingValue": "4"
},
"numberOfRooms": 12,
"petsAllowed": false,
"checkinTime": "15:00",
"checkoutTime": "10:30",
"amenityFeature": [
{ "@type": "LocationFeatureSpecification", "name": "Free Wi-Fi", "value": true },
{ "@type": "LocationFeatureSpecification", "name": "Free Parking", "value": true },
{ "@type": "LocationFeatureSpecification", "name": "Restaurant", "value": true },
{ "@type": "LocationFeatureSpecification", "name": "Bar", "value": true },
{ "@type": "LocationFeatureSpecification", "name": "Room Service", "value": true }
],
"priceRange": "£120 - £280 per night"
}
HotelRoom Schema for Individual Room Pages
Each individual room page should have its own HotelRoom schema that describes the specific room type. This tells Google about the bed type, occupancy, pricing, and amenities for that particular room.
{
"@context": "https://schema.org",
"@type": "HotelRoom",
"name": "Sea View Double Room",
"description": "Elegant double room with king-size bed and panoramic harbour views through floor-to-ceiling windows. En-suite bathroom with roll-top bath.",
"url": "https://www.yoursite.com/rooms/sea-view-double-room",
"image": "https://www.yoursite.com/images/sea-view-double.jpg",
"bed": {
"@type": "BedDetails",
"typeOfBed": "King",
"numberOfBeds": 1
},
"occupancy": {
"@type": "QuantitativeValue",
"value": 2
},
"amenityFeature": [
{ "@type": "LocationFeatureSpecification", "name": "Harbour View", "value": true },
{ "@type": "LocationFeatureSpecification", "name": "En-suite Bathroom", "value": true },
{ "@type": "LocationFeatureSpecification", "name": "Roll-top Bath", "value": true },
{ "@type": "LocationFeatureSpecification", "name": "Nespresso Machine", "value": true },
{ "@type": "LocationFeatureSpecification", "name": "Smart TV", "value": true }
],
"offers": {
"@type": "Offer",
"priceCurrency": "GBP",
"price": "160",
"priceValidUntil": "2026-12-31",
"availability": "https://schema.org/InStock",
"url": "https://www.yoursite.com/rooms/sea-view-double-room"
},
"containedInPlace": {
"@type": "Hotel",
"name": "The Harbour Hotel",
"url": "https://www.yoursite.com"
}
}
BedAndBreakfast Schema Implementation
If you operate a B&B or guesthouse, use BedAndBreakfast instead of Hotel. The schema properties are largely the same, but the type tells Google your property is a B&B, which affects how it appears in accommodation search filters.
{
"@context": "https://schema.org",
"@type": "BedAndBreakfast",
"name": "Moorside Guest House",
"description": "Family-run B&B with 6 en-suite rooms, full English breakfast, and stunning views across the North York Moors.",
"url": "https://www.yoursite.com",
"telephone": "+44-1234-567890",
"address": {
"@type": "PostalAddress",
"streetAddress": "22 Moor Lane",
"addressLocality": "Goathland",
"addressRegion": "North Yorkshire",
"postalCode": "YO22 5AN",
"addressCountry": "GB"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": "54.4012",
"longitude": "-0.7234"
},
"numberOfRooms": 6,
"petsAllowed": true,
"checkinTime": "14:00",
"checkoutTime": "10:00",
"priceRange": "£85 - £145 per night"
}
Adding Schema to Wix Hotels Pages
How to add schema markup to your Wix Hotels pages
- Step 1: In the Wix Editor, navigate to the page where you want to add schema (e.g., the Rooms Overview page or an individual room page).
- Step 2: Go to Settings > Custom Code (or use the Wix SEO panel > Advanced SEO > Additional Schema Markup).
- Step 3: For site-wide Hotel/LodgingBusiness schema, add the JSON-LD script to the head of your homepage.
- Step 4: For individual HotelRoom schema, add the JSON-LD script to the head of each room page. Each room page should have its own unique HotelRoom schema.
- Step 5: Ensure the JSON-LD is wrapped in a script tag: <script type="application/ld+json">YOUR JSON HERE</script>
- Step 6: Save and publish the page, then test immediately using Google Rich Results Test.
Adding AggregateRating to Your Schema
If you display guest reviews on your Wix Hotels site, you can add AggregateRating to your Hotel schema. This can result in star ratings appearing in search results, which significantly improves click-through rates.
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.7",
"bestRating": "5",
"worstRating": "1",
"ratingCount": "156",
"reviewCount": "89"
}
Testing and Validating Your Schema
How to test accommodation schema markup
- Step 1: Copy your page URL and paste it into Google Rich Results Test (https://search.google.com/test/rich-results). Wait for the test to complete.
- Step 2: Check for errors (red) and warnings (yellow). Fix all errors as they prevent rich results. Warnings are optional but recommended.
- Step 3: Use Schema Markup Validator (https://validator.schema.org) for a more detailed syntax check that catches issues the Google tool misses.
- Step 4: In Google Search Console, navigate to Enhancements and check for any schema-related issues across your entire site.
- Step 5: After fixing any issues, re-test and re-publish. Google will re-crawl and re-evaluate your schema on the next visit.
This lesson on Wix Hotels schema markup: LodgingBusiness, Hotel and Room schema is part of Module 18: Wix Bookings, Hotels & Service Business SEO in The Most Comprehensive Complete Wix SEO Course in the World (2026 Edition). Created by Michael Andrews, the UK's No.1 Wix SEO Expert with 14 years of hands-on experience, 750+ completed Wix SEO projects and 425+ verified five-star reviews.