Label Data Type
Models a label and any associated value.
| name | data type | constraints | description |
|---|---|---|---|
| label | string | The name of the label. | |
| value | string | Any value associated with the value. If used in a LabelMatch#labelCriteria the value can either be omitted or be used as a regular expression to match a specific value or multiple values. | |
| global | boolean | required boolean | Returns whether the label is global or not. A label is global by default. Can be omitted when used in a LabelMatch#labelCriteria |
Example
{
"label" : "Location",
"value" : "GOT",
"global" : true
}