Fleet Driver Schema
Felder
Fleet Driver Schema
Schema for validating fleet driver / Fahrer entities
userId
Reference to internal user (optional for external drivers)
employeeProfileId
Reference to employee_profiles entity. When set, personal data (name, email, phone, department, employeeNumber) is read live from the profile and cannot be edited on the driver.
firstName
First name / Vorname
lastName
Last name / Nachname
email
Email address
phone
Phone number
employeeNumber
Employee number / Personalnummer
department
Department / Abteilung
licenseNumber
Driver license number / Führerscheinnummer
licenseClasses
License classes (e.g. B, BE, C1, CE)
licenseExpiry
License expiry date
licenseIssuedDate
License issue date
licenseIssuingAuthority
Issuing authority / Ausstellende Behörde
lastLicenseCheckDate
Last driver license check date
nextLicenseCheckDate
Next driver license check due date
licenseCheckResult
Result of last license check
VALIDEXPIREDSUSPENDEDRESTRICTEDlicenseCheckStatus
Self-service license check workflow status
NONEAWAITING_UPLOADAWAITING_AI_REVIEWAWAITING_MANAGER_REVIEWVALIDREJECTEDlicenseCheckTokenHash
SHA256 hash of the self-service token
licenseCheckTokenExpiresAt
Token expiry timestamp
licenseCheckRequestedAt
When the check was last requested
licenseCheckRequestedBy
userId of the fleet manager who requested the check
licenseCheckFrontAttachmentId
File ID for front of license photo
licenseCheckBackAttachmentId
File ID for back of license photo
licenseCheckUploadedAt
When the driver uploaded their license photos
licenseCheckAiReviewStatus
AI review processing status
pendingcompletedfailedlicenseCheckAiReviewFeedback
AI review feedback text
licenseCheckAiReviewScore
AI review score (0-100)
licenseCheckAiReviewConfidence
AI review confidence (0-1)
licenseCheckAiNameMatch
Whether the name on the license matches the driver record
licenseCheckConsentGivenAt
Timestamp when the driver consented to digital/AI processing
licenseCheckAiExtractedData
AI-extracted license data (number, classes, expiry, holder name)
uvvStatus
UVV inspection status
CURRENTOVERDUENOT_REQUIREDlastUvvDate
Last UVV inspection date
nextUvvDate
Next UVV inspection due date
uvvTrainingRequired
Whether this driver requires UVV training (Fahrerunterweisung)
uvvRecurrenceMonths
Recurrence interval in months (typically 12 for annual)
lastUvvCompletedAt
Date when last UVV training cycle was fully completed (denormalized)
nextUvvDueDate
Deadline for next UVV training cycle (denormalized)
uvvTrainingCourseId
DEPRECATED — LMS course ID, now lives on training_assignment
uvvTrainingStatus
DEPRECATED — status now derived from training_assignments
NOT_REQUIREDPENDINGIN_PROGRESSAWAITING_ORAL_CONFIRMATIONAWAITING_DRIVER_ACKNOWLEDGMENTCURRENTOVERDUEuvvTrainingRecurrenceMonths
DEPRECATED — use uvvRecurrenceMonths instead
lastUvvTrainingDate
DEPRECATED — use lastUvvCompletedAt instead
nextUvvTrainingDate
DEPRECATED — use nextUvvDueDate instead
activeTrainingAssignmentId
DEPRECATED — derived from training_assignments query
uvvOralConfirmedAt
DEPRECATED — oral confirmation removed
uvvOralConfirmedBy
DEPRECATED — oral confirmation removed
uvvDriverAcknowledgedAt
DEPRECATED — oral confirmation removed
uvvAcknowledgmentTokenHash
DEPRECATED — oral confirmation removed
uvvAcknowledgmentTokenExpiresAt
DEPRECATED — oral confirmation removed
status
Driver status
ACTIVEINACTIVESUSPENDEDassignedVehicleIds
Assigned vehicle IDs
notes
Free-text notes
Keine Felder passen zum Filter.
Standard-Endpoints
Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:
GET /api/v1/fleet_drivers— Liste, paginiert + filterbarGET /api/v1/fleet_drivers/<id>— Einzelne EntityPOST /api/v1/fleet_drivers— AnlegenPATCH /api/v1/fleet_drivers/<id>— Teil-UpdateDELETE /api/v1/fleet_drivers/<id>— Soft-DeleteGET /api/v1/fleet_drivers/<id>/timeline— Audit + Aktivitäten