Accommodation Schema Generator and Guide
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:
- [Place Schema](/content/schema_list/Place "Place JSON-LD Generator"/index.html)
This schema has more specific sub types.
Would you like to generate a more specific type of Accommodation schema?
- [Apartment Schema Generator](/content/schema_list/Apartment "Apartment JSON-LD Generator"/index.html)
- [CampingPitch Schema Generator](/content/schema_list/CampingPitch "CampingPitch JSON-LD Generator"/index.html)
- [House Schema Generator](/content/schema_list/House "House JSON-LD Generator"/index.html)
- [Room Schema Generator](/content/schema_list/Room "Room JSON-LD Generator"/index.html)
- [Suite Schema Generator](/content/schema_list/Suite "Suite JSON-LD Generator"/index.html)
Accommodation Schema Generator in JSON-LD
Copy Code
@idaccommodationCategory
additionalType
address
alternateName
branchCode
description
disambiguatingDescription
faxNumber
floorLevel
globalLocationNumber
hasDriveThroughService
hasMap
identifier
image
isAccessibleForFree
isicV4
keywords
latitude
logo
longitude
mainEntityOfPage
map
maps
maximumAttendeeCapacity
name
numberOfBathroomsTotal
numberOfBedrooms
numberOfFullBathrooms
numberOfPartialBathrooms
numberOfRooms
permittedUsage
petsAllowed
publicAccess
sameAs
slogan
smokingAllowed
telephone
tourBookingPage
url
yearBuilt
Accommodation schema code:
This Schema can take the following complex properties:
Add Subschema
- address: | PostalAddress |
- hasMap: | Map |
- identifier: | PropertyValue |
- image: | ImageObject |
- keywords: | DefinedTerm |
- logo: | ImageObject |
- mainEntityOfPage: | CreativeWork |
- numberOfBedrooms: | QuantitativeValue |
- numberOfRooms: | QuantitativeValue |
- accommodationFloorPlan: | FloorPlan |
- additionalProperty: | PropertyValue |
- aggregateRating: | AggregateRating |
- amenityFeature: | LocationFeatureSpecification |
- containedIn: | Place |
- containedInPlace: | Place |
- containsPlace: | Place |
- events: | Event |
- event: | Event |
- floorSize: | QuantitativeValue |
- geoContains: | GeospatialGeometry | Place |
- geo: | GeoCoordinates | GeoShape |
- geoCoveredBy: | GeospatialGeometry | Place |
- geoCovers: | GeospatialGeometry | Place |
- geoCrosses: | GeospatialGeometry | Place |
- geoDisjoint: | GeospatialGeometry | Place |
- geoEquals: | GeospatialGeometry | Place |
- geoIntersects: | GeospatialGeometry | Place |
- geoOverlaps: | GeospatialGeometry | Place |
- geoTouches: | GeospatialGeometry | Place |
- geoWithin: | GeospatialGeometry | Place |
- leaseLength: | Duration | QuantitativeValue |
- openingHoursSpecification: | OpeningHoursSpecification |
- photo: | ImageObject | Photograph |
- photos: | ImageObject | Photograph |
- potentialAction: | Action |
- review: | Review |
- reviews: | Review |
- specialOpeningHoursSpecification: | OpeningHoursSpecification |
- subjectOf: | CreativeWork | Event |
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**](/content/schema_list/Accommodation "Accommodation Schema"/index.html) 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 entity, e.g. a product feature or another characteristic for which there is no matching property in schema.org.