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

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

# EventCopyRequest

Schema for event copy request.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Video Event API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    VideoEventVehicleRawData:
      type: object
      properties:
        vehicleLabel:
          maxLength: 1000
          minLength: 0
          pattern: ^[a-zA-Z0-9\s\W]+$
          type: string
          description: The vehicle label.
          example: vehicle12
        vehicleId:
          maxLength: 100
          minLength: 1
          pattern: ^[1-9]\d*$
          type: string
          description: Unique identifier of the vehicle.
          example: "123456"
        clientVehicleId:
          maxLength: 1000
          minLength: 0
          pattern: ^[a-zA-Z0-9\s\W]+$
          type: string
          description: The vehicle id.
          example: testId123123
        registrationNumber:
          maxLength: 1000
          minLength: 0
          pattern: ^[a-zA-Z0-9\s\W]+$
          type: string
          description: The vehicle registration number.
          example: 123VE123
        vehicleTrackingId:
          maximum: 9223372036854776000
          minimum: 0
          type: integer
          description: The unique identifier of the vehicle tracking.
          format: int64
      additionalProperties: false
      description: Vehicle data of the event
    VideoEventDriverRawData:
      type: object
      properties:
        firstName:
          maxLength: 1000
          minLength: 0
          pattern: ^[A-Za-zÀ-ÖØ-öø-ÿ' -]+$
          type: string
          description: The first name of the driver.
          example: John
        clientDriverId:
          maxLength: 1000
          minLength: 0
          pattern: ^[a-zA-Z0-9\s\W]+$
          type: string
          description: The driver id.
          example: testId123123
        surname:
          maxLength: 1000
          minLength: 0
          pattern: ^[A-Za-zÀ-ÖØ-öø-ÿ' -]+$
          type: string
          description: The last name of the driver.
          example: Doe
        email:
          maxLength: 1000
          minLength: 0
          pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
          type: string
          description: The email of the driver.
          example: driver@company.domain
        driverId:
          maxLength: 100
          minLength: 1
          pattern: ^[1-9]\d*$
          type: string
          description: Unique identifier of the driver.
          example: "123456"
      additionalProperties: false
      description: Driver data of the event
    VideoRawData:
      type: object
      properties:
        analysedAt:
          maxLength: 100
          type: string
          description: Video analysis date.
          format: date-time
          nullable: true
        thumbnailUrl:
          maxLength: 1000
          minLength: 0
          pattern: ^https?:\/\/[^\s/$.?#].[^\s]*$
          type: string
          description: Main video thumbnail URL
          nullable: true
          example: https://www.example.com/thumbnail.jpg
        startedAt:
          maxLength: 100
          type: string
          description: Video start time (UTC timestamp)
          format: date-time
          nullable: false
        expiresAt:
          maxLength: 100
          type: string
          description: Video expiration date
          format: date-time
          nullable: true
        videoId:
          maxLength: 100
          minLength: 1
          pattern: ^[1-9]\d*$
          type: string
          description: Unique identifier of the footage
          example: "123456"
        channelNumber:
          maximum: 2147483647
          minimum: 0
          type: integer
          description: Channel Number
          format: int32
          nullable: false
        controlUnitId:
          maximum: 2147483647
          minimum: 0
          type: integer
          description: Control Unit Id
          format: int32
          nullable: false
        cameraId:
          maximum: 2147483647
          minimum: 0
          type: integer
          description: Camera Id
          format: int32
          nullable: false
        videoUrl:
          maxLength: 1000
          minLength: 0
          pattern: ^https?:\/\/[^\s/$.?#].[^\s]*$
          type: string
          description: Main video URL
          nullable: true
          example: https://www.example.mp4
        analysed:
          type: boolean
          description: Indicate whether video analyzed or not.
          nullable: true
        assignedFunction:
          maxLength: 50
          minLength: 1
          type: string
          description: Device function.
          nullable: false
          example: ROAD
          enum:
            - ROAD
            - DRIVER
            - DRIVER_SIDE
            - PASSENGER_SIDE
            - REAR
            - CARGO
            - OTHER
        processedAt:
          maxLength: 100
          type: string
          description: Video process date
          format: date-time
          nullable: true
        classification:
          type: integer
          description: Classification
          format: int32
          nullable: true
          enum:
            - 0
            - 1
            - 2
            - 3
            - 4
        endedAt:
          maxLength: 100
          type: string
          description: Video end time (UTC timestamp)
          format: date-time
          nullable: false
      additionalProperties: false
    EventCopyRequest:
      type: object
      properties:
        classificationThumbnailUrl:
          maxLength: 250
          minLength: 5
          pattern: ^https?:\/\/[^\s/$.?#].[^\s]*$
          type: string
          description: Event Classification Thumbnail URL.
          example: https://www.example.com/thumbnail.jpg
        originalEventId:
          maximum: 9223372036854776000
          minimum: 0
          type: integer
          description: The unique identifier of the original event.
          format: int64
          example: 123456
        eventVehicleRawData:
          $ref: "#/components/schemas/VideoEventVehicleRawData"
        newVideoEventOccurredAt:
          maxLength: 100
          minLength: 1
          type: string
          description: Date and time to set for new video event occurred at (UTC timestamp).
          format: date-time
        eventDriverRawData:
          $ref: "#/components/schemas/VideoEventDriverRawData"
        originalVideoEventOccurredAt:
          maxLength: 100
          minLength: 1
          type: string
          description: Date and time original video event occurred at (UTC timestamp).
          format: date-time
        thumbnailUrl:
          maxLength: 1000
          minLength: 0
          pattern: ^https?:\/\/[^\s/$.?#].[^\s]*$
          type: string
          description: Main video thumbnail URL
          nullable: true
          example: https://www.example.com/thumbnail.jpg
        videoCopyData:
          maxItems: 20
          minItems: 1
          type: array
          description: videos of the event.
          items:
            $ref: "#/components/schemas/VideoRawData"
      additionalProperties: false
      description: Schema for event copy request.
      writeOnly: true
```
