-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcontact.json
More file actions
83 lines (83 loc) · 1.96 KB
/
contact.json
File metadata and controls
83 lines (83 loc) · 1.96 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
{
"id": "https://www.elixir-europe.org/excelerate/WP2/json-schemas/0.3/Contact",
"$schema": "http://json-schema.org/draft-04/hyper-schema#",
"title": "Contact concept (ELIXIR-EXCELERATE WP2 Benchmarking schemas)",
"type": "object",
"properties": {
"_id": {
"title": "The unique id of the contact. It should be whatever ELIXIR AAI uses as public unique user id (for instance, a URI)",
"type": "string",
"minLength": 1
},
"_schema": {
"title": "The JSON schema absolute URI. It must match the value of 'id' in the JSON schema",
"type": "string",
"format": "uri",
"enum": [ "https://www.elixir-europe.org/excelerate/WP2/json-schemas/0.3/Contact" ]
},
"contact_type": {
"title": "Type of contact: physical person, helpdesk, other",
"type": "string",
"enum": [ "person", "helpdesk", "other" ]
},
"givenName": {
"title": "First / given name",
"type": "string",
"minLength": 1
},
"surname": {
"title": "Surname(s)",
"type": "string",
"minLength": 1
},
"email": {
"title": "The e-mail address(es) of the contact",
"type": "array",
"format": "email",
"minItems": 1,
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"format": "email"
}
},
"notes": {
"title": "Comments about the contact",
"type": "string"
},
"links": {
"title": "Optional links related to the contact",
"type": "array",
"items": {
"type": "object",
"properties": {
"uri": {
"title": "The URI of the link related to the contact",
"type": "string",
"format": "uri"
},
"label": {
"title": "The type of URI",
"type": "string",
"enum": ["LinkedIn","ORCID","MainSite","Twitter","Other"]
}
},
"additionalProperties": false,
"required": [
"uri",
"label"
]
}
}
},
"additionalProperties": true,
"required": [
"_id",
"_schema",
"contact_type",
"email"
],
"primary_key": ["_id"],
"dependencies": {}
}