Skip to content
Schema Generator
Menu

Accommodation

An accommodation is a place that can accommodate human beings, e.g. a hotel room, a camping pitch, or a meeting room. Many accommodations are for overnight stays, but this is not a mandatory requirement. For more specific types of accommodations not defined in schema.org, one can use additionalType with external vocabularies. See also the dedicated document on the use of schema.org for marking up hotels and other forms of accommodations.

Typeschema.org/Accommodation

Build Accommodation JSON-LD

Loading the builder…

More specific types

Use the most specific type that fits. Each accepts every property of Accommodation.

Properties (77)

Properties defined on Accommodation
PropertyExpectsDescription
accommodationCategoryTextCategory of an Accommodation, following real estate conventions, e.g. RESO (see PropertySubType, and PropertyType fields for suggested values).
accommodationFloorPlanFloorPlanA floorplan of some Accommodation.
amenityFeatureLocationFeatureSpecificationAn amenity feature (e.g. a characteristic or service) of the Accommodation. This generic property does not make a statement about whether the feature is included in an offer for the main accommodation or available at extra costs.
bedBedDetails, BedType, TextThe type of bed or beds included in the accommodation. For the single case of just one bed of a certain type, you use bed directly with a text. If you want to indicate the quantity of a certain kind of bed, use an instance of BedDetails. For more detailed information, use the amenityFeature property.
floorLevelTextThe floor level for an Accommodation in a multi-storey building. Since counting systems vary internationally, the local system should be used where possible.
floorSizeQuantitativeValueThe size of the accommodation, e.g. in square meter or squarefoot. Typical unit code(s): MTK for square meter, FTK for square foot, or YDK for square yard.
leaseLengthDuration, QuantitativeValueLength of the lease for some Accommodation, either particular to some Offer or in some cases intrinsic to the property.
numberOfBathroomsTotalIntegerThe total integer number of bathrooms in some Accommodation, following real estate conventions as documented in RESO: "The simple sum of the number of bathrooms. For example for a property with two Full Bathrooms and one Half Bathroom, the Bathrooms Total Integer will be 3.". See also numberOfRooms.
numberOfBedroomsNumber, QuantitativeValueThe total integer number of bedrooms in a some Accommodation, ApartmentComplex or FloorPlan.
numberOfFullBathroomsNumberNumber of full bathrooms - The total number of full and ¾ bathrooms in an Accommodation. This corresponds to the BathroomsFull field in RESO.
numberOfPartialBathroomsNumberNumber of partial bathrooms - The total number of half and ¼ bathrooms in an Accommodation. This corresponds to the BathroomsPartial field in RESO.
numberOfRoomsNumber, QuantitativeValueThe number of rooms (excluding bathrooms and closets) of the accommodation 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.
occupancyQuantitativeValueThe allowed total occupancy for the accommodation in persons (including infants etc). For individual accommodations, this is not necessarily the legal maximum but defines the permitted usage as per the contractual agreement (e.g. a double room used by a single person). Typical unit code(s): C62 for person.
permittedUsageTextIndications regarding the permitted usage of the accommodation.
petsAllowedBoolean, TextIndicates whether pets are allowed to enter the accommodation or lodging business. More detailed information can be put in a text value.
tourBookingPageURLA page providing information on how to book a tour of some Place, such as an Accommodation or ApartmentComplex in a real estate setting, as well as other kinds of tours as appropriate.
yearBuiltNumberThe year an Accommodation was constructed. This corresponds to the YearBuilt field in RESO.

Where Accommodation is used as a value

These properties expect a Accommodation: isPlanForApartment.