Good afternoon.
We use the data model "Entity" to describe the specification and characteristics.
TMF662_Entity_Catalog_Management_API_User_Guide_v4.0.0.pdf
Can you please tell me how to specify the type of characteristic for the specification? Examples?
Characteristic values are different objects, how to describe this?
How, depending on the selected type of characteristic, to choose the desired structure of the value object?
All "value objects" have a different structure, depending on the type of characteristic.
In this example:
"specCharacteristic"
:
[
{
"name"
:
"Platform"
,
"id"
:
"4441"
,
"description"
:
"This characteristic describes the platform of the node"
,
"valueType"
:
"string"
,
"configurable"
:
true
,
"validFor"
:
{
"startDateTime"
:
"2020-12-05T00:00"
,
"endDateTime"
:
"2023-12-31T11:59:59"
}
,
"minCardinality"
:
0
,
"maxCardinality"
:
1
,
"isUnique"
:
true
,
"regex"
:
""
,
"extensible"
:
false
,
"characteristicValueSpecification"
:
[
{
"valueType"
:
"string"
,
"isDefault"
:
true
,
"value"
:
"Windows"
,
"validFor"
:
{
"startDateTime"
:
"2020-12-05T00:00"
,
"endDateTime"
:
"2023-12-31T11:59:59"
}
,
"regex"
:
""
,
"valueFrom"
:
""
,
"valueTo"
:
""
,
"unitOfMeasure"
:
""
,
"rangeInterval"
:
"open"
,
"@type"
:
"CharacteristicValueSpecification"
,
"@baseType"
:
""
,
}
]
,
"charSpecRelationship"
:
[
]
,
"@type"
:
"SpecCharacteristic"
,
"@baseType"
:
""
,
}
]
,
Where to specify the "type of characteristic" ("specCharacteristic")? How to describe different "Value object", depending on the "characteristic type"? ValueType = object, what next? "object" have a different structure.------------------------------
Pedan Andrey
TO BE VERIFIED
------------------------------