Skip to content

Commit

Permalink
Make + prefix mandatory for phoneNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
jlurien committed Jun 13, 2024
1 parent a531a6a commit cf9e296
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/API_definitions/quality-on-demand.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -771,11 +771,11 @@ components:
example: "123456789@domain.com"

PhoneNumber:
description: A public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, optionally prefixed with '+'.
description: A public identifier addressing a telephone subscription. In mobile networks it corresponds to the MSISDN (Mobile Station International Subscriber Directory Number). In order to be globally unique it has to be formatted in international format, according to E.164 standard, prefixed with '+'.
type: string
pattern: '^\+?[0-9]{5,15}$'
example: "123456789"

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

Check failure on line 778 in code/API_definitions/quality-on-demand.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

778:1 [trailing-spaces] trailing spaces
DeviceIpv4Addr:
type: object
description: |
Expand Down

0 comments on commit cf9e296

Please sign in to comment.