{
"message": "Truckers retrieved successfully",
"data": {
"truckers": [
{
"_id": "507f1f77bcf86cd79943901e",
"driverLicense": "DF001100131",
"firstName": "Juan",
"lastName": "Perez",
"documentId": "CURP123456789",
"birthDate": "1985-03-15T00:00:00.000Z",
"driverLicenseCategory": "FEDERAL",
"driverLicenseExpirationDate": "2026-12-31T23:59:59.000Z",
"documents": [
{
"type": "driver_license",
"url": "https://documents.example.com/license123456.pdf"
},
{
"type": "medical_certificate",
"url": "https://documents.example.com/medical123456.pdf"
}
]
},
{
"_id": "507f1f77bcf86cd79943901f",
"driverLicense": "DF001100132",
"firstName": "Maria",
"lastName": "Lopez",
"documentId": "CURP987654321",
"birthDate": "1990-08-22T00:00:00.000Z",
"driverLicenseCategory": "FEDERAL",
"driverLicenseExpirationDate": "2025-11-30T23:59:59.000Z",
"documents": [
{
"type": "driver_license",
"url": "https://documents.example.com/license987654.pdf"
},
{
"type": "medical_certificate",
"url": "https://documents.example.com/medical987654.pdf"
}
]
}
],
"pagination": {
"page": 1,
"size": 20,
"totalTruckers": 275,
"totalPages": 14,
"hasNextPage": true,
"hasPreviousPage": false
}
}
}