Skip to content

feat(jor): Add Jordan national ID validator #59

@AngusHsu

Description

@AngusHsu

Description

Add support for Jordan National ID (الرقم الوطني).

Parent Epic

#14 - Add support for new countries

Jordan National ID Format

  • 10 digits
  • Contains birth year and sequence information

Tasks

  • Research and verify format
  • Create src/countries/jor/ directory
  • Implement NationalId 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
  • Format documented
  • Test coverage 80%+

Labels

enhancement, new-country, jordan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions