core + pending (Pending Extension): these terms are pending wider review. Feedback is welcomed!

numberOfRooms

Canonical URL: http://schema.org/numberOfRooms

Thing > Property > numberOfRooms

The number of rooms (excluding bathrooms and closets) of the acccommodation or lodging business. Typical unit code(s): ROM for room or C62 for no unit. The type of room can be put in the unitText property of the QuantitativeValue.
Values expected to be one of these types
Number
QuantitativeValue
Used on these types
Accommodation
Apartment
House
SingleFamilyResidence
Suite

Acknowledgement

This element is based on the STI Accommodation Ontology, see http://ontologies.sti-innsbruck.at/acco/ns.html for details. Many class and property definitions are inspired by or based on abstracts from Wikipedia, the free encyclopedia.



Examples

Example 1
This example is in microdata only.
<div itemscope itemtype="http://schema.org/Hotel">
  <h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
  <span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
  <span itemprop="numberOfRooms">60</span> rooms.
</div>
This example is in microdata only.
This example is in microdata only.
Example 2
This example is in microdata only.
<div itemscope itemtype="http://schema.org/Hotel">
  <h1><span itemprop="name">ACME Hotel Innsbruck</span></h1>
  <span itemprop="description">A beautifully located business hotel right in the
heart of the alps. Watch the sun rise over the scenic Inn valley while
enjoying your morning coffee.</span>
  <span itemprop="numberOfRooms" itemscope itemtype="http://schema.org/QuantitativeValue">
     <span itemprop="value">45</span>
     <span itemprop="unitText">double rooms</span>
  </span>
  <span itemprop="numberOfRooms" itemscope itemtype="http://schema.org/QuantitativeValue">
     <span itemprop="value">15</span>
     <span itemprop="unitText">single rooms</span>
  </span>
</div>
This example is in microdata only.
This example is in microdata only.

Schema Version 3.3