-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathreference.json
More file actions
107 lines (107 loc) · 2.64 KB
/
reference.json
File metadata and controls
107 lines (107 loc) · 2.64 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
{
"id": "https://www.elixir-europe.org/excelerate/WP2/json-schemas/0.3/Reference",
"$schema": "http://json-schema.org/draft-04/hyper-schema#",
"title": "Bibliographic reference concept (ELIXIR-EXCELERATE WP2 Benchmarking schemas)",
"type": "object",
"properties": {
"_id": {
"title": "The unique id of the bibliographic reference. It should be something meaningful, like its DOI or its PubMedId",
"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/Reference" ]
},
"title": {
"title": "The title of the referenced material",
"type": "string"
},
"doi": {
"title": "The DOI of the referenced material (in case of books, its ISBN in ISBN-A DOI format)",
"type": "string"
},
"pubmed_id": {
"title": "The PubMed id of the referenced material (if any)",
"type": "integer",
"minimum": 1
},
"abstract": {
"title": "Optionally, the abstract of the referenced material",
"type": "string"
},
"links": {
"title": "Optional links related to the bibliographic reference",
"type": "array",
"items": {
"type": "object",
"properties": {
"uri": {
"title": "The URI of the link related to the bibliographic reference",
"type": "string",
"format": "uri"
},
"label": {
"title": "The type of URI",
"type": "string",
"enum": ["PublicationDOI","LinkedInGroup","MainSite","DataSite"]
}
},
"additionalProperties": false,
"required": [
"uri",
"label"
]
}
},
"authors": {
"title": "Optional list of authors of the referenced material",
"type": "array",
"items": {
"type": "object",
"properties": {
"givenName": {
"title": "First / given name (or initials)",
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"minLength": 1
}
},
"surname": {
"title": "Surname(s)",
"type": "array",
"minItems": 1,
"items": {
"type": "string",
"minLength": 1
}
},
"contact_id": {
"title": "If it is a known contact, its contact id",
"type": "string",
"foreign_keys": [
{
"schema_id": "Contact",
"members": [ "." ]
}
],
"minLength": 1
}
},
"additionalProperties": false,
"required": [
"givenName",
"surname"
]
}
}
},
"additionalProperties": true,
"required": ["_id","_schema","title"],
"primary_key": ["_id"],
"dependencies": {}
}