-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathcontact.yaml
More file actions
125 lines (125 loc) · 3.28 KB
/
Copy pathcontact.yaml
File metadata and controls
125 lines (125 loc) · 3.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
---
type: object
description: |-
Identification of, and means of communication with, person responsible
for the resource.
anyOf:
- required:
- name
- required:
- organization
properties:
identifier:
type: string
description: |-
A value uniquely identifying a contact.
name:
type: string
description: |-
The name of the responsible person.
position:
type: string
description: |-
The name of the role or position of the responsible person taken
from the organization's formal organizational hierarchy or chart.
organization:
type: string
description: |-
Organization/affiliation of the contact.
logo:
description: |-
Graphic identifying a contact. The link relation should be `icon`
and the media type should be an image media type.
allOf:
- $ref: 'link.yaml'
- type: object
required:
- rel
- type
properties:
rel:
enum:
- icon
phones:
type: array
description: Telephone numbers at which contact can be made.
items:
type: object
required:
- value
properties:
value:
type: string
description: The value is the phone number itself.
pattern: "^\\+[1-9]{1}[0-9]{3,14}$"
roles:
description:
The type of phone number (e.g. home, work, fax, etc.).
$ref: 'roles.yaml'
emails:
type: array
description: Email addresses at which contact can be made.
items:
type: object
required:
- value
properties:
value:
type: string
description: The value is the email number itself.
format: email
roles:
description:
The type of email (e.g. home, work, etc.).
$ref: 'roles.yaml'
addresses:
type: array
description: Physical location at which contact can be made.
items:
type: object
properties:
deliveryPoint:
type: array
description: Address lines for the location.
items:
type: string
city:
type: string
description: City for the location.
administrativeArea:
type: string
description: State or province of the location.
postalCode:
type: string
description: ZIP or other postal code.
country:
type: string
description: |-
Country of the physical address. ISO 3166-1 is recommended.
roles:
description: |-
The type of address (e.g. office, home, etc.).
$ref: 'roles.yaml'
links:
type: array
description: On-line information about the contact.
items:
allOf:
- $ref: 'link.yaml'
- type: object
required:
- type
hoursOfService:
type: string
description: Time period when the contact can be contacted.
contactInstructions:
type: string
description: |-
Supplemental instructions on how or when to contact the
responsible party.
roles:
description: |-
The set of named duties, job functions and/or permissions
associated with this contact.
(e.g. developer, administrator, etc.).
$ref: 'roles.yaml'