{
	"id": "Demand.json",
	"title": "Demand",
	"description": "A demand entity represents the public, not necessarily binding, not necessarily exclusive, announcement by an organization or person to seek a certain type of goods or services. For describing demand using this type, the very same properties used for Offer apply.",
	"media": {"type": "application/json;profile=http://schema.org/Demand"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Intangible.json"}],
	"type": "object",
	"properties": {
		"acceptedPaymentMethod": {"$ref": "#/definitions/acceptedPaymentMethod"},
		"advanceBookingRequirement": {"$ref": "QuantitativeValue.json#/definitions/possibleRef"},
		"areaServed": {"$ref": "#/definitions/areaServed"},
		"availability": {"$ref": "ItemAvailability.json#/definitions/possibleRef"},
		"availabilityEnds": {"$ref": "#/definitions/availabilityEnds"},
		"availabilityStarts": {"$ref": "#/definitions/availabilityStarts"},
		"availableAtOrFrom": {"$ref": "Place.json#/definitions/possibleRef"},
		"availableDeliveryMethod": {"$ref": "DeliveryMethod.json#/definitions/possibleRef"},
		"businessFunction": {"$ref": "BusinessFunction.json#/definitions/possibleRef"},
		"deliveryLeadTime": {"$ref": "QuantitativeValue.json#/definitions/possibleRef"},
		"eligibleCustomerType": {"$ref": "BusinessEntityType.json#/definitions/possibleRef"},
		"eligibleDuration": {"$ref": "QuantitativeValue.json#/definitions/possibleRef"},
		"eligibleQuantity": {"$ref": "QuantitativeValue.json#/definitions/possibleRef"},
		"eligibleRegion": {"$ref": "#/definitions/eligibleRegion"},
		"eligibleTransactionVolume": {"$ref": "PriceSpecification.json#/definitions/possibleRef"},
		"gtin": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/gtin"}
				},
				{"$ref": "#/definitions/gtin"}
			]
		},
		"gtin12": {"$ref": "#/definitions/gtin12"},
		"gtin13": {"$ref": "#/definitions/gtin13"},
		"gtin14": {"$ref": "#/definitions/gtin14"},
		"gtin8": {"$ref": "#/definitions/gtin8"},
		"includesObject": {"$ref": "TypeAndQuantityNode.json#/definitions/possibleRefArray"},
		"ineligibleRegion": {"$ref": "#/definitions/ineligibleRegion"},
		"inventoryLevel": {"$ref": "QuantitativeValue.json#/definitions/possibleRef"},
		"itemCondition": {"$ref": "OfferItemCondition.json#/definitions/possibleRefArray"},
		"itemOffered": {"$ref": "#/definitions/itemOffered"},
		"mpn": {"$ref": "#/definitions/mpn"},
		"priceSpecification": {"$ref": "PriceSpecification.json#/definitions/possibleRefArray"},
		"seller": {"$ref": "#/definitions/seller"},
		"serialNumber": {"$ref": "#/definitions/serialNumber"},
		"sku": {"$ref": "#/definitions/sku"},
		"validFrom": {"$ref": "#/definitions/validFrom"},
		"validThrough": {"$ref": "#/definitions/validThrough"},
		"warranty": {"$ref": "WarrantyPromise.json#/definitions/possibleRef"}
	},
	"definitions": {
		"acceptedPaymentMethod": {
			"title": "Accepted Payment Method",
			"description": "The payment method(s) accepted by seller for this offer.",
			"anyOf": [{"$ref": "PaymentMethod.json#/definitions/possibleRef"}, {"$ref": "LoanOrCredit.json#/definitions/possibleRef"}]
		},
		"areaServed": {
			"title": "Area Served",
			"description": "The geographic area where a service or offered item is provided. Supersedes serviceArea.",
			"anyOf": [{"type": "string"}, {"$ref": "GeoShape.json#/definitions/possibleRef"}, {"$ref": "AdministrativeArea.json#/definitions/possibleRef"}, {"$ref": "Place.json#/definitions/possibleRef"}]
		},
		"array": {
			"type": "array",
			"items": {"$ref": "#"}
		},
		"availabilityEnds": {
			"title": "Availability Ends",
			"description": "The end of the availability of the product or service included in the offer.",
			"anyOf": [
				{
					"type": "string",
					"format": "date"
				},
				{
					"type": "string",
					"format": "date-time"
				},
				{
					"type": "string",
					"format": "time"
				}
			]
		},
		"availabilityStarts": {
			"title": "Availability Starts",
			"description": "The beginning of the availability of the product or service included in the offer.",
			"anyOf": [
				{
					"type": "string",
					"format": "date"
				},
				{
					"type": "string",
					"format": "date-time"
				},
				{
					"type": "string",
					"format": "time"
				}
			]
		},
		"eligibleRegion": {
			"title": "Eligible Region",
			"description": "The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is valid.\n\nSee also ineligibleRegion.",
			"anyOf": [{"type": "string"}, {"$ref": "GeoShape.json#/definitions/possibleRef"}, {"$ref": "Place.json#/definitions/possibleRef"}]
		},
		"gtin": {
			"title": "Gtin",
			"description": "A Global Trade Item Number (GTIN). GTINs identify trade items, including products and services, using numeric identification codes. The gtin property generalizes the earlier gtin8, gtin12, gtin13, and gtin14 properties. The GS1 digital link specifications express GTINs as URLs. A correct gtin value should be a valid GTIN, which means that it should be an all-numeric string of either 8, 12, 13 or 14 digits, or a \"GS1 Digital Link\" URL based on such a string. The numeric component should also have a valid GS1 check digit and meet the other rules for valid GTINs. See also GS1's GTIN Summary and Wikipedia for more details. Left-padding of the gtin values is not required or encouraged.",
			"type": "string"
		},
		"gtin12": {
			"title": "Gtin12",
			"description": "The GTIN-12 code of the product, or the product to which the offer refers. The GTIN-12 is the 12-digit GS1 Identification Key composed of a U.P.C. Company Prefix, Item Reference, and Check Digit used to identify trade items. See GS1 GTIN Summary for more details.",
			"type": "string"
		},
		"gtin13": {
			"title": "Gtin13",
			"description": "The GTIN-13 code of the product, or the product to which the offer refers. This is equivalent to 13-digit ISBN codes and EAN UCC-13. Former 12-digit UPC codes can be converted into a GTIN-13 code by simply adding a preceeding zero. See GS1 GTIN Summary for more details.",
			"type": "string"
		},
		"gtin14": {
			"title": "Gtin14",
			"description": "The GTIN-14 code of the product, or the product to which the offer refers. See GS1 GTIN Summary for more details.",
			"type": "string"
		},
		"gtin8": {
			"title": "Gtin8",
			"description": "The GTIN-8 code of the product, or the product to which the offer refers. This code is also known as EAN/UCC-8 or 8-digit EAN. See GS1 GTIN Summary for more details.",
			"type": "string"
		},
		"ineligibleRegion": {
			"title": "Ineligible Region",
			"description": "The ISO 3166-1 (ISO 3166-1 alpha-2) or ISO 3166-2 code, the place, or the GeoShape for the geo-political region(s) for which the offer or delivery charge specification is not valid, e.g. a region where the transaction is not allowed.\n\nSee also eligibleRegion.",
			"anyOf": [{"type": "string"}, {"$ref": "GeoShape.json#/definitions/possibleRef"}, {"$ref": "Place.json#/definitions/possibleRef"}]
		},
		"itemOffered": {
			"title": "Item Offered",
			"description": "The item being offered.",
			"anyOf": [{"$ref": "Product.json#/definitions/possibleRef"}, {"$ref": "Service.json#/definitions/possibleRef"}]
		},
		"mpn": {
			"title": "Mpn",
			"description": "The Manufacturer Part Number (MPN) of the product, or the product to which the offer refers.",
			"type": "string"
		},
		"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": "{+$}"
					}]
				}
			]
		},
		"seller": {
			"title": "Seller",
			"description": "An entity which offers (sells / leases / lends / loans) the services / goods.  A seller may also be a provider. Supersedes merchant, vendor.",
			"anyOf": [{"$ref": "Organization.json#/definitions/possibleRef"}, {"$ref": "Person.json#/definitions/possibleRef"}]
		},
		"serialNumber": {
			"title": "Serial Number",
			"description": "The serial number or any alphanumeric identifier of a particular product. When attached to an offer, it is a shortcut for the serial number of the product included in the offer.",
			"type": "string"
		},
		"sku": {
			"title": "Sku",
			"description": "The Stock Keeping Unit (SKU), i.e. a merchant-specific identifier for a product or service, or the product to which the offer refers.",
			"type": "string"
		},
		"validFrom": {
			"title": "Valid From",
			"description": "The date when the item becomes valid.",
			"anyOf": [
				{
					"type": "string",
					"format": "date"
				},
				{
					"type": "string",
					"format": "date-time"
				}
			]
		},
		"validThrough": {
			"title": "Valid Through",
			"description": "The date after when the item is not valid. For example the end of an offer, salary period, or a period of opening hours.",
			"anyOf": [
				{
					"type": "string",
					"format": "date"
				},
				{
					"type": "string",
					"format": "date-time"
				}
			]
		}
	}
}