NAME

SemanticWeb::Schema::Accommodation - An accommodation is a place that can accommodate human beings

VERSION

version v7.0.3

DESCRIPTION

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.

ATTRIBUTES

accommodation_category

accommodationCategory

Category of an Accommodation, following real estate conventions e.g. RESO (see Property SubType, and PropertyTyp e fields for suggested values).

A accommodation_category should be one of the following types:

Str

_has_accommodation_category

A predicate for the "accommodation_category" attribute.

accommodation_floor_plan

accommodationFloorPlan

A floorplan of some Accommodation.

A accommodation_floor_plan should be one of the following types:

InstanceOf['SemanticWeb::Schema::FloorPlan']

_has_accommodation_floor_plan

A predicate for the "accommodation_floor_plan" attribute.

amenity_feature

amenityFeature

An 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.

A amenity_feature should be one of the following types:

InstanceOf['SemanticWeb::Schema::LocationFeatureSpecification']

_has_amenity_feature

A predicate for the "amenity_feature" attribute.

floor_level

floorLevel

The floor level for an Accommodation in a multi-storey building. Since counting systems vary internationally, the local system should be used where possible.

A floor_level should be one of the following types:

Str

_has_floor_level

A predicate for the "floor_level" attribute.

floor_size

floorSize

The 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

A floor_size should be one of the following types:

InstanceOf['SemanticWeb::Schema::QuantitativeValue']

_has_floor_size

A predicate for the "floor_size" attribute.

lease_length

leaseLength

Length of the lease for some Accommodation, either particular to some Offer or in some cases intrinsic to the property.

A lease_length should be one of the following types:

InstanceOf['SemanticWeb::Schema::Duration']
InstanceOf['SemanticWeb::Schema::QuantitativeValue']

_has_lease_length

A predicate for the "lease_length" attribute.

number_of_bathrooms_total

numberOfBathroomsTotal

The total integer number of bathrooms in a some Accommodation, following real estate conventions as do cumented 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.

A number_of_bathrooms_total should be one of the following types:

InstanceOf['SemanticWeb::Schema::Integer']

_has_number_of_bathrooms_total

A predicate for the "number_of_bathrooms_total" attribute.

number_of_bedrooms

numberOfBedrooms

The total integer number of bedrooms in a some Accommodation, ApartmentComplex or FloorPlan.

A number_of_bedrooms should be one of the following types:

InstanceOf['SemanticWeb::Schema::QuantitativeValue']
Num

_has_number_of_bedrooms

A predicate for the "number_of_bedrooms" attribute.

number_of_full_bathrooms

numberOfFullBathrooms

Number of full bathrooms - The total number of full and ¾ bathrooms in an Accommodation. This corresponds to the BathroomsF ull field in RESO.

A number_of_full_bathrooms should be one of the following types:

Num

_has_number_of_full_bathrooms

A predicate for the "number_of_full_bathrooms" attribute.

number_of_partial_bathrooms

numberOfPartialBathrooms

Number of partial bathrooms - The total number of half and ¼ bathrooms in an Accommodation. This corresponds to the Bathroo msPartial field in RESO.

A number_of_partial_bathrooms should be one of the following types:

Num

_has_number_of_partial_bathrooms

A predicate for the "number_of_partial_bathrooms" attribute.

number_of_rooms

numberOfRooms

The 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.

A number_of_rooms should be one of the following types:

InstanceOf['SemanticWeb::Schema::QuantitativeValue']
Num

_has_number_of_rooms

A predicate for the "number_of_rooms" attribute.

permitted_usage

permittedUsage

Indications regarding the permitted usage of the accommodation.

A permitted_usage should be one of the following types:

Str

_has_permitted_usage

A predicate for the "permitted_usage" attribute.

pets_allowed

petsAllowed

Indicates whether pets are allowed to enter the accommodation or lodging business. More detailed information can be put in a text value.

A pets_allowed should be one of the following types:

Bool
Str

_has_pets_allowed

A predicate for the "pets_allowed" attribute.

tour_booking_page

tourBookingPage

A 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.

A tour_booking_page should be one of the following types:

Str

_has_tour_booking_page

A predicate for the "tour_booking_page" attribute.

year_built

yearBuilt

The year an Accommodation was constructed. This corresponds to the YearBuilt field in RESO.

A year_built should be one of the following types:

Num

_has_year_built

A predicate for the "year_built" attribute.

SEE ALSO

SemanticWeb::Schema::Place

SOURCE

The development version is on github at https://github.com/robrwo/SemanticWeb-Schema and may be cloned from git://github.com/robrwo/SemanticWeb-Schema.git

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/robrwo/SemanticWeb-Schema/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Robert Rothenberg <rrwo@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2020 by Robert Rothenberg.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)