Skip to main content

The Vehicle Object

A Vehicle represents a vehicle involved in an accident. Vehicles are nested within a Case and can have associated crash parameters computed from damage analysis.

Object Structure

{
"id": "veh_abc123",
"role": "plaintiff",
"make": "Toyota",
"model": "Camry",
"year": "2020",
"vin": "4T1B11HK5LU123456",
"type": "sedan",
"edr_file_id": null,
"image_file_ids": ["file_img1", "file_img2", "file_img3"],
"files": [
{
"id": "file_img1",
"name": "front_damage.jpg",
"size": 245000,
"type": "image/jpeg",
"category": "crash_analysis_plaintiff",
"url": "https://storage.silentwitness.ai/...",
"uploaded_at": "2024-01-15T10:35:00Z"
}
],
"crash_parameters": {
"delta_v_min": 8.5,
"delta_v_max": 12.3,
"delta_v_method": "ml",
"pdof_degrees": 180,
"crash_pulse_min_ms": 12,
"crash_pulse_max_ms": 100,
"calculated_at": "2024-01-15T12:00:00Z"
}
}

Attributes

Core Fields

AttributeTypeDescription
idstringUnique identifier with veh_ prefix
rolestringVehicle role: plaintiff or defendant
makestringManufacturer (e.g., "Toyota", "Ford")
modelstringModel name (e.g., "Camry", "F-150")
yearstringModel year (e.g., "2020")
vinstringVehicle Identification Number (17 characters)
typestringVehicle type: sedan, suv, truck, van, motorcycle, other

File References

AttributeTypeDescription
edr_file_idstringFile ID of uploaded EDR data (null if not uploaded)
image_file_idsarrayArray of file IDs for uploaded damage photos
filesarrayFull file objects with metadata and URLs (for display)

File Object

AttributeTypeDescription
idstringFile identifier
namestringOriginal filename
sizeintegerFile size in bytes
typestringMIME type (e.g., "image/jpeg")
categorystringFile category (e.g., "crash_analysis_plaintiff")
urlstringSigned URL for file access
uploaded_atstringISO 8601 upload timestamp

Crash Parameters

AttributeTypeDescription
crash_parametersobjectComputed crash analysis data (null until calculated)

See Crash Parameters for the full object structure.

Vehicle Types

ValueDescription
sedanStandard passenger car
suvSport utility vehicle
truckPickup truck
vanMinivan or cargo van
motorcycleMotorcycle
otherOther vehicle type