{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/unece/UneceDeliveryTerms",
	"title": "UneceDeliveryTerms",
	"description": "Conditions agreed upon between the parties with regard to the delivery of goods and or services for trade purposes.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/unece/UneceContextType",
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "DeliveryTerms",
			"description": "JSON-LD Type."
		},
		"declarationCountryRelationshipCode": {
			"type": "string",
			"description": "The code specifying whether the place specified by these trade delivery terms is located in the country where a\ndeclaration is made, in another member country of the same economic or customs union, or in a third country."
		},
		"deliveryDiscontinuationCode": {
			"type": "string",
			"description": "The code specifying the delivery discontinuation for this trade delivery terms."
		},
		"deliveryTermsDeliveryTypeCode": {
			"$ref": "https://schema.twindev.org/unece/UneceDeliveryTermsCodeList",
			"description": "The code specifying the type of delivery for these trade delivery terms."
		},
		"deliveryTermsFunctionCode": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceDeliveryTermsFunctionCodeList"
			},
			"description": "A code specifying a function of these trade delivery terms."
		},
		"description": {
			"type": "string",
			"description": "A textual description of these trade delivery terms."
		},
		"partialDeliveryAllowedIndicator": {
			"type": "boolean",
			"description": "The indication of whether or not these trade delivery terms allow a partial delivery."
		},
		"relevantLocation": {
			"$ref": "https://schema.twindev.org/unece/UneceTradeLocation",
			"description": "The trade location relevant for these trade delivery terms."
		},
		"riskResponsibilityCode": {
			"type": "string",
			"description": "A code specifying the risk responsibility for these trade delivery terms."
		}
	},
	"required": ["type"]
}
