{
	"id": "Ticket.json",
	"title": "Ticket",
	"description": "Used to describe a ticket to an event, a flight, a bus ride, etc.",
	"media": {"type": "application/json;profile=http://schema.org/Ticket"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Intangible.json"}],
	"type": "object",
	"properties": {
		"dateIssued": {"$ref": "#/definitions/dateIssued"},
		"issuedBy": {"$ref": "Organization.json#/definitions/possibleRef"},
		"priceCurrency": {"$ref": "#/definitions/priceCurrency"},
		"ticketNumber": {"$ref": "#/definitions/ticketNumber"},
		"ticketToken": {
			"oneOf": [
				{"$ref": "#/definitions/ticketToken"},
				{
					"type": "array",
					"items": {"$ref": "#/definitions/ticketToken"}
				}
			]
		},
		"ticketedSeat": {"$ref": "Seat.json#/definitions/possibleRef"},
		"totalPrice": {"$ref": "#/definitions/totalPrice"},
		"underName": {"$ref": "#/definitions/underName"}
	},
	"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": "{+$}"
					}]
				}
			]
		},
		"dateIssued": {
			"title": "Date Issued",
			"description": "The date the ticket was issued.",
			"anyOf": [
				{
					"type": "string",
					"format": "date"
				},
				{
					"type": "string",
					"format": "date-time"
				}
			]
		},
		"priceCurrency": {
			"title": "Price Currency",
			"description": "The currency of the price, or a price component when attached to PriceSpecification and its subtypes.\n\nUse standard formats: ISO 4217 currency format e.g. \"USD\"; Ticker symbol for cryptocurrencies e.g. \"BTC\"; well known names for Local Exchange Tradings Systems (LETS) and other currency types e.g. \"Ithaca HOUR\".",
			"type": "string"
		},
		"ticketNumber": {
			"title": "Ticket Number",
			"description": "The unique identifier for the ticket.",
			"type": "string"
		},
		"ticketToken": {
			"title": "Ticket Token",
			"description": "Reference to an asset (e.g., Barcode, QR code image or PDF) usable for entrance.",
			"anyOf": [
				{"type": "string"},
				{
					"type": "string",
					"format": "uri"
				}
			]
		},
		"totalPrice": {
			"title": "Total Price",
			"description": "The total price for the reservation or ticket, including applicable taxes, shipping, etc.\n\nUsage guidelines:\n\n\nUse values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similiar Unicode symbols.\nUse '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.",
			"anyOf": [{"type": "string"}, {"$ref": "PriceSpecification.json#/definitions/possibleRef"}, {"type": "number"}]
		},
		"underName": {
			"title": "Under Name",
			"description": "The person or organization the reservation or ticket is for.",
			"anyOf": [{"$ref": "Organization.json#/definitions/possibleRef"}, {"$ref": "Person.json#/definitions/possibleRef"}]
		}
	}
}