{
	"id": "TypeAndQuantityNode.json",
	"title": "Type And Quantity Node",
	"description": "A structured value indicating the quantity, unit of measurement, and business function of goods included in a bundle offer.",
	"media": {"type": "application/json;profile=http://schema.org/TypeAndQuantityNode"},
	"allOf": [{"$ref": "Thing.json"}, {"$ref": "Intangible.json"}, {"$ref": "StructuredValue.json"}],
	"type": "object",
	"properties": {
		"amountOfThisGood": {"$ref": "#/definitions/amountOfThisGood"},
		"businessFunction": {"$ref": "BusinessFunction.json#/definitions/possibleRef"},
		"typeOfGood": {"$ref": "#/definitions/typeOfGood"},
		"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": "{+$}"
					}]
				}
			]
		},
		"amountOfThisGood": {
			"title": "Amount of This Good",
			"description": "The quantity of the goods included in the offer.",
			"type": "number"
		},
		"typeOfGood": {
			"title": "Type of Good",
			"description": "The product that this structured value is referring to.",
			"anyOf": [{"$ref": "Product.json#/definitions/possibleRef"}, {"$ref": "Service.json#/definitions/possibleRef"}]
		},
		"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"
		}
	}
}