{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/tm-forum/refs/heads/main/json-schema/tmf620-product-catalog-product-offering-price-relationship-schema.json", "title": "ProductOfferingPriceRelationship", "description": "ProductOfferingPriceRelationship schema from TM Forum API", "allOf": [ { "$ref": "#/components/schemas/EntityRef" }, { "type": "object", "description": "Describes a non-composite relationship between product offering prices. For example one price might be an discount alteration for another price.", "properties": { "role": { "type": "string", "description": "The association role for the source product offering price" }, "relationshipType": { "type": "string", "description": "type of the relationship, for example override, discount, etc." }, "version": { "type": "string", "description": "Version of the referred product offering price." } } } ], "discriminator": { "propertyName": "@type", "mapping": { "ProductOfferingPriceRelationship": "#/components/schemas/ProductOfferingPriceRelationship" } } }