{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "schema:HotelRoom",
  "title": "HotelRoom",
  "description": "A hotel room is a single room in a hotel.\n\nSee also the dedicated document on the use of schema.org for marking up hotels and other forms of accommodations.\n",
  "type": "object",
  "allOf": [
    {
      "description": "A room is a distinguishable space within a structure, usually separated from other spaces by interior walls (source: Wikipedia, the free encyclopedia, see http://en.wikipedia.org/wiki/Room).\n\nSee also the dedicated document on the use of schema.org for marking up hotels and other forms of accommodations.\n",
      "$ref": "schema:Room"
    }
  ],
  "properties": {
    "bed": {
      "description": "The type of bed or beds included in the accommodation. For the single case of just one bed of a certain type, you use bed directly with a text.\n      If you want to indicate the quantity of a certain kind of bed, use an instance of BedDetails. For more detailed information, use the amenityFeature property.",
      "anyOf": [
        { "type": "string" },
        { "$ref": "schema:BedDetails" },
        { "$ref": "schema:BedType" }
      ]
    },
    "occupancy": {
      "description": "The allowed total occupancy for the accommodation in persons (including infants etc). For individual accommodations, this is not necessarily the legal maximum but defines the permitted usage as per the contractual agreement (e.g. a double room used by a single person).\nTypical unit code(s): C62 for person.",
      "$ref": "schema:QuantitativeValue"
    }
  }
}
