-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description
Add support for Costa Rica Cédula de Identidad.
Parent Epic
#14 - Add support for new countries
Costa Rica Cédula Format
- 9 digits
- Format: P-NNNN-NNNN
- P: Province digit (1-9)
- NNNN-NNNN: Sequential number
Tasks
- Research and verify format
- Create
src/countries/cri/directory - Implement Cedula validator class
- Implement validate() with checksum (if any)
- Implement parse() function
- Add to main dispatcher
- Add to getCountryIdFormat()
- Write comprehensive tests (80%+ coverage)
Acceptance Criteria
- Validation works correctly
- Handles format with/without dashes
- Test coverage 80%+
Labels
enhancement, new-country, costa-rica
Metadata
Metadata
Assignees
Labels
No labels