{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/unece/UneceCalculatedPrice",
	"title": "UneceCalculatedPrice",
	"description": "Information related to a calculated price.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/unece/UneceContextType",
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "CalculatedPrice",
			"description": "JSON-LD Type."
		},
		"calculatedPriceTypeCode": {
			"type": "string",
			"description": "A code specifying the type of calculated price."
		},
		"chargeAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value of the calculated price to be charged."
		},
		"relatedAllowanceCharge": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAppliedAllowanceCharge"
			},
			"description": "Applied allowance charge information related to this calculated price."
		}
	},
	"required": ["type"]
}
