BedDetails
BedDetails is an Intangible with two properties: numberOfBeds (Number) and typeOfBed (Text — "king", "queen", "double", "twin", "sofa bed"). Used on HotelRoom.bed and LodgingReservation.lodgingUnitDescription. For property-listing markup, Google prefers the BedType enum + amenityFeature; BedDetails is still valid in reservation confirmations.
Full example of schema.org/BedDetails 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": "HotelRoom",
"name": "Dunmore Inn, Room 3",
"bed": [
{ "@type": "BedDetails", "numberOfBeds": 1, "typeOfBed": "King" },
{ "@type": "BedDetails", "numberOfBeds": 1, "typeOfBed": "Sofa bed" }
]
}
</script>Minimal valid version
The smallest markup that still produces a valid BedDetails 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": "BedDetails",
"numberOfBeds": 1,
"typeOfBed": "Queen"
}
</script>Google rich results this unlocks
BedDetails 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). BedDetails becomes the trunk that the primary type branches off viamainEntityorbreadcrumb. Include it on every page as the backbone of your markup.
Common BedDetails 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
typeOfBed with manufacturer names
Wrong"typeOfBed": "Sealy Posturepedic"Right"typeOfBed": "Queen"Type of bed is the bed class (king/queen/twin), not the brand.
Schema properties in this example
Also mentioned in 3 other examples
BedDetails also appears in Accommodation, HotelRoom, and Suite. See the full BedDetails schema page for every reference.
About the example data
Dunmore Inn Room 3 — 1 king bed + 1 sofa bed.
Comments
Loading comments...