{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolCatalogError",
	"title": "DataspaceProtocolCatalogError",
	"description": "Interface for the Dataspace Protocol catalog error response.",
	"type": "object",
	"properties": {
		"@context": {
			"$ref": "https://schema.twindev.org/dataspace-protocol/DataspaceProtocolContextType",
			"description": "The JSON-LD context."
		},
		"@type": {
			"const": "CatalogError",
			"description": "The type of the message."
		},
		"code": {
			"type": "string",
			"description": "The error code."
		},
		"reason": {
			"type": "array",
			"items": {},
			"description": "The error reason(s)."
		}
	},
	"required": ["@context", "@type", "code"]
}
