{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/unece/UneceWorkflowObject",
	"title": "UneceWorkflowObject",
	"description": "An object used in the management of the status changes in a business process.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/unece/UneceContextType",
			"description": "JSON-LD Context."
		},
		"type": {
			"const": "WorkflowObject",
			"description": "JSON-LD Type."
		},
		"identifier": {
			"anyOf": [
				{
					"type": "string"
				},
				{
					"$ref": "https://schema.twindev.org/json-ld/JsonLdValueObject"
				}
			],
			"description": "The identifier of this trade workflow object."
		},
		"previousStatusCode": {
			"$ref": "https://schema.twindev.org/unece/UneceWorkflowStatusCodeList",
			"description": "The code specifying the previous status of this trade workflow object."
		},
		"workflowStatusCode": {
			"$ref": "https://schema.twindev.org/unece/UneceWorkflowStatusCodeList",
			"description": "The code specifying the status of this trade workflow object."
		}
	},
	"required": ["type", "identifier", "workflowStatusCode"]
}
