org.schema.SingleFamilyResidence Maven / Gradle / Ivy
package org.schema;
/**
* Schema.org/SingleFamilyResidence
* Residence type: Single-family home.
*
* @author schema.org
* @class SingleFamilyResidence
* @module org.schema
* @extends House
*/
public class SingleFamilyResidence extends House {
/**
* Schema.org/occupancy
* 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
*
* @property occupancy
* @type QuantitativeValue
*/
public QuantitativeValue occupancy;
/**
* Schema.org/numberOfRooms
* The number of rooms (excluding bathrooms and closets) of the acccommodation or lodging business.
* Typical 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.
*
* @property numberOfRooms
* @type Number
*/
public Double numberOfRooms;
/**
* Constructor, automatically sets @context and @type.
*
* @constructor
*/
public SingleFamilyResidence() {
context = "http://schema.org/";
type = "SingleFamilyResidence";
}
}