---
title: "Conditions"
url: "https://developers.vzconnect.com/apis/video-event-api-1/versions/ca29ffe3-f50c-46b4-b1d1-213c2a218c4c/schemas/Conditions"
---

> Full API specification: https://developers.vzconnect.com/apis/video-event-api-1/versions/ca29ffe3-f50c-46b4-b1d1-213c2a218c4c.md

# Conditions

Group of conditions to filter by the resource representation.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Video Event API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    Conditions:
      maxItems: 15
      minItems: 1
      type: array
      description: Group of conditions to filter by the resource representation.
      example:
        - field: occurredAt
          values:
            - 2024-12-08 05:43:32
            - 2024-12-08 21:27:44.333
          operator: BETWEEN
        - field: classification
          values:
            - MINOR
            - MODERATE
            - MAJOR
            - CRITICAL
          operator: CONTAINS_ANY
        - field: coachingStatus
          values:
            - REVIEW_PENDING
          operator: CONTAINS_ANY
        - field: activities
          values:
            - VIDEO_WATCHED
            - VIDEO_STARRED
          operator: CONTAINS_ALL
        - field: tagCategory
          values:
            - HDE
            - REQUESTED
            - ADAS
            - DMS
          operator: CONTAINS_ANY
      items:
        required:
          - field
          - operator
          - values
        type: object
        properties:
          field:
            maxLength: 100
            minLength: 1
            pattern: ^(occurredAt|driverId|vehicleId|fleetItemId|address|classification|tags|coachingStatus|activities|videoEventId|createdAt|tagCategory)$
            type: string
            description: Name of the property to be evaluated.
          values:
            maxItems: 8000
            minItems: 1
            type: array
            description: Value to evaluate.
            items:
              maxLength: 500
              minLength: 1
              pattern: ^[a-zA-Z0-9\s_\W]+$
              type: string
          operator:
            type: string
            description: Operator to use to compare between property values and a defined
              set of values. The available operators include 'BETWEEN',
              'CONTAINS_ANY', 'CONTAINS_NONE', 'CONTAINS_ALL', "EQUALS".
            enum:
              - BETWEEN
              - CONTAINS_ANY
              - CONTAINS_NONE
              - CONTAINS_ALL
              - EQUALS
            default: BETWEEN
        additionalProperties: false
```
