{
	"id": "LodgingReservation.json",
	"title": "Lodging Reservation",
	"description": "A reservation for lodging at a hotel, motel, inn, etc.\n\nNote: This type is for information about actual reservations, e.g. in confirmation emails or HTML pages with individual confirmations of reservations.",
	"media": {"type": "application/json;profile=http://schema.org/LodgingReservation"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Intangible.json"}, {"$ref": "Reservation.json"}],
	"type": "object",
	"properties": {
		"checkinTime": {"$ref": "#/definitions/checkinTime"},
		"checkoutTime": {"$ref": "#/definitions/checkoutTime"},
		"lodgingUnitDescription": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/lodgingUnitDescription"}
				},
				{"$ref": "#/definitions/lodgingUnitDescription"}
			]
		},
		"lodgingUnitType": {
			"oneOf": [
				{"$ref": "#/definitions/lodgingUnitType"},
				{
					"type": "array",
					"items": {"$ref": "#/definitions/lodgingUnitType"}
				}
			]
		},
		"numAdults": {"$ref": "#/definitions/numAdults"},
		"numChildren": {"$ref": "#/definitions/numChildren"}
	},
	"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": "{+$}"
					}]
				}
			]
		},
		"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"
				}
			]
		},
		"lodgingUnitDescription": {
			"title": "Lodging Unit Description",
			"description": "A full description of the lodging unit.",
			"type": "string"
		},
		"lodgingUnitType": {
			"title": "Lodging Unit Type",
			"description": "Textual description of the unit type (including suite vs. room, size of bed, etc.).",
			"anyOf": [{"$ref": "QualitativeValue.json#/definitions/possibleRef"}, {"type": "string"}]
		},
		"numAdults": {
			"title": "Num Adults",
			"description": "The number of adults staying in the unit.",
			"anyOf": [{"type": "integer"}, {"$ref": "QuantitativeValue.json#/definitions/possibleRef"}]
		},
		"numChildren": {
			"title": "Num Children",
			"description": "The number of children staying in the unit.",
			"anyOf": [{"type": "integer"}, {"$ref": "QuantitativeValue.json#/definitions/possibleRef"}]
		}
	}
}