Box · Schema

Metadata field filter (float range)

Specifies which `float` field on the template to filter the search results by, specifying a range of values that can match.

Cloud StorageCollaborationContent ManagementDocumentsEnterpriseFile Sharing
View JSON Schema on GitHub

JSON Schema

box-metadatafieldfilterfloatrange-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MetadataFieldFilterFloatRange",
  "title": "Metadata field filter (float range)",
  "type": "object",
  "x-box-resource-id": "metadata_field_filter_float_range",
  "description": "Specifies which `float` field on the template to filter the search\nresults by, specifying a range of values that can match.",
  "example": {
    "contractValue": {
      "gt": 100000,
      "lt": 200000
    }
  },
  "additionalProperties": {
    "type": "object",
    "description": "Specifies which `float` field on the template to filter the search\nresults by, specifying a range of values that can match.",
    "example": {
      "gt": 100000,
      "lt": 200000
    },
    "x-box-example-key": "value",
    "properties": {
      "lt": {
        "description": "Specifies the (inclusive) upper bound for the metadata field\nvalue. The value of a field must be lower than (`lt`) or\nequal to this value for the search query to match this\ntemplate.",
        "type": "number",
        "example": 200000
      },
      "gt": {
        "description": "Specifies the (inclusive) lower bound for the metadata field\nvalue. The value of a field must be greater than (`gt`) or\nequal to this value for the search query to match this\ntemplate.",
        "type": "number",
        "example": 100000
      }
    }
  }
}