Note: You are viewing the development version of Schema.org. See how we work for more details.

occupancy

A Schema.org Property
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). Typical unit code(s): C62 for person.

Values expected to be one of these types

Used on these types

Acknowledgements

STI Accommodation Ontology
This element is based on the STI Accommodation Ontology, see http://ontologies.sti-innsbruck.at/acco/ns.html for details. Many class and property definitions are inspired by or based on abstracts from Wikipedia, the free encyclopedia.

Examples

Example 1
Copied
Example notes or example HTML without markup.
  1. Apartment example with min and max occupancy limits and floor size of 81 square meters(JSON-LD only).
Example encoded as JSON-LD in a HTML script tag.
  1. <script type="application/ld+json">
  2.     {
  3.         "@context": "https://schema.org",
  4.         "@type": "Apartment",
  5.         "name": "227  Lynn Street - Medium apartment",
  6.         "description": "Great downtown accommodation for family or group of friends.",
  7.         "numberOfRooms": 3,
  8.         "occupancy": {
  9.             "@type": "QuantitativeValue",
  10.             "minValue": 1,
  11.             "maxValue": 4
  12.         },
  13.         "floorLevel": "5",
  14.         "floorSize": {
  15.             "@type": "QuantitativeValue",
  16.             "value": 81,
  17.             "unitCode": "MTK"
  18.         },
  19.         "numberOfBathroomsTotal": 2,
  20.         "numberOfBedrooms": 2,
  21.         "petsAllowed": true,
  22.         "tourBookingPage": "http://example.com",
  23.         "yearBuilt": 2005,
  24.         "telephone": "+1-617-312-9783",
  25.         "address": {
  26.             "@type": "PostalAddress",
  27.             "addressCountry": "US",
  28.             "addressLocality": "West Roxbury",
  29.             "addressRegion": "MA",
  30.             "postalCode": "02132",
  31.             "streetAddress": "227  Lynn Street"
  32.         },
  33.         "latitude": 42.2742,
  34.         "longitude": -71.1430
  35.     }
  36. </script>
Structured representation of the JSON-LD example.
Example 2
Copied
Example notes or example HTML without markup.
  1. Single family residence example with min and max occupancy limits, floor size of 2500 square foots and lease length of 6 months(JSON-LD only).
Example encoded as JSON-LD in a HTML script tag.
  1. <script type="application/ld+json">
  2.     {
  3.         "@context": "https://schema.org",
  4.         "@type": "SingleFamilyResidence",
  5.         "name": "1331 St George Street - Family House",
  6.         "description": "Great opportunity to own this 2500 sqft originally built in 1988 family home with 4 bedroom, 3 bathroom. which was RENOVATED IN 2014:( New Windows, New Bathroom, New Hardwood Floors, Air Condition, New Kitchen, etc.)",
  7.         "numberOfRooms": 5,
  8.         "occupancy": {
  9.             "@type": "QuantitativeValue",
  10.             "minValue": 1,
  11.             "maxValue": 5
  12.         },
  13.         "floorSize": {
  14.             "@type": "QuantitativeValue",
  15.             "value": 2500,
  16.             "unitCode": "FTK"
  17.         },
  18.         "leaseLength": {
  19.             "@type": "QuantitativeValue",
  20.             "value": 6,
  21.             "unitText": "months"
  22.         },
  23.         "numberOfBathroomsTotal": 3,
  24.         "numberOfBedrooms": 4,
  25.         "permittedUsage": "Perfectly suitable for a family with two kids.",
  26.         "petsAllowed": "Only cats are allowed",
  27.         "yearBuilt": 1988,
  28.         "address": {
  29.             "@type": "PostalAddress",
  30.             "addressCountry": "CA",
  31.             "addressLocality": "Vancouver",
  32.             "addressRegion": "British Columbia",
  33.             "postalCode": "V5T 1Z7",
  34.             "streetAddress": "1331 St George Street"
  35.         },
  36.         "telephone": "+1-604-829-6070"
  37.     }
  38. </script>
Structured representation of the JSON-LD example.