Space Docs
Domain Model

Vehicle

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
workspaceIdstringYesID of the associated workspace
namestringYesName
labelunknownYesLabel
vehicleNumberunknownYesVehicle number
vinunknownYesVin
licensePlateunknownYesLicense plate
makeunknownYesMake
modelunknownYesModel
yearunknownYesYear
colorunknownYesColor
vehicleTypeenum(van, truck, car, service_vehicle, other)YesVehicle type
statusenum(active, inactive, maintenance, retired)YesStatus
assignedDriverIdunknownYesID of the associated assigned driver
notesunknownYesNotes

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
namestringYesName
labelunknownNoLabel
vehicleNumberunknownNoVehicle number
vinunknownNoVin
licensePlateunknownNoLicense plate
makeunknownNoMake
modelunknownNoModel
yearunknownNoYear
colorunknownNoColor
vehicleTypeenum(van, truck, car, service_vehicle, other)YesVehicle type
statusenum(active, inactive, maintenance, retired)YesStatus
assignedDriverIdunknownNoID of the associated assigned driver
notesunknownNoNotes

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
namestringNoName
labelunknownNoLabel
vehicleNumberunknownNoVehicle number
vinunknownNoVin
licensePlateunknownNoLicense plate
makeunknownNoMake
modelunknownNoModel
yearunknownNoYear
colorunknownNoColor
vehicleTypeenum(van, truck, car, service_vehicle, other)NoVehicle type
statusenum(active, inactive, maintenance, retired)NoStatus
assignedDriverIdunknownNoID of the associated assigned driver
notesunknownNoNotes

On this page