BedAndBreakfast
BedAndBreakfast is a direct LodgingBusiness subtype for small residential accommodations that include breakfast: B&Bs, guesthouses, small inns. Use inherited LodgingBusiness properties (checkinTime, checkoutTime, numberOfRooms, petsAllowed, starRating, amenityFeature).
Full example of schema.org/BedAndBreakfast json-ld markup
The markup is verified as valid with Rich Results Test from Google.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BedAndBreakfast",
"name": "The Riverfront B&B",
"description": "Six-room Victorian bed-and-breakfast overlooking the Lackawanna River. Full breakfast included.",
"address": { "@type": "PostalAddress", "streetAddress": "24 Riverfront Pl", "addressLocality": "Dunmore", "addressRegion": "PA", "postalCode": "18512", "addressCountry": "US" },
"telephone": "+1-570-555-2301",
"geo": { "@type": "GeoCoordinates", "latitude": 41.4276, "longitude": -75.6309 },
"checkinTime": "15:00",
"checkoutTime": "11:00",
"numberOfRooms": 6,
"petsAllowed": false,
"priceRange": "$$$",
"url": "https://xoocode.com/shops/riverfront-bb"
}
</script>Minimal valid version
The smallest markup that still produces a valid BedAndBreakfast entity. Use it as the floor. Reach for the advanced example above when you want search engines and AI agents to understand more about your content.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BedAndBreakfast",
"name": "The Riverfront B&B",
"address": { "@type": "PostalAddress", "streetAddress": "24 Riverfront Pl", "addressLocality": "Dunmore", "addressRegion": "PA", "postalCode": "18512", "addressCountry": "US" }
}
</script>Google rich results this unlocks
BedAndBreakfast is a structural type. It does not produce a rich result on its own.
Its value comes from combining it with a primary type whose markup earns a rich result (Article, Product, Event, and so on). BedAndBreakfast becomes the trunk that the primary type branches off viamainEntityorbreadcrumb. Include it on every page as the backbone of your markup.
Common BedAndBreakfast mistakes
Mistakes that pass validation but silently fail to earn rich results or mislead consumers walking the graph. Avoid these and your markup will be ahead of most sites in the wild.
- 01
BedAndBreakfast for a VacationRental
WrongBedAndBreakfast for a whole-home rental with no breakfastRightVacationRental for whole-property rentals; BedAndBreakfast for shared-premises small inns with breakfastB&B implies on-site hosts and breakfast service; VacationRental is the entire property on its own.
Schema properties in this example
About the example data
"The Riverfront B&B", a fictional 6-room B&B in Dunmore.
Comments
Loading comments...