{
	"id": "LodgingBusiness.json",
	"title": "Lodging Business",
	"description": "A lodging business, such as a motel, hotel, or inn.",
	"media": {"type": "application/json;profile=http://schema.org/LodgingBusiness"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Organization.json"}, {"$ref": "LocalBusiness.json"}, {"$ref": "Place.json"}],
	"type": "object",
	"properties": {
		"amenityFeature": {"$ref": "LocationFeatureSpecification.json#/definitions/possibleRefArray"},
		"audience": {"$ref": "Audience.json#/definitions/possibleRef"},
		"availableLanguage": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/availableLanguage"}
				},
				{"$ref": "#/definitions/availableLanguage"}
			]
		},
		"checkinTime": {"$ref": "#/definitions/checkinTime"},
		"checkoutTime": {"$ref": "#/definitions/checkoutTime"},
		"numberOfRooms": {"$ref": "#/definitions/numberOfRooms"},
		"petsAllowed": {
			"oneOf": [
				{"$ref": "#/definitions/petsAllowed"},
				{
					"type": "array",
					"items": {"$ref": "#/definitions/petsAllowed"}
				}
			]
		},
		"starRating": {"$ref": "Rating.json#/definitions/possibleRefArray"}
	},
	"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": "{+$}"
					}]
				}
			]
		},
		"availableLanguage": {
			"title": "Available Language",
			"description": "A language someone may use with or at the item, service or place. Please use one of the language codes from the IETF BCP 47 standard. See also inLanguage",
			"anyOf": [{"type": "string"}, {"$ref": "Language.json#/definitions/possibleRef"}]
		},
		"checkinTime": {
			"title": "Checkin Time",
			"description": "The earliest someone may check into a lodging establishment.",
			"anyOf": [
				{
					"type": "string",
					"format": "time"
				},
				{
					"type": "string",
					"format": "date-time"
				}
			]
		},
		"checkoutTime": {
			"title": "Checkout Time",
			"description": "The latest someone may check out of a lodging establishment.",
			"anyOf": [
				{
					"type": "string",
					"format": "time"
				},
				{
					"type": "string",
					"format": "date-time"
				}
			]
		},
		"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"}]
		},
		"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"}]
		}
	}
}