JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/RelatedOrderItem_MVO",
"title": "RelatedOrderItem_MVO",
"allOf": [
{
"$ref": "#/components/schemas/Extensible"
},
{
"type": "object",
"description": "It's a Order item that has been executed previously.",
"properties": {
"orderItemAction": {
"$ref": "#/components/schemas/ItemActionType"
},
"orderHref": {
"type": "string",
"description": "Reference of the related entity."
},
"@referredType": {
"type": "string",
"description": "The actual type of the target instance when needed for disambiguation."
},
"role": {
"type": "string",
"description": "Role played by the Order"
},
"orderId": {
"type": "string",
"description": "Unique identifier of a related Order."
},
"orderItemId": {
"type": "string",
"description": "Id of an item of a prduct order"
}
}
}
],
"discriminator": {
"propertyName": "@type",
"mapping": {
"RelatedOrderItem": "#/components/schemas/RelatedOrderItem_MVO"
}
}
}