EmploymentHistoryDto Schema
The EmploymentHistoryDto contains information about an applicant’s employment history for verification purposes.Supported Fields
| Field | Required | Type | Rules and behavior |
|---|---|---|---|
employerName | Yes | string | Name of the employer or company. Example: "Tech Corp". |
position | Yes | string | Job title or position held. Example: "Software Engineer". |
startDate | Yes | string | Start date of employment in YYYY-MM-DD format. |
employerEmail | No | string | Employer contact email for verification. Must be valid when provided. |
employerPhone | No | string | Employer contact phone number for verification. |
endDate | No | string or null | End date of employment in YYYY-MM-DD format. Use null or omit for current employment. |
Complete Example
Validation Rules
- Date Format: All dates must be in YYYY-MM-DD format
- Email Format:
employerEmailmust be a valid email address if provided - Current Employment: Set
endDateto null for current employment
Related Schemas
- HistoryDto - Parent history schema
- VerificationRequestDto - Main verification request schema