Share via


enum.values object

Array that defines the constants for the enum.

Properties that reference this object type:

Syntax

{
  "name": "{string}",
  "numberValue": number | null,
  "stringValue": "{string}",
  "tooltip": "{string}"
}

Properties

name

A brief description of the constant.

This property is localizable. For more information, see the localization schema.

Type
string

Required

Constraints
Maximum string length: 256.

Supported values

numberValue

When enum type is number, the actual number value of the constant.

Type
number | null

Required

Constraints

Supported values

stringValue

When enum type is string, the actual string value of the constant.

Type
string

Required

Constraints

Supported values

tooltip

Additional information about the constant, intended to provide more context or details.

This property is localizable. For more information, see the localization schema.

Type
string

Required

Constraints
Maximum string length: 256.

Supported values