-
Notifications
You must be signed in to change notification settings - Fork 7
/
Person.json
104 lines (104 loc) · 3.17 KB
/
Person.json
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "#Person",
"description": "An entity that represents an actual person, such as an employee of an organization.",
"type": "object",
"allOf": [
{
"$ref": "#Entity"
},
{
"properties": {
"firstName": {
"description": "The person's official first name in the system (such as HR database)",
"type": "string"
},
"lastName": {
"description": "The person's official last name in the system (such as HR database)",
"type": "string"
},
"middleName": {
"description": "The person's official middle name in the system (such as HR database)",
"type": "string"
},
"email": {
"description": "The email addresses of the person; the first one in the array is the primary email.",
"type": "array",
"items": {
"type": "string",
"format": "email"
}
},
"emailDomain": {
"description": "The domain portion of the email addresses associated with the user account.",
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"description": "The person's role or title within an organization",
"type": "string"
},
"phone": {
"description": "The person's phone numbers; the first one in the array is the primary contact number.",
"type": "array",
"items": {
"type": "string"
}
},
"address": {
"description": "The person's physical contact address",
"type": "string"
},
"employeeId": {
"description": "The person's employee ID/number within an organization",
"type": "string"
},
"employeeType": {
"description": "The type of employment",
"type": "string",
"examples": [
"employee",
"contractor",
"intern",
"vendor",
"advisor",
"other"
]
},
"userIds": {
"description": "One or more user Ids associated with this person",
"type": "array",
"items": {
"type": "string"
}
},
"manager": {
"description": "Name of the person's manager",
"type": "string"
},
"managerId": {
"description": "Employee ID of the person's manager",
"type": "string"
},
"managerEmail": {
"description": "Email of the person's manager",
"type": "string",
"format": "email"
},
"backgroundCheckedOn": {
"description": "Timestamp of the background and/or reference check",
"type": "number",
"format": "date-time"
},
"backgroundCheckedBy": {
"description": "The agency or person conducted the background/reference check",
"type": "string"
}
},
"required": ["firstName", "lastName", "email"],
"excludes": ["owner", "createdOn", "updatedOn", "expiresOn"]
}
]
}