Rancher API enum definitions

Hi all,

I was wondering where I can find the definition for the possible enumeration values that are being returned by the Rancher API. For example, if I do a GET on /v3/clusters/, I get back a list of clusters. These clusters have a state property that is of type string. However, there must be a definition somewhere that specifies what are the possible states for a cluster but I cannot seem to find it.

I did look through the Rancher repository, also Telemetry (I was looking for node states), Rancher UI API and Norman but I could not find anything relevant. Maybe I just don’t know where to look. Can someone help with this?

Thanks in advance!