{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/unece/UneceCropProduceBatch",
	"title": "UneceCropProduceBatch",
	"description": "A group of crop produce considered or dealt with together.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/unece/UneceContextType",
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "CropProduceBatch",
			"description": "JSON-LD Type."
		},
		"appliedTreatment": {
			"type": "string",
			"description": "A treatment, expressed as text, applied to this crop produce batch."
		},
		"breakUpDateTime": {
			"type": "string",
			"description": "The date, time, date time, or other date time value of the break up of this crop produce batch.",
			"format": "date-time"
		},
		"creationDateTime": {
			"type": "string",
			"description": "The date, time, date time, or other date time value of the creation of this crop produce batch.",
			"format": "date-time"
		},
		"identifier": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
				}
			],
			"description": "The identifier for this crop produce batch."
		},
		"nominalSizeNumeric": {
			"type": "string",
			"description": "The value of the nominal size for this crop produce batch."
		},
		"productName": {
			"type": "string",
			"description": "The product name, expressed as text, for this crop produce batch."
		},
		"sizeMeasure": {
			"$ref": "https://schema.twindev.org/unece/UneceMeasureType",
			"description": "The size, expressed as a measure, for this crop produce batch."
		},
		"specifiedAgriculturalCertificate": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAgriculturalCertificate"
			},
			"description": "An agricultural certificate specified for this crop produce batch."
		},
		"specifiedAgriculturalCharacteristic": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAgriculturalCharacteristic"
			},
			"description": "An agricultural characteristic specified for this crop produce batch."
		},
		"specifiedProduce": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceProduce"
			},
			"description": "A crop produce specified for this crop produce batch."
		},
		"specifiedQuantity": {
			"$ref": "https://schema.twindev.org/unece/UneceQuantityType",
			"description": "The quantity specified for this crop produce batch."
		},
		"typeCode": {
			"anyOf": [
				{
					"$ref": "https://schema.twindev.org/unece/UneceCropProduceBatchTypeCodeList"
				},
				{
					"type": "string"
				}
			],
			"description": "The code specifying the type of crop produce batch."
		},
		"unitQuantity": {
			"$ref": "https://schema.twindev.org/unece/UneceQuantityType",
			"description": "The number of units, expressed as a quantity, for this crop produce batch."
		}
	},
	"required": ["type"]
}
