JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Category_MVO",
"title": "Category_MVO",
"allOf": [
{
"$ref": "#/components/schemas/Entity_MVO"
},
{
"type": "object",
"description": "The category resource is used to group product offerings, service and resource candidates in logical containers. Categories can contain other categories and/or product offerings, resource or service candidates.",
"properties": {
"description": {
"type": "string",
"description": "Description of the category"
},
"isRoot": {
"type": "boolean",
"description": "If true, this Boolean indicates that the category is a root of categories"
},
"parent": {
"$ref": "#/components/schemas/CategoryRef_MVO"
},
"productOffering": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ProductOfferingRef_MVO"
},
"description": "List of product offerings that are referred to by the category"
},
"subCategory": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CategoryRef_MVO"
},
"description": "The category resource is used to group product offerings, service and resource candidates in logical containers. Categories can contain other (sub-)categories and/or product offerings."
},
"validFor": {
"$ref": "#/components/schemas/TimePeriod"
},
"version": {
"type": "string",
"description": "Category version"
},
"lifecycleStatus": {
"type": "string",
"description": "Used to indicate the current lifecycle status"
},
"name": {
"type": "string",
"description": "Name of the category"
}
}
}
],
"discriminator": {
"propertyName": "@type",
"mapping": {
"Category": "#/components/schemas/Category_MVO"
}
}
}