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:

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

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

  1. address: | PostalAddress |
  2. hasMap: | Map |
  3. identifier: | PropertyValue |
  4. image: | ImageObject |
  5. keywords: | DefinedTerm |
  6. logo: | ImageObject |
  7. mainEntityOfPage: | CreativeWork |
  8. numberOfBedrooms: | QuantitativeValue |
  9. numberOfRooms: | QuantitativeValue |
  10. accommodationFloorPlan: | FloorPlan |
  11. additionalProperty: | PropertyValue |
  12. aggregateRating: | AggregateRating |
  13. amenityFeature: | LocationFeatureSpecification |
  14. containedIn: | Place |
  15. containedInPlace: | Place |
  16. containsPlace: | Place |
  17. events: | Event |
  18. event: | Event |
  19. floorSize: | QuantitativeValue |
  20. geoContains: | GeospatialGeometry | Place |
  21. geo: | GeoCoordinates | GeoShape |
  22. geoCoveredBy: | GeospatialGeometry | Place |
  23. geoCovers: | GeospatialGeometry | Place |
  24. geoCrosses: | GeospatialGeometry | Place |
  25. geoDisjoint: | GeospatialGeometry | Place |
  26. geoEquals: | GeospatialGeometry | Place |
  27. geoIntersects: | GeospatialGeometry | Place |
  28. geoOverlaps: | GeospatialGeometry | Place |
  29. geoTouches: | GeospatialGeometry | Place |
  30. geoWithin: | GeospatialGeometry | Place |
  31. leaseLength: | Duration | QuantitativeValue |
  32. openingHoursSpecification: | OpeningHoursSpecification |
  33. photo: | ImageObject | Photograph |
  34. photos: | ImageObject | Photograph |
  35. potentialAction: | Action |
  36. review: | Review |
  37. reviews: | Review |
  38. specialOpeningHoursSpecification: | OpeningHoursSpecification |
  39. 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: