-
Notifications
You must be signed in to change notification settings - Fork 132
/
contact.schema.json
52 lines (52 loc) · 1.41 KB
/
contact.schema.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://fdc3.finos.org/schemas/next/context/contact.schema.json",
"type": "object",
"title": "Contact",
"description": "A person contact that can be engaged with through email, calling, messaging, CMS, etc.",
"allOf": [
{
"type": "object",
"properties": {
"type": {
"const": "fdc3.contact"
},
"id": {
"type": "object",
"title": "Contact Identifiers",
"description": "Identifiers that relate to the Contact represented by this context",
"properties": {
"email": {
"type": "string",
"format": "email",
"title": "Email address",
"description": "The email address for the contact"
},
"FDS_ID": {
"type": "string",
"title": "FDS ID",
"description": "FactSet Permanent Identifier representing the contact"
}
}
},
"name": {
"type": "string",
"description": "An optional human-readable name for the contact"
}
},
"required": [
"id"
]
},
{ "$ref": "context.schema.json#/definitions/BaseContext" }
],
"examples": [
{
"type": "fdc3.contact",
"name": "Jane Doe",
"id": {
"email": "jane.doe@mail.com"
}
}
]
}