Categorical Value Object

A single value that a categorical Parameter can take. This can be an object as described below, or simply a string.

Fields

Key
Type
Value

enum_index

int

Categorical parameters function like enum types in many programming languages. This field is 1-indexed.

name

string

The name of this categorical value

Examples

{
  "enum_index": 1,
  "name": "true",
  "object":"categorical_value"
}
{
  "enum_index": 2,
  "name": "false",
  "object": "categorical_value"
}

Last updated