To make sure we are aligned with TMF620 v5.0 principles, I'd like to confirm the correct way to handle such template characteristics in ProductOffering
and ProductSpecification
.
Any guidance or confirmation on this design approach would be greatly appreciated.
ZIRA Ltd.
Original Message:
Sent: May 22, 2025 09:44
From: Matthieu Hattab
Subject: Clarification on mandatory @type field in characteristicValueSpecification (TMF620 v5.0)
Hi,
Does this mean that it is valid and compliant to define a characteristicValueSpecification object with only the @type field present - without any value, valueFrom, valueTo, valueType, or other supporting attributes?
If yes, what would be the functional or expected purpose of such a minimal object? In practice, it seems this would result in an incomplete or non-functional characteristic configuration.
An example could be MSISDN (phone number for telephony).
in our case, I would not even bother to have a characteristicValueSpecification
object at all. valueType
also exists at characteristicSpecification
level in case you want to control the type of data for this characteristic.
I would be careful to state that value
, or a range (valueFrom / valueTo)
, or rangeInterval
should be mandatory.
continuing on the MSISDN characteristic, I cannot say value
is mandatory in the catalogue because you have no value to store in the catalogue. However we do need to specify that value
is mandatory.... at runtime:
Design-time (catalogue): MSISDN must exist as a characteristic but with no pre-set value so value
cannot be mandatory
Runtime (cart/order/quote): must be filled in, and possibly validated so value
is mandatory but only in the cart/order...
This has puzzled me for some time now and I have posted a question about this in the frameworx community.
------------------------------
Kind regards,
Matthieu Hattab
Digital Sales Domain Architect
Lyse Tele AS
Original Message:
Sent: May 21, 2025 04:02
From: Emir Torlak
Subject: Clarification on mandatory @type field in characteristicValueSpecification (TMF620 v5.0)
Hello,
According to the TMF620 v5.0 Conformance Profile, the @type field is marked as mandatory under the productSpecCharacteristic.characteristicValueSpecification object - specifically:
@type – Mandatory when parent is present.
I would appreciate clarification on the following:
Does this mean that it is valid and compliant to define a characteristicValueSpecification object with only the @type field present - without any value, valueFrom, valueTo, valueType, or other supporting attributes?
If yes, what would be the functional or expected purpose of such a minimal object? In practice, it seems this would result in an incomplete or non-functional characteristic configuration.
My current interpretation is that @type is required to allow correct polymorphic deserialization (e.g., NumberCharacteristicValueSpecification, StringCharacteristicValueSpecification, etc.).
However, in real-world use cases, an object that includes only @type and no value or valueType is likely not meaningful or useful.
Therefore, I assume that although only @type is marked as mandatory, implementations should also include at least:
valueType, and
either value, or a range (valueFrom / valueTo), or rangeInterval.
Would you agree with this interpretation, or is there a specific case where @type alone is sufficient?
Thanks in advance for your guidance.
Best regards,
Emir
Zira Group
------------------------------
Emir Torlak
ZIRA Ltd.
------------------------------