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.
------------------------------