{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/unece/UneceAccountingAccount",
	"title": "UneceAccountingAccount",
	"description": "A specific trade account for recording debits and credits to general accounting, cost accounting or budget accounting.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/unece/UneceContextType",
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "AccountingAccount",
			"description": "JSON-LD Type."
		},
		"abbreviatedName": {
			"type": "string",
			"description": "The abbreviated name, expressed as text, of this trade accounting account."
		},
		"accountingAccountTypeCode": {
			"$ref": "https://schema.twindev.org/unece/UneceAccountingAccountTypeCodeList",
			"description": "The code specifying the type of trade accounting account, such as general (main), secondary, cost accounting or budget\naccount."
		},
		"accountingAmountTypeAmountTypeCode": {
			"$ref": "https://schema.twindev.org/unece/UneceAccountingAmountTypeCodeList",
			"description": "The code specifying the amount type for this trade accounting account."
		},
		"accountingDocumentSetTriggerCode": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAccountingDocumentCodeList"
			},
			"description": "A code specifying a set trigger for this trade accounting account to be used in response to a specific event or a set of\nevents."
		},
		"costReferenceDimensionPattern": {
			"type": "string",
			"description": "The cost reference dimension pattern, expressed as text, for this trade accounting account."
		},
		"identifier": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
				}
			],
			"description": "The unique identifier for this trade accounting account."
		},
		"mainAccountsChartId": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
				}
			],
			"description": "The unique identifier of the main accounts chart for this trade accounting account."
		},
		"mainAccountsChartReferenceId": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
				}
			],
			"description": "The unique identifier of the main accounts chart reference for this trade accounting account."
		},
		"name": {
			"type": "string",
			"description": "The name, expressed as text, of this trade accounting account."
		},
		"subAccountId": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
				}
			],
			"description": "The unique identifier of the sub account for this trade accounting account."
		}
	},
	"required": ["type"]
}
