JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CancelProductOrder_MVO",
"title": "CancelProductOrder_MVO",
"allOf": [
{
"$ref": "#/components/schemas/Entity_MVO"
},
{
"type": "object",
"description": "Request for cancellation an existing product order",
"properties": {
"productOrder": {
"$ref": "#/components/schemas/ProductOrderRef"
},
"creationDate": {
"type": "string",
"format": "date-time",
"description": "Date and time when the CancelProductOrder was created"
},
"requestedCancellationDate": {
"type": "string",
"format": "date-time",
"description": "Date when the submitter wants the order to be cancelled"
},
"cancellationReason": {
"type": "string",
"description": "Reason why the order is cancelled."
},
"state": {
"$ref": "#/components/schemas/TaskStateType"
},
"effectiveCancellationDate": {
"type": "string",
"format": "date-time",
"description": "Date when the order is cancelled."
}
},
"required": [
"state",
"productOrder"
]
}
],
"discriminator": {
"propertyName": "@type",
"mapping": {
"CancelProductOrder": "#/components/schemas/CancelProductOrder_MVO"
}
}
}