{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/unece/UneceDocumentCharacteristic",
	"title": "UneceDocumentCharacteristic",
	"description": "A prominent attribute or aspect of a document.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/unece/UneceContextType",
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "DocumentCharacteristic",
			"description": "JSON-LD Type."
		},
		"description": {
			"type": "string",
			"description": "A textual description of this document characteristic."
		},
		"documentCharacteristicValueCode": {
			"type": "string",
			"description": "A code specifying a value of this document characteristic."
		},
		"identifier": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
				}
			],
			"description": "An identifier for this document characteristic."
		},
		"location": {
			"type": "string",
			"description": "A location, expressed as text, for this document characteristic."
		},
		"name": {
			"type": "string",
			"description": "A name, expressed as text, for this document characteristic."
		},
		"typeCode": {
			"anyOf": [
				{
					"$ref": "https://schema.twindev.org/unece/UneceDocumentCharacteristicTypeCodeList"
				},
				{
					"type": "string"
				}
			],
			"description": "A code specifying a type of document characteristic."
		},
		"value": {
			"type": "string",
			"description": "A value, expressed as text, for this document characteristic."
		},
		"valueAdjustmentDirectionCode": {
			"type": "string",
			"description": "The code specifying the adjustment direction for value of this document characteristic."
		},
		"valueAmount": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceAmountType"
			},
			"description": "A value, expressed as a monetary value, for this document characteristic."
		},
		"valueChangedIndicator": {
			"type": "boolean",
			"description": "The indication of whether or not the value of this document characteristic is changed."
		},
		"valueDateTime": {
			"type": "string",
			"description": "A date, time, date time or other date time value for this document characteristic.",
			"format": "date-time"
		},
		"valueMeasure": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceMeasureType"
			},
			"description": "A measure of a value for this document characteristic."
		},
		"valueNumeric": {
			"type": "string",
			"description": "A value, expressed as a number, for this document characteristic."
		},
		"valuePercent": {
			"type": "string",
			"description": "A value, expressed as a percentage, for this document characteristic."
		},
		"valueQuantity": {
			"type": "array",
			"items": {
				"$ref": "https://schema.twindev.org/unece/UneceQuantityType"
			},
			"description": "A value, expressed as a quantity, for this document characteristic."
		}
	},
	"required": ["type"]
}
