{
	"id": "Accommodation.json",
	"title": "Accommodation",
	"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.",
	"media": {"type": "application/json;profile=http://schema.org/Accommodation"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Place.json"}],
	"type": "object",
	"properties": {
		"accommodationCategory": {
			"oneOf": [
				{"$ref": "#/definitions/accommodationCategory"},
				{
					"type": "array",
					"items": {"$ref": "#/definitions/accommodationCategory"}
				}
			]
		},
		"amenityFeature": {"$ref": "LocationFeatureSpecification.json#/definitions/possibleRefArray"},
		"floorLevel": {"$ref": "#/definitions/floorLevel"},
		"floorSize": {"$ref": "QuantitativeValue.json#/definitions/possibleRef"},
		"leaseLength": {
			"oneOf": [
				{"$ref": "#/definitions/leaseLength"},
				{
					"type": "array",
					"items": {"$ref": "#/definitions/leaseLength"}
				}
			]
		},
		"numberOfBathroomsTotal": {"$ref": "#/definitions/numberOfBathroomsTotal"},
		"numberOfFullBathrooms": {
			"oneOf": [
				{"$ref": "#/definitions/numberOfFullBathrooms"},
				{
					"type": "array",
					"items": {"$ref": "#/definitions/numberOfFullBathrooms"}
				}
			]
		},
		"numberOfRooms": {"$ref": "#/definitions/numberOfRooms"},
		"permittedUsage": {
			"oneOf": [
				{"$ref": "#/definitions/permittedUsage"},
				{
					"type": "array",
					"items": {"$ref": "#/definitions/permittedUsage"}
				}
			]
		},
		"petsAllowed": {
			"oneOf": [
				{"$ref": "#/definitions/petsAllowed"},
				{
					"type": "array",
					"items": {"$ref": "#/definitions/petsAllowed"}
				}
			]
		}
	},
	"definitions": {
		"accommodationCategory": {
			"title": "Accommodation Category",
			"description": "Category of an Accommodation, following real estate conventions e.g. RESO (see PropertySubType, and PropertyType fields  for suggested values).",
			"type": "string"
		},
		"array": {
			"type": "array",
			"items": {"$ref": "#"}
		},
		"floorLevel": {
			"title": "Floor Level",
			"description": "The floor level for an Accommodation in a multi-storey building. Since counting\n  systems vary internationally, the local system should be used where possible.",
			"type": "string"
		},
		"leaseLength": {
			"title": "Lease Length",
			"description": "Length of the lease for some Accommodation, either particular to some Offer or in some cases intrinsic to the property.",
			"anyOf": [{"$ref": "Duration.json#/definitions/possibleRef"}, {"$ref": "QuantitativeValue.json#/definitions/possibleRef"}]
		},
		"numberOfBathroomsTotal": {
			"title": "Number of Bathrooms Total",
			"description": "The total integer number of bathrooms in a some Accommodation, following real estate conventions as documented in RESO: \"The simple sum of the number of bathrooms. For example for a property with two Full Bathrooms and one Half Bathroom, the Bathrooms Total Integer will be 3.\". See also numberOfRooms.",
			"type": "integer"
		},
		"numberOfFullBathrooms": {
			"title": "Number of Full Bathrooms",
			"description": "Number of full bathrooms - The total number of full and ¾ bathrooms in an Accommodation. This corresponds to the BathroomsFull field in RESO.",
			"type": "number"
		},
		"numberOfRooms": {
			"title": "Number of Rooms",
			"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": "QuantitativeValue.json#/definitions/possibleRef"}]
		},
		"permittedUsage": {
			"title": "Permitted Usage",
			"description": "Indications regarding the permitted usage of the accommodation.",
			"type": "string"
		},
		"petsAllowed": {
			"title": "Pets Allowed",
			"description": "Indicates whether pets are allowed to enter the accommodation or lodging business. More detailed information can be put in a text value.",
			"anyOf": [{"type": "string"}, {"type": "boolean"}]
		},
		"possibleRef": {
			"oneOf": [
				{"$ref": "#"},
				{
					"type": "string",
					"format": "uri",
					"links": [{
						"rel": "full",
						"href": "{+$}"
					}]
				}
			]
		},
		"possibleRefArray": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/possibleRef"}
				},
				{
					"type": "string",
					"format": "uri",
					"links": [{
						"rel": "full",
						"href": "{+$}"
					}]
				}
			]
		}
	}
}