{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/unece/UneceHeaderBalanceOut",
	"title": "UneceHeaderBalanceOut",
	"description": "Offset header information to ensure that debits and credits are equal for a transaction.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/unece/UneceContextType",
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "HeaderBalanceOut",
			"description": "JSON-LD Type."
		},
		"breakdownBalanceOut": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceHeaderBalanceOut"
			},
			"description": "A balance out breakdown of this header balance out."
		},
		"calculatedAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A monetary value calculated for this header balance out."
		},
		"description": {
			"type": "string",
			"description": "A textual description of this header balance out."
		},
		"identifier": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
				}
			],
			"description": "The identifier for this header balance out."
		},
		"occurrenceDateTime": {
			"type": "string",
			"description": "The date, time, date time, or other date time value of an occurrence of this header balance out.",
			"format": "date-time"
		},
		"reasonCode": {
			"type": "string",
			"description": "The code specifying the reason for this header balance out."
		},
		"reasonDescription": {
			"type": "string",
			"description": "A textual description of the reason for this header balance out."
		}
	},
	"required": ["type"]
}
