Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No defined pattern for phoneNumber field in KYC Match nor KYC Fill-In yaml files #160

Open
GillesInnov35 opened this issue Oct 29, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@GillesInnov35
Copy link
Collaborator

GillesInnov35 commented Oct 29, 2024

Problem description
There isn't any defined pattern for phoneNumber field in KYC Match nor KYC Fill-In as it exists in the others CAMARA API

Possible evolution
Add bellow pattern in the yaml file following https://github.com/camaraproject/Commonalities/blob/main/artifacts/CAMARA_common.yaml

 pattern: '^\+[1-9][0-9]{4,14}$'
 example: "+34623456789"
@GillesInnov35 GillesInnov35 added the enhancement New feature or request label Oct 29, 2024
@GillesInnov35
Copy link
Collaborator Author

hi all, to be aligned with Commonalities, we should plan to add phone number pattern format in the next version of KYC APIs.
BR
Gilles

@ToshiWakayama-KDDI
Copy link
Collaborator

Hi @GillesInnov35 ,

Quick question, please.

pattern: '^+[1-9][0-9]{4,14}$'

Does this include 3-digit country codes? I am not quite sure how I should read this, but it seems to me that '[1-9][0-9]' expresses 2-digit country codes only???

Thanks,
Toshi

@GillesInnov35
Copy link
Collaborator Author

hi @ToshiWakayama-KDDI , yes it works for all countries. That's why you should find this pattern in each CAMARA yaml file fir phone number parameter.
Thanks
Gilles

@ToshiWakayama-KDDI
Copy link
Collaborator

Got it. Thanks @GillesInnov35 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants