Skip to content

Numeric filters

Filters by comparing a field to a numeric value.

Property Type Description
operator ComparisonOperators The operator to apply to the filter value
value numeric The value to use for the filter operation

A JSON example of this model.

{
"operator": "gt",
"value": 1000
}
VersionChangesSchema
0.1.0
  • Added NumberComparisonFilter model
NumberComparisonFilter.yaml

Filters by comparing a field to a range of numeric values.

Property Type Description
operator RangeOperators The operator to apply to the filter value
value range object The value to use for the filter operation
Property Type Description
min numeric The minimum numeric value for this range
max numeric The maximum numeric value for this range

A JSON example of this model.

{
"operator": "between",
"value": {
"min": 1000,
"max": 10000
}
}
VersionChangesSchema
0.1.0
  • Added NumberRangeFilter model
NumberRangeFilter.yaml

Filters by comparing a field to an array of numeric values.

Property Type Description
operator ArrayOperators The operator to apply to the filter value
value Array<numeric> The value to use for the filter operation

A JSON example of this model.

{
"operator": "in",
"value": [
1000,
2000,
3000
]
}
VersionChangesSchema
0.1.0
  • Added NumberArrayFilter model
NumberArrayFilter.yaml