Schema: numberOfBedrooms
Schema: numberOfBedrooms Example Markup
The following are examples of markup written in json+ld that include the correct usage for Schema: numberOfBedrooms.
Accommodation JSON-LD example for a Copenhagen apartment listing. Covers all 17 Accommodation properties including floorSize, numberOfRooms, numberOfBedrooms, bed (with BedDetails), occupancy, petsAllowed, amenityFeature, yearBuilt, leaseLength.
House JSON-LD example for a real estate listing in Dunmore. Covers numberOfRooms (re-declared on House) plus all inherited Accommodation properties: floorSize, occupancy, petsAllowed, yearBuilt, amenityFeature.
SingleFamilyResidence JSON-LD example for a detached single-family home. SingleFamilyResidence re-declares numberOfRooms and occupancy; for the full property walkthrough, see the House example.
Apartment JSON-LD example for a Copenhagen rental unit. Covers numberOfRooms and occupancy (re-declared on Apartment) plus inherited Accommodation properties for floor size, bedrooms, bathrooms, amenities, pet policies, lease length.
Residence JSON-LD stub for a residential building as a Place. Adds accommodationFloorPlan and floorLevel. Parent of ApartmentComplex and GatedResidenceCommunity.
FloorPlan JSON-LD example for the layout of a housing unit or building. Pending Intangible adding 12 properties: amenityFeature, floorSize, isPlanForApartment, layoutImage, numberOfAccommodationUnits, numberOfAvailableAccommodationUnits, numberOfBathroomsTotal, numberOfBedrooms, numberOfFullBathrooms, numberOfPartialBathrooms, numberOfRooms, petsAllowed.
ApartmentComplex JSON-LD stub for a multi-unit residential building or community. Residence subtype adding numberOfAccommodationUnits, numberOfAvailableAccommodationUnits, numberOfBedrooms, petsAllowed, tourBookingPage.