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

# Video Event API

OpenAPI specification document.

```json
{"openapi":"3.0.0","info":{"title":"Video Event API","description":"Video Event API exposing video event related data. It can be used to search for Reveal Video events or retrieve Video event details. Each event resource includes information about the key characteristics, trigger, post-event analysis and key fleet manager activities.","version":"1.0","x-vzc-portal":{"category":"Compliance & Safety","summary":"Access Reveal dashcam footage and event classifications (such as hard braking or collisions) to support driver coaching and incident management.","business":{"description":"enables organizations to access Reveal dashcam footage and event classifications (such as hard braking or collisions) to support driver coaching and incident management. By connecting this footage to safety and reporting workflows, businesses can conduct fair, evidence-based driver reviews with full context. The API streamlines safety audits and incident processes by providing a shared record of driving events.","purpose":"The Video Event API helps your organization access dashcam footage and classifications for driving events captured in Reveal.\n\nThis gives managers a shared view of what happened during incidents and supports fair, evidence-based conversations with drivers.\n\nBusinesses can connect video event information with safety, incident management, and reporting workflows.\n\nReviewing footage and event classifications helps teams coach drivers, improve driving habits, and provide video context when incidents occur."},"use-cases":[{"title":"Footage & Incident Review","description":"Review dashcam footage from triggered driving events - such as hard braking, rapid acceleration, harsh cornering, and collisions - directly within internal safety tools."},{"title":"Workflow & Safety Integration","description":"Connect event footage and AI event classifications to safety reviews, incident processes, and central business intelligence dashboards."},{"title":"Driver Coaching & Training","description":"Support fair, evidence-based driver coaching sessions using a transparent shared video record of driving events."},{"title":"Claims & Insurance Verification","description":"Export video logs and event classifications to insurance providers and legal teams to verify accident liability, streamline claims processing, and defend against fraudulent claims."}],"icon-svg-base64":"PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3NSIgaGVpZ2h0PSI3NSIgdmlld0JveD0iMCAwIDc1IDc1IiBmaWxsPSJub25lIj4NCjx0aXRsZT5JY29uPC90aXRsZT4NCjxwYXRoIGQ9Ik0yIDBoNzF2MWgtNzF6TTEgMWg3M3YxaC03M3p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XoiIGZpbGw9IiNCRkJGQkYiLz4NCjxwYXRoIGQ9Ik00NSAzNWgxdjFoLTF6TTM3IDQwaDF2MWgtMXpNMjkgNDVoMXYxaC0xeiIgZmlsbD0iI0VGRUZFRiIvPg0KPHBhdGggZD0iTTQ2IDM1aDF2MWgtMXpNMzggNDBoMXYxaC0xek0zMCA0NWgxdjFoLTF6IiBmaWxsPSIjNzA3MDcwIi8+DQo8cGF0aCBkPSJNMCAwaDF2MWgtMXpNNzQgMGgxdjFoLTF6IiBmaWxsPSIjQTBBMEEwIi8+DQo8L3N2Zz4NCg=="}},"x-kong-plugin-pre-function":{"enabled":true,"config":{"access":["local uri = kong.request.get_path()\nlocal new_uri = uri:gsub('^/video', '/eventapi/v1')\nkong.service.request.set_path(new_uri)","local query = kong.request.get_query()\nif query.embed then\n  local embed = query.embed\n  if type(embed) == 'string' then embed = { embed } end\n  for i, v in ipairs(embed) do\n    local lower = v:lower()\n    if lower == 'tracking' then embed[i] = 'Tracking'\n    elseif lower == 'activities' then embed[i] = 'Activities' end\n  end\n  query.embed = embed\n  kong.service.request.set_query(query)\nend","local CLAIM = \"reveal_account_id\"\nlocal SEP   = \"_\"\nngx.req.clear_header(\"apikey\")\nlocal auth = kong.request.get_header(\"authorization\")\nif not auth then return end\nlocal app_id = auth:match(\"[Aa]tmosphere_app_id%s*=%s*([^,%s]+)\")\nif not app_id then return end\napp_id = app_id:match('^\"(.*)\"$') or app_id:match(\"^'(.*)'$\") or app_id\nlocal token = auth:match(\"[Bb]earer%s+([^%s,]+)\")\nlocal payload = token and token:match(\"^[^.]+%.([^.]+)%.\")\nif not payload then return end\npayload = payload:gsub(\"-\", \"+\"):gsub(\"_\", \"/\")\npayload = payload .. string.rep(\"=\", (4 - #payload % 4) % 4)\nlocal json = ngx.decode_base64(payload)\nif not json then return end\nlocal account_id = json:match('\"' .. CLAIM .. '\"%s*:%s*\"?([^\",}%s]+)')\nif not account_id then return end\nngx.req.set_header(\"apikey\", app_id .. SEP .. account_id)"]}},"paths":{"/video/video-events/search":{"post":{"tags":["Video Event API"],"description":"Search for video events based on query parameters. The Event Schema for video event queries excludes the \"tracking\" property, empty \"activities\", and videos within \"media\".","operationId":"searchVideoEvents","x-kong-route-defaults":{"strip_path":false,"paths":["~/video/video-events/search/?$"]},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventQuery"}}}},"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventList"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"Bad request. The request is not valid."},"401":{"$ref":"#/components/responses/Unauthorized","description":"Unauthorized. The authorization token is missing or not valid."},"403":{"$ref":"#/components/responses/Forbidden","description":"Forbidden. The caller is not allowed to access this resource."},"404":{"$ref":"#/components/responses/NotFound","description":"Not found."},"415":{"$ref":"#/components/responses/UnsupportedMediaType","description":"Unsupported media type. The content type of the request is not supported."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"Too many requests. The rate limit has been exceeded."},"default":{"$ref":"#/components/responses/InternalServerError","description":"An unexpected error occurred."}},"deprecated":false,"summary":"Search for video events."}},"/video/video-events/{video-event-id}":{"get":{"tags":["Video Event API"],"description":"Get event by event id.","operationId":"getEventByVideoEventId","x-kong-route-defaults":{"strip_path":false,"paths":["~/video/video-events/[0-9_]+/?$"]},"x-kong-plugin-request-validator":{"enabled":true,"config":{}},"parameters":[{"name":"video-event-id","in":"path","description":"Video Event unique identifier.","required":true,"schema":{"maxLength":35,"minLength":1,"pattern":"^[0-9_]+$","type":"string"}},{"name":"fields","in":"query","description":"Resource properties to return. If not provided, it will return the default properties, i.e. \"videoEventId\", \"occurredAt\", \"driverId\", \"vehicleId\", \"fleetItemId\", \"address\", \"classification\", \"tags\", \"triggers\",\"coachingStatus\", and \"media\" with videos.","required":false,"style":"form","explode":false,"schema":{"maxItems":25,"minItems":0,"uniqueItems":true,"type":"array","items":{"maxLength":200,"minLength":1,"pattern":"^(videoEventId|occurredAt|driverId|vehicleId|fleetItemId|address|classification|tags|triggers|coachingStatus|media)$","type":"string"}}},{"name":"embed","in":"query","description":"Additional resources to be included into the response, i.e. \"Tracking\" and \"Activities\". If not specified, the response will include either the default fields or the ones specified by the \"fields\" parameter.","required":false,"style":"form","explode":true,"schema":{"maxItems":2,"minItems":0,"uniqueItems":true,"type":"array","items":{"maxLength":200,"minLength":1,"pattern":"^(Tracking|Activities)$","type":"string"}}}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"400":{"$ref":"#/components/responses/BadRequest","description":"Bad request. The request is not valid."},"401":{"$ref":"#/components/responses/Unauthorized","description":"Unauthorized. The authorization token is missing or not valid."},"403":{"$ref":"#/components/responses/Forbidden","description":"Forbidden. The caller is not allowed to access this resource."},"404":{"$ref":"#/components/responses/NotFound","description":"Not found. There is no video event with this ID."},"415":{"$ref":"#/components/responses/UnsupportedMediaType","description":"Unsupported media type. The content type of the request is not supported."},"429":{"$ref":"#/components/responses/TooManyRequests","description":"Too many requests. The rate limit has been exceeded."},"default":{"$ref":"#/components/responses/InternalServerError","description":"An unexpected error occurred."}},"deprecated":false,"summary":"Get a video event by its ID."}}},"components":{"schemas":{"UserConfigurationGetResponse":{"type":"object","properties":{"userId":{"maxLength":100,"minLength":1,"pattern":"^[1-9]\\d*$","type":"string","description":"The unique identifier of the User associated with the configuration.","example":"123456"},"classifications":{"type":"object","properties":{"collision":{"type":"boolean","description":"Indicates whether collision events should be filtered."},"dangerousDriving":{"type":"boolean","description":"Indicates whether dangerous driving events should be filtered."},"lowRisk":{"type":"boolean","description":"Indicates whether low-risk events should be filtered."},"harshDriving":{"type":"boolean","description":"Indicates whether harsh driving events should be filtered."}},"additionalProperties":false,"description":"Filter configuration for user settings."}},"additionalProperties":false,"description":"Schema for user configuration responses."},"RawEvent":{"type":"object","properties":{"eventRawData":{"$ref":"#/components/schemas/VideoEventRawData"},"eventAddressRawData":{"$ref":"#/components/schemas/EventAddress"},"eventVehicleRawData":{"$ref":"#/components/schemas/VideoEventVehicleRawData"},"eventTriggerRawData":{"maxItems":20,"minItems":1,"type":"array","description":"triggers of the event","items":{"$ref":"#/components/schemas/VideoEventTriggerRawData"}},"eventTrackingRawData":{"$ref":"#/components/schemas/VideoEventTrackingRawData"},"eventDriverRawData":{"$ref":"#/components/schemas/VideoEventDriverRawData"},"eventTagRawData":{"maxItems":20,"minItems":1,"type":"array","description":"tags of the event","items":{"$ref":"#/components/schemas/VideoEventTagRawData"}},"videoRawData":{"maxItems":20,"minItems":1,"type":"array","description":"videos of the event","items":{"$ref":"#/components/schemas/VideoRawData"}}},"additionalProperties":false,"description":"Input to add new event.","writeOnly":true},"JsonPatchDocument":{"title":"A JSON Patch document as defined by RFC 6902","maxItems":10,"minItems":0,"uniqueItems":true,"type":"array","description":"Represents a list of operations to apply to a resource for partial updates","items":{"title":"A JSON Patch operation as defined by RFC 6902","required":["op","path"],"type":"object","properties":{"value":{"oneOf":[{"maxLength":2000,"minLength":1,"pattern":"^[^\\n]+$","type":"string","description":"The value to be used within the operations"},{"type":"object","additionalProperties":true,"description":"The value to be used within the operations"}]},"path":{"title":"A JSON-Pointer","maxLength":2000,"minLength":1,"pattern":"^\\/[^\\n]+$","type":"string","description":"A string containing a [RFC 6901](https://www.rfc-editor.org/rfc/rfc6901.html) JSON Pointer value that references the target location where the operation is performed"},"from":{"title":"A string containing a JSON Pointer value","maxLength":2000,"minLength":0,"pattern":"^(\\/[^\\n]+)*$","type":"string","description":"A string containing a [RFC 6901](https://www.rfc-editor.org/rfc/rfc6901.html) JSON Pointer value that references the source location where the operation is applied"},"op":{"title":"The operation to be performed","maxLength":120,"minLength":1,"pattern":"^(add|remove|replace|move|copy|test)$","type":"string","description":"Indicates the operaton to be performed,as per RFC 6902"}},"additionalProperties":false,"description":"Defines an individual operation within a JsonPatchDocument"}},"DownloadRequestQuery":{"type":"object","properties":{"orderBy":{"maxItems":1,"minItems":1,"type":"array","description":"Group of sorting requests of the resource representation based on one or more properties of the entity.","example":[{"field":"requestedAt","sortOrder":"DESC"}],"items":{"required":["field","sortOrder"],"type":"object","properties":{"field":{"maxLength":255,"minLength":1,"pattern":"^(requestedAt)$","type":"string","description":"Name of the property to be sorted by."},"sortOrder":{"type":"string","description":"Sort order","enum":["DESC"],"default":"DESC"}},"additionalProperties":false}},"conditions":{"$ref":"#/components/schemas/DownloadRequestConditions"},"fields":{"maxItems":100,"minItems":0,"uniqueItems":true,"type":"array","description":"Resource properties to return. If not provided, the response will include the default properties.","example":["downloadId","userId","videoEventId","occurredAt","expiresAt","requestedAt","requestStatus","metadata","zipFile"],"items":{"maxLength":255,"minLength":1,"pattern":"^(downloadId|userId|videoEventId|occurredAt|expiresAt|requestedAt|requestStatus|metadata|zipFile)$","type":"string","description":"Field or property name"}}},"additionalProperties":false,"description":"Query parameters for downloading video events.","writeOnly":true},"BulkUpdateRequest":{"type":"object","properties":{"operations":{"$ref":"#/components/schemas/JsonPatchDocument"},"conditions":{"$ref":"#/components/schemas/Conditions"}},"additionalProperties":false,"description":"Schema for bulk update requests.","writeOnly":true},"DownloadResponse":{"type":"object","properties":{"videoUrl":{"maxLength":1000,"minLength":1,"pattern":"^https?:\\/\\/[^\\s/$.?#].[^\\s]*$","type":"string","description":"URL of the video"},"fileName":{"maxLength":255,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-]+$","type":"string","description":"Name of the file"}},"additionalProperties":false},"InsertEventFeedbackCommand":{"type":"object","properties":{"comment":{"maxLength":350,"type":"string","description":"User comment","nullable":true},"proposedTags":{"type":"string","description":"Proposed tags for the event","nullable":true},"accuracyRating":{"$ref":"#/components/schemas/AccuracyRating"},"proposedClassification":{"$ref":"#/components/schemas/VideoEventClassification"},"proposedEventName":{"maxLength":20,"pattern":"^[a-zA-Z ]+$","type":"string","description":"Proposed event name","nullable":true}},"additionalProperties":false},"Int64NewRecordResponse":{"type":"object","properties":{"recordIdentifier":{"type":"integer","description":"The unique identifier of the newly created record","format":"int64"},"recordKey":{"type":"string","description":"The record key","nullable":true}},"additionalProperties":false},"EventActivity":{"type":"object","properties":{"activityType":{"$ref":"#/components/schemas/ActivityType"},"activityData":{"$ref":"#/components/schemas/ActivityData"},"activityId":{"maxLength":100,"minLength":1,"pattern":"^[1-9]\\d*$","type":"string","description":"Activity ID","example":"123456"},"userKey":{"maxLength":100,"minLength":1,"pattern":"^[1-9]\\d*$","type":"string","description":"The unique identifier of the User associated with the activity","example":"123456"},"createdAt":{"maxLength":100,"type":"string","description":"Activity created date (UTC timestamp)","format":"date-time"}},"additionalProperties":false,"readOnly":true},"DownloadPostRequest":{"type":"object","properties":{"zipFile":{"type":"boolean","description":"Indicates whether the video should be downloaded as a zip file."},"userTimeZone":{"maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-]+$","type":"string","description":"The user's time zone."},"drawMetadata":{"type":"boolean","description":"Indicates whether metadata should be drawn on the video."}},"additionalProperties":false},"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}},"EventExportRequest":{"required":["userId"],"type":"object","properties":{"userId":{"maxLength":100,"minLength":1,"pattern":"^[1-9]\\d*$","type":"string","description":"The unique identifier of the User associated with the export request.","example":"123456"},"requestStatus":{"maxLength":30,"minLength":1,"type":"string","description":"The status of the export request.","enum":["DOWNLOAD_AVAILABLE","DOWNLOAD_COMPLETED","DOWNLOAD_CANCELLED","EXPORT_FAILED_UNVIEWED","EXPORT_FAILED_VIEWED"]},"fileName":{"maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-]+$","type":"string","description":"The name of the file to be created."},"requestId":{"maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-]+$","type":"string","description":"Unique identifier for tracking the export request."},"createdAt":{"maxLength":100,"type":"string","description":"Export request created date (UTC timestamp).","format":"date-time"}},"additionalProperties":false,"description":"Schema for event export requests."},"DownloadRequestQueryResponse":{"type":"object","properties":{"updatedAt":{"type":"string","description":"Download request updated date (UTC timestamp).","format":"date-time"},"occurredAt":{"type":"string","description":"Date and time video event occurred at (UTC timestamp).","format":"date-time"},"userId":{"maxLength":100,"minLength":1,"type":"integer","description":"The unique identifier of the User associated with the download request.","example":123},"videoEventId":{"maxLength":35,"minLength":1,"pattern":"^[0-9_]+$","type":"string","description":"Video Event unique identifier.","example":"123456789012345"},"drawMetadata":{"type":"boolean","description":"Indicates whether metadata should be drawn on the video."},"systemId":{"maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-]+$","type":"string","description":"The unique identifier of the System associated with the download request.","example":"Reveal"},"videoKey":{"maxLength":100,"minLength":1,"pattern":"^\\/\\/[^\\s/$.?#].[^\\s]*$","type":"string","description":"Unique key for the video file.","example":"//example.com/video.zip"},"expiredAt":{"type":"string","description":"Download request expiration date (UTC timestamp).","format":"date-time"},"requestStatus":{"maxLength":30,"minLength":1,"type":"string","description":"The status of the download request.","enum":["PENDING","READY","ERROR","LOCKED"]},"createdAt":{"type":"string","description":"Download request created date (UTC timestamp).","format":"date-time"},"downloadId":{"maxItems":100,"minItems":0,"type":"integer","description":"Unique download Identifier.","example":123456},"accountId":{"maxLength":100,"minLength":1,"type":"integer","description":"The unique identifier of the Account associated with the download request.","example":96},"zipFile":{"type":"boolean","description":"Indicates whether the video should be downloaded as a zip file."}},"additionalProperties":false,"description":"Schema for download request query responses."},"UserConfigurationPostResponse":{"type":"object","properties":{"value":{"maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-]+$","type":"string","description":"The value to format in the entity body."},"location":{"maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-]+$","type":"string","description":"The location at which the content has been created."}}},"CoachingStatusResponse":{"type":"object","properties":{"coachingStatusName":{"maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-]+$","type":"string","description":"Name of the coaching status.","example":"COACHING_NEEDED"},"coachingStatusId":{"type":"integer","description":"Unique identifier for the coaching status.","format":"int32","example":2},"CoachingStatusAcronym":{"maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-]+$","type":"string","description":"Acronym of the coaching status.","example":"CSCND"}},"additionalProperties":false,"description":"Schema containing a list of coaching statuses."},"EventAddress":{"type":"object","properties":{"country":{"maxLength":1000,"minLength":0,"pattern":"^[a-zA-Z0-9\\s\\W]+$","type":"string","description":"Country of the address","example":"Ireland"},"postalCode":{"maxLength":1000,"minLength":0,"pattern":"^[a-zA-Z0-9\\s\\W]+$","type":"string","description":"Postal Code of the address","nullable":true,"example":"94568"},"city":{"maxLength":1000,"minLength":0,"pattern":"^[a-zA-Z0-9\\s\\W]+$","type":"string","description":"City of the address","example":"Dublin"},"longitude":{"maximum":180,"minimum":-180,"type":"number","description":"Longitude of the address","format":"double","example":-6.26031},"addressLine1":{"maxLength":1000,"minLength":0,"pattern":"^[a-zA-Z0-9\\s\\W]+$","type":"string","description":"Address Line 1","example":"123 Main St"},"latitude":{"maximum":90,"minimum":-90,"type":"number","description":"Latitude of the address","format":"double","example":53.349804},"state":{"maxLength":1000,"minLength":0,"pattern":"^[a-zA-Z0-9\\s\\W]+$","type":"string","description":"State of the address","example":"CA"}},"additionalProperties":false,"description":"Address of the event","readOnly":false},"ActivityData":{"type":"object","properties":{"name":{"maxLength":100,"minLength":1,"pattern":"^[A-Z0-9_]+$","type":"string","description":"Activity name"},"value":{"maxLength":400,"minLength":1,"pattern":"^[a-zA-Z0-9\\s\\W]+$","type":"string","description":"Activity metadata value, for Note activity type this is the note entered by the user"}},"additionalProperties":false,"description":"Activity related data"},"AccuracyRating":{"type":"string","description":"Accuracy rating for the event","enum":["NotGiven","VeryLow","Low","Ok","High","VeryHigh"]},"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"},"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},"ProblemJson":{"title":"An RFC 9457 problem object","type":"object","properties":{"debugId":{"maxLength":120,"minLength":8,"pattern":"^[^\\n]*$","type":"string","description":"A unique error identifier string generated on the service-side and logged for correlation purposes. Verizon extension to RFC 9457."},"instance":{"maxLength":2000,"minLength":0,"pattern":"^[^\\n]*$","type":"string","description":"A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.","format":"uri-reference"},"errors":{"maxItems":50,"minItems":0,"type":"array","description":"List of errors. Verizon extension to RFC 9457.","items":{"$ref":"#/components/schemas/ProblemError"}},"detail":{"maxLength":2048,"minLength":8,"pattern":"^[^\\n]*$","type":"string","description":"A human-readable explanation specific to this occurrence of the problem."},"title":{"maxLength":1024,"minLength":8,"pattern":"^[^\\n]*$","type":"string","description":"A short, human-readable summary of the problem type."},"status":{"maximum":599,"minimum":300,"type":"integer","description":"The HTTP status code generated by the origin server for this occurrence of the problem.","format":"int32"},"pointer":{"maxLength":120,"minLength":1,"pattern":"^(\\/[^\\n]+)*$","type":"string","description":"A pointer to locate the problem within the request's content using a JSON Pointer. Verizon extension to RFC 9457."},"type":{"maxLength":2000,"minLength":0,"pattern":"^[^\\n]*$","type":"string","description":"A URI reference that identifies the problem type.","format":"uri-reference"}},"additionalProperties":false,"description":"Schema for Problem Details (RFC 9457). Additional properties specific to the problem type may be present."},"InsertActivityCommand":{"required":["activityData","activityTypeId"],"type":"object","properties":{"activityData":{"minLength":1,"type":"string","description":"Activity data in JSON format"},"activityTypeId":{"$ref":"#/components/schemas/ActivityType"},"userId":{"type":"integer","description":"User ID associated with the activity","format":"int32","nullable":true}},"additionalProperties":false},"LastNotesByEventIdsQueryResponse":{"type":"object","properties":{"occurredAt":{"type":"string","description":"Date and time video event occurred at (UTC timestamp).","format":"date-time"},"vehicleId":{"maximum":2147483647,"minimum":1,"type":"integer","description":"The unique identifier of the vehicle the camera is installed in.","format":"int32"},"eventId":{"maxLength":2147483647,"minLength":1,"type":"integer","description":"The unique identifier of the event.","format":"int32"},"eventLastNotes":{"maxItems":100,"minItems":0,"type":"array","description":"List of notes of the event.","items":{"$ref":"#/components/schemas/LastNotesByEventIdsItem"}},"driverId":{"maximum":2147483647,"minimum":1,"type":"integer","description":"The unique identifier of the driver who was assigned to the vehicle when the event occurred.","format":"int32"}},"additionalProperties":false},"TriggerTagTypeDetail":{"type":"object","properties":{"tagName":{"type":"string","description":"Tag name","nullable":true,"example":"TIREDNESS"},"triggerTypeName":{"type":"string","description":"Trigger Type Name","nullable":true,"example":"Phone Call Detection"},"tagValues":{"type":"array","description":"Tag values","nullable":true,"example":["calling:*"],"items":{"type":"string"}},"preferenceName":{"type":"string","description":"Preference name","nullable":true,"example":"Drowsiness_Enabled"},"triggerTypeValue":{"type":"string","description":"Trigger Type Value","nullable":true,"example":"Calling"},"displayOrder":{"type":"integer","description":"Display order","format":"int32","example":6},"isExperimental":{"type":"boolean","description":"Flag to indicate if trigger is experimental","example":true},"isPersistable":{"type":"boolean","description":"Flag to indicate if trigger is persistable","example":true},"triggerTypeAcronym":{"type":"string","description":"Trigger Type Acronym","nullable":true,"example":"CAL"}},"additionalProperties":false},"EventSummaryDetails":{"required":["driverId","numberOfVideos","vehicleId"],"type":"object","properties":{"occurredAt":{"type":"string","description":"Date and time video event occurred at (UTC timestamp).","format":"date-time"},"vehicleId":{"maximum":2147483647,"minimum":1,"type":"integer","description":"The unique identifier of the vehicle the camera is installed in.","format":"int32"},"numberOfVideos":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Number of videos for that event.","format":"int32"},"thumbnailUrl":{"maxLength":65519,"minLength":0,"pattern":"^https?:\\/\\/[^\\s/$.?#].[^\\s]*$","type":"string","description":"Main video thumbnail URL"},"driverId":{"maximum":2147483647,"minimum":1,"type":"integer","description":"The unique identifier of the driver who was assigned to the vehicle when the event occurred.","format":"int32"}},"additionalProperties":false,"description":"Event Summary Details"},"LastNotesByEventIdsItem":{"type":"object","properties":{"createdAt":{"maxLength":100,"type":"string","description":"Export request created date (UTC timestamp).","format":"date-time"},"content":{"maximum":2147483647,"minimum":1,"type":"string","description":"The unique identifier of the vehicle the camera is installed in.","format":"int32"}}},"Video":{"type":"object","properties":{"recordingDevice":{"type":"object","properties":{"assignedFunction":{"type":"string","description":"Device function","example":"ROAD","enum":["ROAD","DRIVER","DRIVER_SIDE","PASSENGER_SIDE","REAR","CARGO","OTHER"]}},"additionalProperties":false,"description":"Recording device details"},"channel":{"maximum":6,"minimum":1,"type":"integer","description":"Video channel","format":"int32","example":1},"videoUrl":{"maxLength":1000,"minLength":0,"pattern":"^https?:\\/\\/[^\\s/$.?#].[^\\s]*$","type":"string","description":"Main video URL","example":"https://www.example.mp4"},"videoId":{"maxLength":100,"minLength":1,"pattern":"^[1-9]\\d*$","type":"string","description":"Unique identifier of the footage","example":"123456"},"overlayUrl":{"maxLength":1000,"minLength":0,"pattern":"^https?:\\/\\/[^\\s/$.?#].[^\\s]*$","type":"string","description":"Overlay file URL (gzipped json) with bounding boxes and metadata","example":"https://www.example.com/overlay.json.gz"},"endedAt":{"maxLength":100,"type":"string","description":"Video end time (UTC timestamp)","format":"date-time"},"thumbnailUrl":{"maxLength":1000,"minLength":0,"pattern":"^https?:\\/\\/[^\\s/$.?#].[^\\s]*$","type":"string","description":"Main video thumbnail URL","example":"https://www.example.com/thumbnail.jpg"},"expiresAt":{"maxLength":100,"type":"string","description":"Video expiration date","format":"date-time"},"startedAt":{"maxLength":100,"type":"string","description":"Video start time (UTC timestamp)","format":"date-time"}},"additionalProperties":false,"readOnly":true},"DownloadRequestConditions":{"maxItems":15,"minItems":1,"type":"array","description":"Group of conditions to filter by the resource representation.","example":[{"field":"drawMetadata","values":["false"],"operator":"EQUALS"},{"field":"zipFile","values":["true"],"operator":"EQUALS"}],"items":{"required":["field","operator","values"],"type":"object","properties":{"field":{"maxLength":100,"minLength":1,"pattern":"^(drawMetadata|zipFile)$","type":"string","description":"Name of the property to be evaluated."},"values":{"maxItems":100,"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 'EQUALS'.","enum":["EQUALS"],"default":"EQUALS"}},"additionalProperties":false}},"VideoEventClassification":{"type":"string","description":"Video event classification","enum":["Unclassified","HarshDriving","NearMiss","Collision","LowRisk"]},"Tracking":{"type":"object","properties":{"speedLimitUnit":{"type":"string","description":"Speed limit unit type","enum":["KMH","MPH"]},"heading":{"pattern":"^-?\\d+(\\.\\d{1,2})?$","type":"number","additionalProperties":false,"description":"Heading direction in degrees","format":"double"},"longitude":{"maximum":180,"minimum":-180,"type":"number","description":"Longitude of the event","format":"double","example":-6.26031},"latitude":{"maximum":90,"minimum":-90,"type":"number","description":"Latitude of the event","format":"double","example":53.349804},"gpsUpdatedAt":{"maxLength":100,"type":"string","description":"GPS Update (UTC timestamp)","format":"date-time"},"speed":{"maximum":300,"minimum":0,"type":"number","description":"Speed of the vehicle","format":"double"},"speedLimit":{"maximum":300,"minimum":0,"type":"integer","description":"Speed limit of the road","format":"int32","nullable":true}},"additionalProperties":false,"readOnly":true},"DriverNoteQueryResponse":{"type":"object","properties":{"driverNotes":{"type":"array","description":"Array of driver notes.","nullable":true,"items":{"$ref":"#/components/schemas/DriverNoteResponse"}},"totalNotes":{"type":"integer","description":"Total number of notes available for the driver.","format":"int32"}},"additionalProperties":false,"description":"Response containing driver notes with pagination information."},"CoachingBehaviorsResponse":{"type":"object","properties":{"coachingStatusId":{"type":"integer","description":"Unique identifier for the coaching status.","format":"int32","readOnly":true,"example":1},"classification":{"type":"integer","description":"Classification","format":"int32","readOnly":true,"example":3},"triggerTagName":{"maxLength":1000,"minLength":0,"pattern":"^[A-Za-zÀ-ÖØ-öø-ÿ' -]+$","type":"string","description":"event trigger name.","readOnly":true,"example":"TAILGATING"},"driverId":{"type":"integer","description":"The unique identifier of the driver who was assigned to the vehicle when the event occurred.","format":"int32","readOnly":true,"example":10005},"vehicleId":{"type":"integer","description":"The unique identifier of the vehicle the camera is installed in.","format":"int32","readOnly":true,"example":20004},"tags":{"maxItems":15,"minItems":1,"type":"array","description":"List of tags characterizing the driving behavior or the external context when the event occurred.","items":{"type":"string","example":"Distracted"}}},"additionalProperties":false},"VideoEventTagRawData":{"type":"object","properties":{"name":{"maxLength":50,"minLength":1,"pattern":"^[a-zA-Z0-9\\s\\W]+$","type":"string","description":"Tag name","nullable":false},"value":{"maxLength":50,"minLength":1,"pattern":"^[a-zA-Z0-9\\s\\W]+$","type":"string","description":"Tag value","nullable":false},"metadata":{"type":"object","additionalProperties":true,"description":"MetaData for the tag","nullable":true,"example":"{StartSecond, EndSecond}"}},"additionalProperties":false},"EventSummaryResponse":{"required":["details","eventId","eventStatus"],"type":"object","properties":{"eventId":{"type":"integer","description":"Event unique identifier.","format":"int64"},"details":{"$ref":"#/components/schemas/EventSummaryResponseDetails"},"eventStatus":{"minLength":1,"pattern":"^(available|notFound|expired)$","type":"string","description":"Event availability status."}},"additionalProperties":false,"description":"Event summary response containing basic event information and status."},"VideoEventTriggerRawData":{"type":"object","properties":{"triggerData":{"type":"object","additionalProperties":true,"description":"MetaData for the tag","example":"{StartSecond, EndSecond}"},"triggerTypeId":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Trigger type id","format":"int32","nullable":false},"occurredAt":{"maxLength":100,"minLength":1,"type":"string","description":"Date and time trigger occurred at (UTC timestamp).","format":"date-time","nullable":false}},"additionalProperties":false},"EventQuery":{"type":"object","properties":{"pagination":{"required":["limit"],"type":"object","properties":{"pageToken":{"maxLength":36,"minLength":10,"pattern":"^[a-zA-Z0-9_]+$","type":"string","description":"An optional pagination token from a previous API response. Provide this token to retrieve the next page of results. If omitted or null, the search will return the first page.","nullable":true},"limit":{"maximum":100,"minimum":1,"type":"integer","description":"It defines the number of entries on the selected page. The default value is 20.","format":"int32","default":20},"totalRequired":{"type":"boolean","description":"It is used to return the total number of items.","default":false}},"additionalProperties":false,"description":"It defines parameters for controlling the pagination of results, allowing users to navigate through large datasets.","example":{"limit":20,"totalRequired":true}},"orderBy":{"maxItems":1,"minItems":1,"type":"array","description":"Group of sorting requests of the resource representation based on one or more properties of the entity.","example":[{"field":"occurredAt","sortOrder":"DESC"}],"items":{"required":["field","sortOrder"],"type":"object","properties":{"field":{"maxLength":255,"minLength":1,"pattern":"^occurredAt$","type":"string","description":"Name of the property to be sorted by."},"sortOrder":{"type":"string","description":"Sort order","enum":["DESC"],"default":"DESC"}},"additionalProperties":false}},"conditions":{"$ref":"#/components/schemas/Conditions"},"fields":{"maxItems":100,"minItems":0,"uniqueItems":true,"type":"array","description":"Resource properties to return. If not provided, the response will include the default properties.","example":["videoEventId","occurredAt","driverId","vehicleId","address","classification","tags","triggers","coachingStatus","media","activities"],"items":{"maxLength":255,"minLength":1,"pattern":"^(videoEventId|occurredAt|driverId|vehicleId|fleetItemId|address|classification|tags|triggers|coachingStatus|media|activities)$","type":"string","description":"Field or property name"}}},"additionalProperties":false,"description":"criteria to search for events","writeOnly":true},"UserConfigurationRequest":{"type":"object","properties":{"filterConfiguration":{"type":"object","properties":{"collision":{"type":"boolean","description":"Indicates whether collision events should be filtered."},"dangerousDriving":{"type":"boolean","description":"Indicates whether dangerous driving events should be filtered."},"lowRisk":{"type":"boolean","description":"Indicates whether low-risk events should be filtered."},"harshDriving":{"type":"boolean","description":"Indicates whether harsh driving events should be filtered."}},"additionalProperties":false,"description":"Filter configuration for user settings."},"filterType":{"maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9_\\-]+$","type":"string","description":"Type of filter to be applied.","example":"harshDriving"}},"additionalProperties":false,"description":"Schema for user configuration requests."},"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},"EventClassification":{"type":"string","description":"Event classification","enum":["UNDETERMINED","MODERATE","MAJOR","CRITICAL","MINOR","REQUESTED"]},"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"},"EventFeedbackQueryResponse":{"type":"object","properties":{"eventFeedbackKey":{"type":"string","description":"Event feedback key","nullable":true},"comment":{"type":"string","description":"User comment","nullable":true},"userId":{"type":"integer","description":"User ID","format":"int32"},"eventFeedbackId":{"type":"integer","description":"Event feedback ID","format":"int64"},"eventId":{"type":"integer","description":"Event ID","format":"int64"},"accuracyRating":{"$ref":"#/components/schemas/AccuracyRating"},"accountId":{"type":"integer","description":"Account ID","format":"int32"},"proposedClassification":{"$ref":"#/components/schemas/EventClassification"},"createdDateUtc":{"type":"string","description":"Date when feedback was created","format":"date-time"},"proposedEventName":{"type":"string","description":"Proposed event name","nullable":true}},"additionalProperties":false},"EventSummaryResponseDetails":{"required":["driverId","numberOfVideos","vehicleId"],"type":"object","properties":{"eventDateUtc":{"type":"string","description":"Date and time when the event occurred (UTC timestamp).","format":"date-time","nullable":true},"vehicleId":{"maximum":2147483647,"minimum":1,"type":"integer","description":"The unique identifier of the vehicle the camera is installed in.","format":"int32"},"numberOfVideos":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Number of videos associated with the event.","format":"int32"},"thumbnailUrl":{"maxLength":65519,"minLength":0,"type":"string","description":"Event thumbnail URL.","nullable":true},"driverId":{"maximum":2147483647,"minimum":1,"type":"integer","description":"The unique identifier of the driver who was assigned to the vehicle when the event occurred.","format":"int32"}},"additionalProperties":false,"description":"Event summary details containing driver, vehicle, and media information."},"VideoEventTrackingRawData":{"type":"object","properties":{"longitude":{"maximum":180,"minimum":-180,"type":"number","description":"Longitude of the event","format":"double","example":-6.26031},"latitude":{"maximum":90,"minimum":-90,"type":"number","description":"Latitude of the event","format":"double","example":53.349804},"gpsUpdatedAt":{"maxLength":100,"type":"string","description":"GPS Update (UTC timestamp)","format":"date-time"},"speed":{"maximum":10000000,"minimum":0,"type":"number","description":"Speed of the vehicle","format":"double"},"gpsDataItem":{"maxLength":1000,"minLength":0,"type":"string","description":"Array of gps data items in Json format"}},"additionalProperties":false,"description":"Tracking data of the event"},"VideoEventRawData":{"type":"object","properties":{"classification":{"type":"integer","description":"Classification","format":"int32","enum":[0,1,2,3,4]},"vtuEventType":{"maximum":2147483647,"minimum":0,"type":"integer","description":"Event type","format":"int32"},"thumbnailUrl":{"maxLength":250,"minLength":5,"pattern":"^https?:\\/\\/[^\\s/$.?#].[^\\s]*$","type":"string","description":"Event Thumbnail static URL","example":"https://www.example.com/thumbnail.jpg"},"eventGenerationType":{"type":"integer","description":"Event generation type","format":"int32","enum":[0,1,2,3,4,5]},"occurredAt":{"maxLength":100,"minLength":1,"type":"string","description":"Date and time video event occurred at (UTC timestamp).","format":"date-time"},"classificationThumbnailUrl":{"maxLength":250,"minLength":5,"pattern":"^https?:\\/\\/[^\\s/$.?#].[^\\s]*$","type":"string","description":"Event Classification Thumbnail URL.","example":"https://www.example.com/thumbnail.jpg"},"startSpeed":{"maximum":100000000,"minimum":0,"pattern":"^-?\\d+(\\.\\d{1,2})?$","type":"number","description":"Start Speed of the vehicle.","format":"float"},"analysed":{"type":"boolean","description":"Flag to indicate if the event has been analysed."},"vehicleTrackingId":{"maximum":9223372036854776000,"minimum":0,"type":"integer","description":"The unique identifier of the vehicle tracking.","format":"int64"},"cornering":{"type":"integer","description":"Cornering","format":"int32","enum":[1,2]},"maxAcceleration":{"maximum":100000000,"minimum":-100000000,"pattern":"^-?\\d+(\\.\\d{1,2})?$","type":"number","description":"Acceleration of the vehicle.","format":"float"},"driverId":{"maximum":2147483647,"minimum":0,"type":"integer","description":"The unique identifier of the driver.","format":"int32"},"requestId":{"maxLength":50,"minLength":1,"type":"string","description":"Request ID"},"vehicleId":{"maximum":2147483647,"minimum":0,"type":"integer","description":"The unique identifier of the vehicle the camera is installed in.","format":"int32"},"endSpeed":{"maximum":100000000,"minimum":0,"pattern":"^-?\\d+(\\.\\d{1,2})?$","type":"number","description":"End Speed of the vehicle.","format":"float"},"duration":{"maximum":100000000,"minimum":0,"pattern":"^-?\\d+(\\.\\d{1,2})?$","type":"number","description":"Duration of the event.","format":"float"}},"additionalProperties":false,"description":"Video Event Raw Data"},"ActivityType":{"type":"string","description":"Activity Type ID used to determine the type of activity.","enum":["UNKNOWN","NOTE","COACHING_STATUS","VIDEO_WATCHED","VIDEO_STARRED","VIDEO_DOWNLOADED","CLASSIFICATION_UPDATED","EVENT_DISMISSED","USER_FEEDBACK"]},"DriverNoteResponse":{"type":"object","properties":{"userId":{"type":"integer","description":"The identifier of the user who created the note.","format":"int32"},"eventDateUtc":{"type":"string","description":"Date and time when the event occurred (UTC timestamp).","format":"date-time"},"activityData":{"type":"string","description":"Activity data in JSON format.","nullable":true},"activityTypeId":{"type":"integer","description":"The identifier of the activity type.","format":"int32"},"videoEventId":{"type":"integer","description":"The unique identifier of the video event.","format":"int64"},"videoEventActivityId":{"type":"integer","description":"The unique identifier of the video event activity.","format":"int64"},"accountId":{"type":"integer","description":"The identifier of the account associated with the event.","format":"int32"},"systemId":{"type":"integer","description":"The identifier of the system where the data belongs (1=Reveal, 2=Fleet, 3=Hum).","format":"int32"},"classification":{"type":"integer","description":"The classification of the event.","format":"int32"},"createdDateUtc":{"type":"string","description":"Date and time when the note was created (UTC timestamp).","format":"date-time"},"tags":{"type":"string","description":"Associated tags with the event.","nullable":true}},"additionalProperties":false,"description":"Individual driver note response."},"NewEventResponse":{"type":"object","properties":{"videoEventId":{"maxLength":35,"minLength":0,"pattern":"^[0-9_]+$","type":"string","description":"Video Event unique identifier.","example":"2025010121000012345"}},"additionalProperties":false},"TriggerTagTypeResponse":{"type":"object","properties":{"groupTypeName":{"type":"string","description":"Group Type Name","nullable":true,"example":"Driver-facing events"},"groupTypeAcronym":{"type":"string","description":"Group Type Acronym","nullable":true,"example":"DFE"},"triggerTagTypes":{"type":"array","description":"list of trigger tag types","nullable":true,"items":{"$ref":"#/components/schemas/TriggerTagTypeDetail"}},"displayOrder":{"type":"integer","description":"display Order of trigger tag types","format":"int32","example":2}},"additionalProperties":false},"EventMedia":{"required":["animatedThumbmailUrl","thumbnailUrl"],"type":"object","properties":{"thumbnailUrl":{"maxLength":250,"minLength":5,"pattern":"^https?:\\/\\/[^\\s/$.?#].[^\\s]*$","type":"string","description":"Event Thumbnail static URL","example":"https://www.example.com/thumbnail.jpg"},"animatedThumbmailUrl":{"maxLength":250,"minLength":10,"pattern":"^https?:\\/\\/[^\\s/$.?#].[^\\s]*$","type":"string","description":"Event Thumbnail animated URL","example":"https://www.example.com/animatedthumbnail.gif"},"video":{"maxItems":6,"minItems":1,"type":"array","description":"A list of videos associated with each function: road, driver, passenger side, driver side, cargo and rear.","items":{"$ref":"#/components/schemas/Video"}}},"additionalProperties":false,"description":"Event Related media URLs","readOnly":true},"ProblemError":{"title":"Verizon's extension to RFC 9457 Problem Details","required":["debugId","detail"],"type":"object","properties":{"pointer":{"maxLength":120,"minLength":1,"pattern":"^(\\/[^\\n]+)*$","type":"string","description":"A pointer to locate the problem within the request's content using a JSON Pointer"},"detail":{"maxLength":2048,"minLength":8,"pattern":"^[^\\n]*$","type":"string","description":"A human-readable explanation specific to this occurrence of the problem"},"debugId":{"maxLength":120,"minLength":8,"pattern":"^[^\\n]*$","type":"string","description":"A unique error identifier string generated on the service-side and logged for correlation purposes"}},"additionalProperties":false,"description":"Schema for a Verizon extension of Problem Details (RFC 9457). Additional properties specific to the problem type may be present."},"EventList":{"type":"object","properties":{"pageToken":{"maxLength":35,"minLength":0,"pattern":"^[0-9_]+$","type":"string","description":"A pagination token corresponding to the videoEventId of the last item in this result set. Include this token in your next request to fetch the subsequent page of results.","example":"2025010121000012345"},"events":{"maxItems":100,"minItems":0,"type":"array","description":"List of video events.","items":{"$ref":"#/components/schemas/Event"}},"totalItems":{"maximum":2147483647,"minimum":0,"type":"integer","description":"It identifies the total number of items in the collection.","format":"int32"}},"additionalProperties":false,"description":"Event list response schema","readOnly":true},"EventSummary":{"required":["details","eventId","eventStatus"],"type":"object","properties":{"eventId":{"maxLength":2147483647,"minLength":1,"type":"string","description":"The unique identifier of the event."},"details":{"$ref":"#/components/schemas/EventSummaryDetails"},"eventStatus":{"maxLength":12,"minLength":1,"type":"string","description":"The status of the event.","enum":["AVAILABLE","NOT_FOUND","EXPIRED","NOT_AVAILABLE"]}},"additionalProperties":false},"InsertEventViewCommandParams":{"required":["timeUTC"],"type":"object","properties":{"timeUTC":{"type":"string","description":"UTC timestamp when the event was viewed","format":"date-time"}},"additionalProperties":false},"Event":{"required":["address","classification","coachingStatus","driverId","fleetItemId","media","occurredAt","tags","triggers","vehicleId","videoEventId"],"type":"object","properties":{"vehicleId":{"maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9]+$","type":"string","description":"The unique identifier of the vehicle the camera is installed in.","readOnly":true,"example":"154471"},"fleetItemId":{"type":"string","format":"uuid","description":"The unique identifier of the fleet item (vehicle) where the camera is installed. This is the preferred identifier moving forward and will eventually replace vehicleId.","readOnly":true,"example":"1036cff3-7457-4939-9914-d0d8195a4e6e"},"tracking":{"maxItems":100,"minItems":0,"type":"array","description":"Video Event tracking details.","items":{"$ref":"#/components/schemas/Tracking"}},"isDismissed":{"type":"boolean","description":"Flag to indicate whether or not the event has been excluded from safety metrics.","example":false},"activities":{"maxItems":100,"minItems":0,"type":"array","description":"List of event activities","items":{"$ref":"#/components/schemas/EventActivity"}},"address":{"$ref":"#/components/schemas/EventAddress"},"tags":{"maxItems":15,"minItems":1,"type":"array","description":"List of tags characterizing the driving behavior or the external context when the event occurred.","items":{"$ref":"#/components/schemas/Tag"}},"videoEventId":{"maxLength":35,"minLength":1,"pattern":"^[0-9_]+$","type":"string","description":"Video Event unique identifier.","example":"2025010121000012345"},"requestId":{"maxLength":50,"minLength":1,"type":"string","description":"Request ID","readOnly":true,"example":"43e4ca6a-ad84-4d73-9cbc-cc454e0fda3a"},"occurredAt":{"maxLength":100,"minLength":1,"type":"string","description":"Date and time video event occurred at (UTC timestamp).","format":"date-time"},"driverId":{"maxLength":100,"minLength":1,"pattern":"^[a-zA-Z0-9]+$","type":"string","description":"The unique identifier of the driver who was assigned to the vehicle when the event occurred.","readOnly":true,"example":"22234"},"triggers":{"maxItems":15,"minItems":0,"type":"array","description":"Video Event triggers details.","items":{"maxLength":100,"minLength":1,"type":"string","description":"Trigger name","readOnly":true,"example":"HARD_BRAKING","enum":["HARD_BRAKING","HARSH_CORNERING","HARD_ACCELERATION","SUDDEN_FORCE","PEDESTRIAN_COLLISION_WARNING","TAILGATING","TIREDNESS","DISTRACTION","PHONE_CALL_DETECTION","SMOKING","DRIVER_REQUESTED_VIDEO","LANE_DEPARTURE","USER_REQUESTED_VOD"]}},"classification":{"maxLength":100,"minLength":1,"type":"string","description":"Classification","example":"MINOR","enum":["MINOR","MODERATE","MAJOR","CRITICAL"]},"media":{"$ref":"#/components/schemas/EventMedia"},"coachingStatus":{"maxLength":100,"minLength":1,"type":"string","description":"Coaching Status","readOnly":false,"example":"COACHING_NEEDED","enum":["REVIEW_PENDING","COACHING_NEEDED","COACHING_NOT_NEEDED","COACHING_COMPLETE"]}},"additionalProperties":false,"readOnly":false},"Tag":{"type":"object","properties":{"name":{"maxLength":100,"minLength":1,"type":"string","description":"Tag name","example":"SPEEDING","enum":["HARD_BRAKING","HARSH_CORNERING","HARD_ACCELERATION","SUDDEN_FORCE","PEDESTRIAN_COLLISION_WARNING","TAILGATING","TIREDNESS","DISTRACTION","PHONE_CALL_DETECTION","SMOKING","DRIVER_REQUESTED_VIDEO","LANE_DEPARTURE","ROLLING_STOP","SPEEDING","PHONE_DISTRACTION","SEATBELT","COLLISION","NEAR_MISS","TRAFFIC_LIGHT_VIOLATION","FOOD_IN_HAND","ROAD_CAMERA_COVERED","DRIVER_CAMERA_COVERED","USER_REQUESTED_VOD"]},"metadata":{"type":"object","additionalProperties":true,"description":"MetaData for the tag","example":"{StartSecond, EndSecond}"}},"additionalProperties":false,"description":"Driving behavior or external context when the event occurred","readOnly":true}},"responses":{"BadRequest":{"description":"Bad Request","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"NoContent":{"description":"No Content"},"TooManyRequests":{"description":"Too Many Requests","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"UnsupportedMediaType":{"description":"Unsupported Media Type","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"Forbidden":{"description":"Forbidden","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"Unauthorized":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"InternalServerError":{"description":"Internal Server Error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"ItemAlreadyLocked":{"description":"Item Already Locked","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}},"NotFound":{"description":"Not Found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemJson"}}}}},"securitySchemes":{"Bearer":{"type":"apiKey","description":"JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"","name":"Authorization","in":"header"}}},"tags":[{"name":"Video Event API","description":"Operations for searching video events and retrieving a single video event, with its footage and classification."}],"servers":[{"url":"https://api.us.vzconnect.com"}]}
```
