{ "$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-order-item-relationship-schema.json", "title": "OrderItemRelationship", "description": "OrderItemRelationship schema from TM Forum API", "allOf": [ { "$ref": "#/components/schemas/Extensible" }, { "type": "object", "description": "Used to describe relationship between Order item. These relationship could have an impact on pricing and conditions", "properties": { "id": { "type": "string", "description": "Id of the related Order item (must be in the same Order)" }, "relationshipType": { "type": "string", "description": "Relationship type as relies on, bundles, etc..." } } } ], "discriminator": { "propertyName": "@type", "mapping": { "OrderItemRelationship": "#/components/schemas/OrderItemRelationship" } } }