{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/tm-forum/refs/heads/main/json-schema/tmf622-product-ordering-related-order-item-schema.json", "title": "RelatedOrderItem", "description": "RelatedOrderItem schema from TM Forum API", "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" } } }