-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfhr.json
198 lines (198 loc) · 5.23 KB
/
fhr.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/FAIR-bioHeaders/FHR-Specification/main/fhr.json",
"title": "FHR",
"description": "FAIR Header Reference genome Schema for Genome Assemblies",
"type": "object",
"properties": {
"schema":{
"type": "string",
"description": "centralized schema file"
},
"schemaVersion":{
"type": "number",
"description": "Version of FHR"
},
"genome":{
"type": "string",
"description": "Name of the Genome"
},
"genomeSynonym": {
"type": "array",
"description": "Other common names of the genome",
"items": {
"type":"string"
}
},
"taxon":{
"type": "object",
"description": "Species name and URL of the species information at identifiers.org",
"properties": {
"name": {
"type": "string"
},
"uri": {
"type": "string",
"format": "uri",
"pattern": "https://identifiers.org/taxonomy:[0-9]+"
}
}
},
"version":{
"type": "string",
"description": "Version number of Genome eg. 1.2.0"
},
"metadataAuthor":{
"type": "array",
"items": {
"type": "object",
"description": "Author of the FHR Instance (Person or Org)",
"properties": {
"name": {
"type": "string"
},
"uri": { "$ref": "#/definitions/orcidUri" }
}
}
},
"assemblyAuthor":{
"type": "array",
"items": {
"type": "object",
"description": "Assembler of the Genome (Person or Org)",
"properties": {
"name": {
"type": "string"
},
"uri": { "$ref": "#/definitions/orcidUri" }
}
}
},
"dateCreated":{
"type": "string",
"format": "date",
"description": "Date the genome assembly was created"
},
"voucherSpecimen":{
"type": "string",
"description": "Description of the physical sample"
},
"accessionID":{
"type": "object",
"description": "accessionID genome assembly was created",
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
}
}
},
"instrument": {
"type": "array",
"description": "Physical tools and instruments used in the creation of the genome assembly",
"items": {
"type": "string"
}
},
"scholarlyArticle": {
"type": "string",
"pattern": "^10.",
"description": "Scholarly article genome was published e.g. 10.5281/zenodo.6762550 "
},
"documentation": {
"type": "string",
"description": "Documentation about the genome"
},
"identifier": {
"type": "array",
"description": "Identifies of the genome",
"items": {
"type": "string",
"pattern": "[a-z0-9]*:.*"
}
},
"relatedLink": {
"type": "array",
"description": "Related URLS to the genome",
"items": {
"type": "string",
"format": "uri"
}
},
"funding": {
"type": "string",
"description": "Grant Line Item"
},
"license": {
"type": "string",
"description": "license for the use of the Genome"
},
"masking": {
"type": "string",
"pattern": "(not-masked|hard-masked|soft-masked|repeat-masked|unknown)",
"description": "masking applied to the genome assembly"
},
"vitalStats": {
"type": "object",
"description": "general statistics about the genome assembly",
"properties": {
"L50": {
"type": "integer",
"description": "L50 of the genome assembly"
},
"N50": {
"type": "integer",
"description": "N50 of the genome assembly"
},
"L90": {
"type": "integer" ,
"description": "L90 of the genome assembly"
},
"totalBasePairs": {
"type": "integer" ,
"description": "total base pairs of the genome assembly"
},
"numberContigs": {
"type": "integer" ,
"description": "number of contigs of the genome assembly"
},
"numberScaffolds": {
"type": "integer" ,
"description": "number of scaffolds of the genome assembly"
},
"readTechnology": {
"type": "string",
"description": "read technology of the genome assembly (short, long, hifi, etc...)"
}
}
},
"checksum": { "$ref": "#/definitions/sha2" }
},
"required": [
"schema",
"schemaVersion",
"genome",
"taxon",
"version",
"metadataAuthor",
"assemblyAuthor",
"dateCreated",
"masking",
"checksum"
],
"definitions": {
"orcidUri": { "format": "uri",
"pattern": "^https://orcid.org/[0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]-[0-9][0-9][0-9][0-9X]" },
"sha2": {
"type": "string",
"minLength": 44,
"maxLength": 44,
"pattern": "^[A-Za-z0-9/+=]+$",
"description": "sha2-512/256 checksum value for hashing"
}
},
"additionalProperties": false
}