Accommodation Schema Generator and Guide

Accommodation

Schema.org Type

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.

Accommodation schema is a sub type of:

This schema has more specific sub types.
Would you like to generate a more specific type of Accommodation schema?

Accommodation Schema Generator in JSON-LD

Accommodation schema code:

This Schema can take the following complex properties:


How to Create a Accommodation Schema



Step 1: Fill out the form above as much as possible.

Note:Use this Schema.org based structured data generator tool to easily create Accommodation schema.
The properties are the description of your entity. You don't have to fill in all the properties on this page. Provide what is available and leave what is not. To learn more about each property in your schema type please check Accommodation schema properties


Step 2: When complete click the Copy Code button to get your JSON-LD code

Notes:To check if your code is eligible for featured snippets (rich snippets or rich results) test your code with the Rich Results Test tool to learn more about which schema are qualified for rich results check out Google’s search gallery.
To validate your markup code, check your JSON-LD code with the Schema Markup Validator


Step 3: To add a sub-schema, click on the Create Knowledge Graph button

Important Notes: to describe the relationship between your entities you must design a custom schema, this is where the 'creation of knowledge graph' is needed.
For example: if you have a local business and you want to add a service catalogue, or if you have a recipe schema and you want to add a HowTo steps, or if you have a product and you want to add a FAQ about it, to learn more watch this semantic SEO workshop





Accommodation Schema Properties

Accommodation has 70 properties:

  • accommodationCategory Category of an Accommodation, following real estate conventions e.g. RESO (see PropertySubType, and PropertyType fields for suggested values).
  • accommodationFloorPlan A floorplan of some Accommodation.
  • additionalProperty A property-value pair representing an additional characteristics of the entitity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.

    Note: 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.
  • additionalType 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. In RDFa syntax, it is better to use the native RDFa syntax - the 'typeof' attribute - for multiple types. Schema.org tools may have only weaker understanding of extra types, in particular those defined externally.
  • address Physical address of the item.
  • aggregateRating The overall rating, based on a collection of reviews or ratings, of the item.
  • alternateName An alias for the item.
  • 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.
  • branchCode 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.

    For example, in the URL http://www.starbucks.co.uk/store-locator/etc/detail/3047 the code "3047" is a branchCode for a particular branch.
  • containedIn The basic containment relation between a place and one that contains it.
  • containedInPlace The basic containment relation between a place and one that contains it.
  • containsPlace The basic containment relation between a place and another that it contains.
  • description A description of the item.
  • disambiguatingDescription 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.
  • events Upcoming or past events associated with this place or organization.
  • event Upcoming or past event associated with this place, organization, or action.
  • faxNumber The fax number.
  • 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.
  • 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
  • geoContains 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.
  • geo The geo coordinates of the place.
  • geoCoveredBy Represents a relationship between two geometries (or the places they represent), relating a geometry to another that covers it. As defined in DE-9IM.
  • geoCovers 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.
  • geoCrosses 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.
  • geoDisjoint 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)
  • geoEquals 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)
  • geoIntersects Represents spatial relations in which two geometries (or the places they represent) have at least one point in common. As defined in DE-9IM.
  • geoOverlaps 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.
  • geoTouches 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 )
  • geoWithin 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.
  • globalLocationNumber 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.
  • hasDriveThroughService Indicates whether some facility (e.g. FoodEstablishment, CovidTestingFacility) offers a service that can be used by driving through in a car. In the case of CovidTestingFacility such facilities could potentially help with social distancing from other potentially-infected users.
  • hasMap A URL to a map of the place.
  • identifier The identifier property represents any kind of identifier for any kind of Thing, 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.
  • image An image of the item. This can be a URL or a fully described ImageObject.
  • isAccessibleForFree A flag to signal that the item, event, or place is accessible for free.
  • isicV4 The International Standard of Industrial Classification of All Economic Activities (ISIC), Revision 4 code for a particular organization, business person, or place.
  • keywords 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.
  • latitude The latitude of a location. For example 37.42242 (WGS 84).
  • leaseLength Length of the lease for some Accommodation, either particular to some Offer or in some cases intrinsic to the property.
  • longitude The longitude of a location. For example -122.08585 (WGS 84).
  • mainEntityOfPage Indicates a page (or other CreativeWork) for which this thing is the main entity being described. See background notes for details.
  • map A URL to a map of the place.
  • maps A URL to a map of the place.
  • maximumAttendeeCapacity The total number of individuals that may attend an event or venue.
  • name The name of the item.
  • numberOfBathroomsTotal The total integer number of bathrooms in a 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.
  • numberOfBedrooms The total integer number of bedrooms in a some Accommodation, ApartmentComplex or FloorPlan.
  • numberOfFullBathrooms Number of full bathrooms - The total number of full and ¾ bathrooms in an Accommodation. This corresponds to the BathroomsFull field in RESO.
  • numberOfPartialBathrooms Number of partial bathrooms - The total number of half and ¼ bathrooms in an Accommodation. This corresponds to the BathroomsPartial field in RESO.
  • 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.
  • openingHoursSpecification The opening hours of a certain place.
  • permittedUsage Indications regarding the permitted usage of the accommodation.
  • petsAllowed Indicates whether pets are allowed to enter the accommodation or lodging business. More detailed information can be put in a text value.
  • photo A photograph of this place.
  • photos Photographs of this place.
  • potentialAction Indicates a potential Action, which describes an idealized action in which this thing would play an 'object' role.
  • publicAccess A flag to signal that the Place is open to public visitors. If this property is omitted there is no assumed default boolean value
  • review A review of the item.
  • reviews Review of the item.
  • sameAs 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.
  • slogan A slogan or motto associated with the item.
  • smokingAllowed Indicates whether it is allowed to smoke in the place, e.g. in the restaurant, hotel or hotel room.
  • specialOpeningHoursSpecification The special opening hours of a certain place.

    Use this to explicitly override general opening hours brought in scope by openingHoursSpecification or openingHours.
  • subjectOf A CreativeWork or Event about this Thing.
  • telephone The telephone number.
  • 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.
  • url URL of the item.
  • yearBuilt The year an Accommodation was constructed. This corresponds to the YearBuilt field in RESO.