Hello Jonathan,
thanks for the response.
I still do not quite understand how this would work with the current Agreement API. In my case I have a Front-End which the user uses to create an Agreement. Part of this agreement are pricing models AND reveneu-sharing pricing.
As I understand it from your answer, if I can take the current API definition and define a sub-class using @type attribute, I could be able to add a new attribute to the API that would hold a reference to the rev-sharing price models. The problem is, if I add such a sub-class, which would of course be a custom one, we add it in the Front-End only. The backends and further systems would expect a official TMF base-class structure and thus dismiss the additional custom attribute.
So to solve that problem, we would need to alter the code in the back-end and potentially in many other places. Which basically means, that everything would work with a custom definition, which completly bypasses the standardisation idea.
Maybe I am missing something, or getting it completly wrong?
How would that work?

https://raw.githubusercontent.com/tmforum-apis/TMF651_AgreementManagement/master/TMF651-Agreement-v4.0.0.swagger.json
Best Regards
Anton
------------------------------
Anton Tsapko
conology
------------------------------
Original Message:
Sent: Apr 21, 2024 03:06
From: Jonathan Goldberg
Subject: TMF651 Agreement-Management is missing a reference to TMF738-RevenueSharingModels
Hi Anton
Bear in mind that Agreement is a base class, that can cover all types of agreement. I don't think it would be a good idea to add an explicit reference to a specific business scenario, such as rev-share. Probably would be better to define a dedicated subclass for rev-sharing agreement, and then refer to the sharing model from the subclass.
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
------------------------------