MetadataMetamodelConstantValue
The ConstantValue structure contains the metamodel information of the constant element.
Properties
category
Required
The ConstantValue.Category enumerated type defines enumeration values for the valid kinds of values.
PRIMITIVE : Indicates the type of constant value is primitive.
LIST : Indicates the type of constant value is a list.
Possible values are: PRIMITIVE , LIST
array of
MetadataMetamodelPrimitiveValue
list_value
Optional
List value of the constant element. This field is optional and it is only relevant when the value of ConstantValue.category is LIST.
primitive_value
Optional
Primitive value of the constant element. This field is optional and it is only relevant when the value of ConstantValue.category is PRIMITIVE.
JSON Example
{
"category": "PRIMITIVE"
}