{
	"id": "Offer.json",
	"title": "Offer",
	"description": "An offer to transfer some rights to an item or to provide a service — for example, an offer to sell tickets to an event, to rent the DVD of a movie, to stream a TV show over the internet, to repair a motorcycle, or to loan a book.\n\nFor GTIN-related fields, see Check Digit calculator and validation guide from GS1.",
	"media": {"type": "application/json;profile=http://schema.org/Offer"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Intangible.json"}],
	"type": "object",
	"properties": {
		"acceptedPaymentMethod": {"$ref": "#/definitions/acceptedPaymentMethod"},
		"addOn": {"$ref": "Offer.json#/definitions/possibleRefArray"},
		"advanceBookingRequirement": {"$ref": "QuantitativeValue.json#/definitions/possibleRef"},
		"aggregateRating": {"$ref": "AggregateRating.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"},
		"category": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/category"}
				},
				{"$ref": "#/definitions/category"}
			]
		},
		"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"},
		"offeredBy": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/offeredBy"}
				},
				{"$ref": "#/definitions/offeredBy"}
			]
		},
		"price": {"$ref": "#/definitions/price"},
		"priceCurrency": {"$ref": "#/definitions/priceCurrency"},
		"priceSpecification": {"$ref": "PriceSpecification.json#/definitions/possibleRefArray"},
		"priceValidUntil": {"$ref": "#/definitions/priceValidUntil"},
		"review": {"$ref": "Review.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"
				}
			]
		},
		"category": {
			"title": "Category",
			"description": "A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.",
			"anyOf": [{"type": "string"}, {"$ref": "PhysicalActivityCategory.json#/definitions/possibleRef"}, {"$ref": "Thing.json#/definitions/possibleRef"}]
		},
		"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"
		},
		"offeredBy": {
			"title": "Offered by",
			"description": "A pointer to the organization or person making the offer. Inverse property: makesOffer.",
			"anyOf": [{"$ref": "Organization.json#/definitions/possibleRef"}, {"$ref": "Person.json#/definitions/possibleRef"}]
		},
		"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": "{+$}"
					}]
				}
			]
		},
		"price": {
			"title": "Price",
			"description": "The offer price of a product, or of a price component when attached to PriceSpecification and its subtypes.\n\nUsage guidelines:\n\n\nUse the priceCurrency property (with 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\") instead of including ambiguous symbols such as '$' in the value.\nUse '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.\nNote that both RDFa and Microdata syntax allow the use of a \"content=\" attribute for publishing simple machine-readable values alongside more human-friendly formatting.\nUse values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similiar Unicode symbols.",
			"anyOf": [{"type": "string"}, {"type": "number"}]
		},
		"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"
		},
		"priceValidUntil": {
			"title": "Price Valid Until",
			"description": "The date after which the price is no longer available.",
			"type": "string",
			"format": "date"
		},
		"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"
				}
			]
		}
	}
}