Comparison thresholds; metric-specific interpretation is declared by the validator.
Write an object. Only the fields named below are allowed. Unknown fields are rejected so a typo cannot hide inside the document.
You may omit absolute, relative, and unit. Leave a field out when you have nothing to say. Do not invent a placeholder.
Exact constraints
- type
object- additional properties
forbidden
absolutenumberWrite a number. Decimals are allowed.
The number must be at least 0.
Exact constraints
- type
number- minimum
0
relativenumberWrite a number. Decimals are allowed.
The number must sit between 0 and 1, including both ends.
Exact constraints
- type
number- minimum
0- maximum
1
unitstringWrite a text value.
An empty string is not allowed.
Exact constraints
- type
string- min length
1