Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numberOfRooms not a property for Type Hotel #2184

RichardWallis opened this issue Mar 28, 2019 · 2 comments


None yet
2 participants
Copy link

commented Mar 28, 2019

Whilst checking examples it was identified that the numberOfRooms property does not have Hotel, or one of its super-types, in its domainIncludes.

As per the examples numberOfRooms makes sense as a property for Hotel. The assumption being that this is an oversight.

There is more than one way to solve this:

  1. Add Hotel to the domainIncludes of numberOfRooms

  2. Add LodgingBusiness to the domainIncludes of numberOfRooms. This may solve the same issue for other LodgingBusiness subtypes.

  3. Add Accommodation as a further super-type of Hotel.

/cc @mfhepp


This comment has been minimized.

Copy link

commented Mar 29, 2019

Thinking about this extensibly, numberOfRooms could also be a property of a house for sale. If that were ever a use case to support, wouldn't want it limited to rental-oriented entities.


This comment has been minimized.

Copy link
Contributor Author

commented Mar 29, 2019

House & Apartment are subtypes of Accommodation which numberOfRooms has in its rangeIncludes. So for a house/apartment for sale scenario it is already there.

RichardWallis added a commit that referenced this issue Apr 10, 2019

danbri added a commit that referenced this issue Apr 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.