SchemaAccommodation class
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
SchemaadditionalType with external vocabularies.
See also
the dedicated document on the use of
schema.org for marking up hotels and other forms of accommodations.
See https://schema.org/Accommodation
- Inheritance
-
- Object
- SchemaThing
- SchemaPlace
- SchemaAccommodation
- Implementers
Constructors
- SchemaAccommodation({SchemaPropertyValue? additionalProperty, String? additionalType, dynamic address, SchemaAggregateRating? aggregateRating, String? alternateName, SchemaLocationFeatureSpecification? amenityFeature, String? branchCode, SchemaPlace? containedIn, SchemaPlace? containedInPlace, SchemaPlace? containsPlace, dynamic description, String? disambiguatingDescription, SchemaEvent? event, SchemaEvent? events, String? faxNumber, dynamic geo, dynamic geoContains, dynamic geoCoveredBy, dynamic geoCovers, dynamic geoCrosses, dynamic geoDisjoint, dynamic geoEquals, dynamic geoIntersects, dynamic geoOverlaps, dynamic geoTouches, dynamic geoWithin, String? globalLocationNumber, SchemaCertification? hasCertification, bool? hasDriveThroughService, String? hasGS1DigitalLink, dynamic hasMap, dynamic identifier, dynamic image, bool? isAccessibleForFree, String? isicV4, dynamic keywords, dynamic latitude, dynamic logo, dynamic longitude, dynamic mainEntityOfPage, String? map, String? maps, int? maximumAttendeeCapacity, String? name, SchemaOpeningHoursSpecification? openingHoursSpecification, dynamic owner, dynamic photo, dynamic photos, SchemaAction? potentialAction, bool? publicAccess, SchemaReview? review, SchemaReview? reviews, String? sameAs, String? slogan, bool? smokingAllowed, SchemaOpeningHoursSpecification? specialOpeningHoursSpecification, dynamic subjectOf, String? telephone, String? tourBookingPage, String? url, String? accommodationCategory, SchemaFloorPlan? accommodationFloorPlan, dynamic bed, String? floorLevel, SchemaQuantitativeValue? floorSize, dynamic leaseLength, int? numberOfBathroomsTotal, dynamic numberOfBedrooms, num? numberOfFullBathrooms, num? numberOfPartialBathrooms, dynamic numberOfRooms, SchemaQuantitativeValue? occupancy, String? permittedUsage, dynamic petsAllowed, num? yearBuilt})
- Create a new instance of SchemaAccommodation
Properties
- accommodationCategory ↔ String?
-
Category of an SchemaAccommodation, following real estate conventions,
e.g. RESO (see
PropertySubType,
and
PropertyType
fields for suggested values).
getter/setter pair
- accommodationFloorPlan ↔ SchemaFloorPlan?
-
A floorplan of some SchemaAccommodation.
getter/setter pair
- additionalProperty ↔ SchemaPropertyValue?
-
A property-value pair representing an additional characteristic of the
entity, e.g. a product feature or another characteristic for which there
is no matching property in schema.org.\n\nNote: Publishers should be
aware that applications designed to use specific schema.org properties
(e.g. https://schema.org/width, https://schema.org/color,
https://schema.org/gtin13, ...) will typically expect such data to be
provided using those properties, rather than using the generic
property/value mechanism.
getter/setter pairinherited
- additionalType ↔ String?
-
An additional type for the item, typically used for adding more specific
types from external vocabularies in microdata syntax. This is a
relationship between something and a class that the thing is in.
Typically the value is a URI-identified RDF class, and in this case
corresponds to the use of rdf:type in RDF. Text values can be used
sparingly, for cases where useful information can be added without their
being an appropriate schema to reference. In the case of text values, the
class label should follow the schema.org style guide.
getter/setter pairinherited
- address ↔ dynamic
-
Physical address of the item.
getter/setter pairinherited
- aggregateRating ↔ SchemaAggregateRating?
-
The overall rating, based on a collection of reviews or ratings, of the
item.
getter/setter pairinherited
- alternateName ↔ String?
-
An alias for the item.
getter/setter pairinherited
- amenityFeature ↔ SchemaLocationFeatureSpecification?
-
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.
getter/setter pairinherited
- bed ↔ dynamic
-
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.
getter/setter pair
- branchCode ↔ String?
-
A short textual code (also called "store code") that uniquely identifies
a place of business. The code is typically assigned by the
parentOrganization and used in structured URLs.\n\nFor example, in the
URL http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code
"3047" is a branchCode for a particular branch.
getter/setter pairinherited
- containedIn ↔ SchemaPlace?
-
The basic containment relation between a place and one that contains it.
getter/setter pairinherited
- containedInPlace ↔ SchemaPlace?
-
The basic containment relation between a place and one that contains it.
getter/setter pairinherited
- containsPlace ↔ SchemaPlace?
-
The basic containment relation between a place and another that it
contains.
getter/setter pairinherited
- description ↔ dynamic
-
A description of the item.
getter/setter pairinherited
- disambiguatingDescription ↔ String?
-
A sub property of description. A short description of the item used to
disambiguate from other, similar items. Information from other properties
(in particular, name) may be necessary for the description to be useful
for disambiguation.
getter/setter pairinherited
- event ↔ SchemaEvent?
-
Upcoming or past event associated with this place, organization, or
action.
getter/setter pairinherited
- events ↔ SchemaEvent?
-
Upcoming or past events associated with this place or organization.
getter/setter pairinherited
- faxNumber ↔ String?
-
The fax number.
getter/setter pairinherited
- floorLevel ↔ String?
-
The floor level for an SchemaAccommodation in a multi-storey building.
Since counting systems vary
internationally,
the local system should be used where possible.
getter/setter pair
- floorSize ↔ SchemaQuantitativeValue?
-
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.
getter/setter pair
- geo ↔ dynamic
-
The geo coordinates of the place.
getter/setter pairinherited
- geoContains ↔ dynamic
-
Represents a relationship between two geometries (or the places they
represent), relating a containing geometry to a contained geometry. "a
contains b iff no points of b lie in the exterior of a, and at least one
point of the interior of b lies in the interior of a". As defined in
DE-9IM.
getter/setter pairinherited
- geoCoveredBy ↔ dynamic
-
Represents a relationship between two geometries (or the places they
represent), relating a geometry to another that covers it. As defined in
DE-9IM.
getter/setter pairinherited
- geoCovers ↔ dynamic
-
Represents a relationship between two geometries (or the places they
represent), relating a covering geometry to a covered geometry. "Every
point of b is a point of (the interior or boundary of) a". As defined in
DE-9IM.
getter/setter pairinherited
- geoCrosses ↔ dynamic
-
Represents a relationship between two geometries (or the places they
represent), relating a geometry to another that crosses it: "a crosses b:
they have some but not all interior points in common, and the dimension
of the intersection is less than that of at least one of them". As
defined in DE-9IM.
getter/setter pairinherited
- geoDisjoint ↔ dynamic
-
Represents spatial relations in which two geometries (or the places they
represent) are topologically disjoint: "they have no point in common.
They form a set of disconnected geometries." (A symmetric relationship,
as defined in DE-9IM.)
getter/setter pairinherited
- geoEquals ↔ dynamic
-
Represents spatial relations in which two geometries (or the places they
represent) are topologically equal, as defined in
DE-9IM. "Two geometries are
topologically equal if their interiors intersect and no part of the
interior or boundary of one geometry intersects the exterior of the
other" (a symmetric relationship).
getter/setter pairinherited
- geoIntersects ↔ dynamic
-
Represents spatial relations in which two geometries (or the places they
represent) have at least one point in common. As defined in
DE-9IM.
getter/setter pairinherited
- geoOverlaps ↔ dynamic
-
Represents a relationship between two geometries (or the places they
represent), relating a geometry to another that geospatially overlaps it,
i.e. they have some but not all points in common. As defined in
DE-9IM.
getter/setter pairinherited
- geoTouches ↔ dynamic
-
Represents spatial relations in which two geometries (or the places they
represent) touch: "they have at least one boundary point in common, but
no interior points." (A symmetric relationship, as defined in
DE-9IM.)
getter/setter pairinherited
- geoWithin ↔ dynamic
-
Represents a relationship between two geometries (or the places they
represent), relating a geometry to one that contains it, i.e. it is
inside (i.e. within) its interior. As defined in
DE-9IM.
getter/setter pairinherited
- globalLocationNumber ↔ String?
-
The Global Location Number (GLN, sometimes also
referred to as International Location Number or ILN) of the respective
organization, person, or place. The GLN is a 13-digit number used to
identify parties and physical locations.
getter/setter pairinherited
- hasCertification ↔ SchemaCertification?
-
Certification information about a product, organization, service, place,
or person.
getter/setter pairinherited
- hasDriveThroughService ↔ bool?
-
Indicates whether some facility (e.g. SchemaFoodEstablishment,
SchemaCovidTestingFacility) offers a service that can be used by
driving through in a car. In the case of SchemaCovidTestingFacility
such facilities could potentially help with social distancing from other
potentially-infected users.
getter/setter pairinherited
- hasGS1DigitalLink ↔ String?
-
The GS1 digital
link associated with the object. This URL should conform to the
particular requirements of digital links. The link should only contain
the Application Identifiers (AIs) that are relevant for the entity being
annotated, for instance a SchemaProduct or an SchemaOrganization, and
for the correct granularity. In particular, for products:
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMap ↔ dynamic
-
A URL to a map of the place.
getter/setter pairinherited
- identifier ↔ dynamic
-
The identifier property represents any kind of identifier for any kind of
SchemaThing, such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides
dedicated properties for representing many of these, either as textual
strings or as URL (URI) links. See background
notes for more details.
getter/setter pairinherited
- image ↔ dynamic
-
An image of the item. This can be a
SchemaURLor a fully described SchemaImageObject.getter/setter pairinherited - isAccessibleForFree ↔ bool?
-
A flag to signal that the item, event, or place is accessible for free.
getter/setter pairinherited
- isicV4 ↔ String?
-
The International Standard of Industrial Classification of All Economic
Activities (ISIC), Revision 4 code for a particular organization,
business person, or place.
getter/setter pairinherited
- keywords ↔ dynamic
-
Keywords or tags used to describe some item. Multiple textual entries in
a keywords list are typically delimited by commas, or by repeating the
property.
getter/setter pairinherited
- latitude ↔ dynamic
-
The latitude of a location. For example
37.42242(WGS 84).getter/setter pairinherited - leaseLength ↔ dynamic
-
Length of the lease for some SchemaAccommodation, either particular to
some SchemaOffer or in some cases intrinsic to the property.
getter/setter pair
- logo ↔ dynamic
-
An associated logo.
getter/setter pairinherited
- longitude ↔ dynamic
-
The longitude of a location. For example
-122.08585(WGS 84).getter/setter pairinherited - mainEntityOfPage ↔ dynamic
-
Indicates a page (or other CreativeWork) for which this thing is the main
entity being described. See background
notes for details.
getter/setter pairinherited
- map ↔ String?
-
A URL to a map of the place.
getter/setter pairinherited
- maps ↔ String?
-
A URL to a map of the place.
getter/setter pairinherited
- maximumAttendeeCapacity ↔ int?
-
The total number of individuals that may attend an event or venue.
getter/setter pairinherited
- name ↔ String?
-
The name of the item.
getter/setter pairinherited
- numberOfBathroomsTotal ↔ int?
-
The total integer number of bathrooms in some SchemaAccommodation,
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
SchemanumberOfRooms.getter/setter pair - numberOfBedrooms ↔ dynamic
-
The total integer number of bedrooms in a some SchemaAccommodation,
SchemaApartmentComplex or SchemaFloorPlan.
getter/setter pair
- numberOfFullBathrooms ↔ num?
-
Number of full bathrooms - The total number of full and ¾ bathrooms in an
SchemaAccommodation. This corresponds to the BathroomsFull field in
RESO.
getter/setter pair
- numberOfPartialBathrooms ↔ num?
-
Number of partial bathrooms - The total number of half and ¼ bathrooms in
an SchemaAccommodation. This corresponds to the BathroomsPartial field
in RESO.
getter/setter pair
- numberOfRooms ↔ dynamic
-
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.
getter/setter pair
- occupancy ↔ SchemaQuantitativeValue?
-
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.
getter/setter pair
- openingHoursSpecification ↔ SchemaOpeningHoursSpecification?
-
The opening hours of a certain place.
getter/setter pairinherited
- owner ↔ dynamic
-
A person or organization who owns this Thing.
getter/setter pairinherited
- permittedUsage ↔ String?
-
Indications regarding the permitted usage of the accommodation.
getter/setter pair
- petsAllowed ↔ dynamic
-
Indicates whether pets are allowed to enter the accommodation or lodging
business. More detailed information can be put in a text value.
getter/setter pair
- photo ↔ dynamic
-
A photograph of this place.
getter/setter pairinherited
- photos ↔ dynamic
-
Photographs of this place.
getter/setter pairinherited
- potentialAction ↔ SchemaAction?
-
Indicates a potential Action, which describes an idealized action in
which this thing would play an 'object' role.
getter/setter pairinherited
- publicAccess ↔ bool?
-
A flag to signal that the SchemaPlace is open to public visitors. If
this property is omitted there is no assumed default boolean value.
getter/setter pairinherited
- review ↔ SchemaReview?
-
A review of the item.
getter/setter pairinherited
- reviews ↔ SchemaReview?
-
Review of the item.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sameAs ↔ String?
-
URL of a reference Web page that unambiguously indicates the item's
identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or
official website.
getter/setter pairinherited
- slogan ↔ String?
-
A slogan or motto associated with the item.
getter/setter pairinherited
- smokingAllowed ↔ bool?
-
Indicates whether it is allowed to smoke in the place, e.g. in the
restaurant, hotel or hotel room.
getter/setter pairinherited
- specialOpeningHoursSpecification ↔ SchemaOpeningHoursSpecification?
-
The special opening hours of a certain place.\n\nUse this to explicitly
override general opening hours brought in scope by
SchemaopeningHoursSpecificationorSchemaopeningHours.getter/setter pairinherited - subjectOf ↔ dynamic
-
A CreativeWork or Event about this Thing.
getter/setter pairinherited
- telephone ↔ String?
-
The telephone number.
getter/setter pairinherited
- tourBookingPage ↔ String?
-
A page providing information on how to book a tour of some SchemaPlace,
such as an SchemaAccommodation or SchemaApartmentComplex in a real
estate setting, as well as other kinds of tours as appropriate.
getter/setter pairinherited
- url ↔ String?
-
URL of the item.
getter/setter pairinherited
- yearBuilt ↔ num?
-
The year an SchemaAccommodation was constructed. This corresponds to
the YearBuilt field in
RESO.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJsonLd(
) → Map< String, dynamic> -
Serialize SchemaAccommodation to JSON-LD
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited