TraitPossibleValues

A list of possible values for an asset trait along with the trait type.

type TraitPossibleValues {
  type: String!
  values: [String!]
}

Fields

TraitPossibleValues.type String!

The trait type. Possible values are range and checkbox.

Range means that the trait's values are best represented by numeric range and checkbox means the trait's values are best represented by a list of strings.

TraitPossibleValues.values [String!]

A list of the trait's possible values.

If type: range then this list will be two values, the minimum value of the numeric followed by the maximum value of the numeric range like [min, max]. If type: checkbox then this list will be a list of strings of all possible trait values like [value0, value1, value2, ...].

.