Skip to content

Commit

Permalink
fix(ContactPoint): Make telephone number prop conistent with Person
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Aug 21, 2019
1 parent 92c0871 commit d5e0f87
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions schema/ContactPoint.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ extends: Thing
role: tertiary
status: unstable
category: metadata
description: A contact pointfor example, a R&D department.
description: A contact point, for example, a R&D department.
properties:
availableLanguages:
'@id': schema:availableLanguage
Expand All @@ -21,8 +21,11 @@ properties:
items:
type: string
format: email
telephone:
telephoneNumbers:
'@id': schema:telephone
description: 'The telephone number of the contact point. Accepted formats: +44 123455, (02)12345, 006645667.'
type: string
pattern: '^[+#*\(\)\[\]]*([0-9][ ext+-pw#*\(\)\[\]]*){6,45}$'
aliases:
- telephone
description: Telephone numbers for the contact point.
type: array
items:
type: string

0 comments on commit d5e0f87

Please sign in to comment.