{
	"id": "RealEstateListing.json",
	"title": "Real Estate Listing",
	"description": "A RealEstateListing is a listing that describes one or more real-estate Offers (whose businessFunction is typically to lease out, or to sell).\n  The RealEstateListing type itself represents the overall listing, as manifested in some WebPage.",
	"media": {"type": "application/json;profile=http://schema.org/RealEstateListing"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "CreativeWork.json"}, {"$ref": "WebPage.json"}],
	"type": "object",
	"properties": {
		"leaseLength": {
			"oneOf": [
				{"$ref": "#/definitions/leaseLength"},
				{
					"type": "array",
					"items": {"$ref": "#/definitions/leaseLength"}
				}
			]
		}
	},
	"definitions": {
		"array": {
			"type": "array",
			"items": {"$ref": "#"}
		},
		"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": "{+$}"
					}]
				}
			]
		},
		"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"}]
		}
	}
}