{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/unece/UneceSupplyChainEvent",
	"title": "UneceSupplyChainEvent",
	"description": "A significant occurrence or happening in a supply chain.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/unece/UneceContextType",
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "SupplyChainEvent",
			"description": "JSON-LD Type."
		},
		"actualStatus": {
			"$ref": "https://schema.twindev.org/unece/UneceInspectionStatus",
			"description": "The actual inspection status of this supply chain event."
		},
		"associatedReference": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceSupplyChainReference"
			},
			"description": "A reference associated with this supply chain event."
		},
		"description": {
			"type": "string",
			"description": "A textual description of this supply chain event."
		},
		"descriptionBinaryObject": {
			"type": "string",
			"description": "Binary object data, such as a photograph, describing this supply chain event."
		},
		"discretePeriod": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceSpecifiedPeriod"
			},
			"description": "A discrete period specified for this supply chain event."
		},
		"dueDateTime": {
			"type": "string",
			"description": "The due date, time, date time, or other date time value of this supply chain event.",
			"format": "date-time"
		},
		"earliestOccurrenceDateTime": {
			"type": "string",
			"description": "The date, time, date time, or other date time value of the earliest occurrence of this supply chain event.",
			"format": "date-time"
		},
		"frequencyCode": {
			"type": "string",
			"description": "The code specifying a frequency for this supply chain event."
		},
		"identifier": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
				}
			],
			"description": "The unique identifier for this supply chain event."
		},
		"latestOccurrenceDateTime": {
			"type": "string",
			"description": "The date, time, date time, or other date time value of the latest occurrence of this supply chain event.",
			"format": "date-time"
		},
		"occurrenceDateTime": {
			"type": "string",
			"description": "A date, time, date time, or other date time value of an occurrence of this supply chain event.",
			"format": "date-time"
		},
		"occurrenceLocation": {
			"$ref": "https://schema.twindev.org/unece/UneceLocation",
			"description": "The referenced location for the occurrence of this supply chain event."
		},
		"occurrenceLogisticsLocation": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceLogisticsLocation"
			},
			"description": "A logistics location where this supply chain event occurs."
		},
		"occurrencePeriod": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceSpecifiedPeriod"
			},
			"description": "A specified period of time during which this supply chain event occurs."
		},
		"relatedSustainabilityCharacteristic": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceSustainabilityCharacteristic"
			},
			"description": "A sustainability characteristic related to this supply chain event."
		},
		"relatedTechnicalCharacteristic": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceTechnicalCharacteristic"
			},
			"description": "A technical characteristic related to this supply chain event."
		},
		"timeOccurrenceDateTime": {
			"type": "string",
			"description": "A time value of an occurrence of this supply chain event.",
			"format": "date-time"
		},
		"typeCode": {
			"anyOf": [
				{
					"$ref": "https://schema.twindev.org/unece/UneceSupplyChainEventTypeCodeList"
				},
				{
					"type": "string"
				}
			],
			"description": "A code specifying the type of supply chain event."
		},
		"unitQuantity": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceQuantityType"
			},
			"description": "A number of units for this supply chain event."
		}
	},
	"required": ["type"]
}
