NAME

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

VERSION

version v23.0.0

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 SemanticWeb::Schema::Accommodation, following real estate conventions, e.g. RESO (see PropertySubType, and PropertyType 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 SemanticWeb::Schema::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.

bed

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

A bed should be one of the following types:

InstanceOf['SemanticWeb::Schema::BedDetails']
InstanceOf['SemanticWeb::Schema::BedType']
Str

_has_bed

A predicate for the "bed" attribute.

floor_level

floorLevel

The floor level for an SemanticWeb::Schema::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 SemanticWeb::Schema::Accommodation, either particular to some SemanticWeb::Schema::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 some SemanticWeb::Schema::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]].

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 SemanticWeb::Schema::Accommodation, SemanticWeb::Schema::ApartmentComplex or SemanticWeb::Schema::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 SemanticWeb::Schema::Accommodation. This corresponds to the BathroomsFull 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 SemanticWeb::Schema::Accommodation. This corresponds to the BathroomsPartial 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.

occupancy

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

A occupancy should be one of the following types:

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

_has_occupancy

A predicate for the "occupancy" 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 SemanticWeb::Schema::Place, such as an SemanticWeb::Schema::Accommodation or SemanticWeb::Schema::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 SemanticWeb::Schema::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-2023 by Robert Rothenberg.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)