{
	"id": "UnitPriceSpecification.json",
	"title": "Unit Price Specification",
	"description": "The price asked for a given offer by the respective organization or person.",
	"media": {"type": "application/json;profile=http://schema.org/UnitPriceSpecification"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Intangible.json"}, {"$ref": "StructuredValue.json"}, {"$ref": "PriceSpecification.json"}],
	"type": "object",
	"properties": {
		"billingIncrement": {"$ref": "#/definitions/billingIncrement"},
		"priceType": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/priceType"}
				},
				{"$ref": "#/definitions/priceType"}
			]
		},
		"referenceQuantity": {"$ref": "QuantitativeValue.json#/definitions/possibleRef"},
		"unitCode": {"$ref": "#/definitions/unitCode"},
		"unitText": {
			"oneOf": [
				{
					"type": "array",
					"items": {"$ref": "#/definitions/unitText"}
				},
				{"$ref": "#/definitions/unitText"}
			]
		}
	},
	"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": "{+$}"
					}]
				}
			]
		},
		"billingIncrement": {
			"title": "Billing Increment",
			"description": "This property specifies the minimal quantity and rounding increment that will be the basis for the billing. The unit of measurement is specified by the unitCode property.",
			"type": "number"
		},
		"priceType": {
			"title": "Price Type",
			"description": "A short text or acronym indicating multiple price specifications for the same offer, e.g. SRP for the suggested retail price or INVOICE for the invoice price, mostly used in the car industry.",
			"type": "string"
		},
		"unitCode": {
			"title": "Unit Code",
			"description": "The unit of measurement given using the UN/CEFACT Common Code (3 characters) or a URL. Other codes than the UN/CEFACT Common Code may be used with a prefix followed by a colon.",
			"anyOf": [
				{
					"type": "string",
					"format": "uri"
				},
				{"type": "string"}
			]
		},
		"unitText": {
			"title": "Unit Text",
			"description": "A string or text indicating the unit of measurement. Useful if you cannot provide a standard unit code for\nunitCode.",
			"type": "string"
		}
	}
}