{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "schema:House", "title": "House", "description": "A house is a building or structure that has the ability to be occupied for habitation by humans or other creatures (source: Wikipedia, the free encyclopedia, see http://en.wikipedia.org/wiki/House).", "type": "object", "allOf": [ { "description": "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.\nFor more specific types of accommodations not defined in schema.org, one can use [[additionalType]] with external vocabularies.\n\nSee also the dedicated document on the use of schema.org for marking up hotels and other forms of accommodations.\n", "$ref": "schema:Accommodation" } ], "properties": { "numberOfRooms": { "description": "The number of rooms (excluding bathrooms and closets) of the accommodation or lodging business.\nTypical 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.", "anyOf": [{ "type": "number" }, { "$ref": "schema:QuantitativeValue" }] } } }