enums/graph/<node>/<field>/values/<valueKey>
Configures how an enum field value is displayed in the Portal, including its label and color.
Enum values are automatically discovered from the data stored in the system. This registry key allows you to customize how each value appears in the UI.
Properties
| Property | Type | Description |
|---|---|---|
label | object | Localized labels for the value. Keys are locale codes (e.g., default, sv-SE, en-US). |
hue | number | Color hue for the value tag (0-360 on the HSL color wheel). |
setKey | string | Key of the category to group this value under. See categories. |
Example Value
json
{
"label": {
"default": "VIP Customer",
"sv-SE": "VIP-kund"
},
"hue": 280,
"setKey": "customer"
}Example Manifest
Configure an order tag value with a label and color:
yaml
uri: /registry/enums/graph/order/tags/values/vip
spec:
value:
label:
default: VIP Customer
sv-SE: VIP-kund
hue: 280
setKey: customerEnum Definitions
For enum values shared across multiple fields, consider using enum definitions instead. Local values at this path can still be used alongside an enum definition to override labels/hues for a specific field or add field-specific values.