forked from GWU-Bioinformatics/2021Fall-BIOC-6223
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWEEK 1 HW_kmartinez_genes_schema.json
45 lines (45 loc) · 1.63 KB
/
WEEK 1 HW_kmartinez_genes_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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/kmartinez834/2021Fall-BIOC-6223/main/WEEK%201%20HW_kmartinez_genes_schema.json",
"type": "object",
"title": "Gene List",
"description": "Structured field for description of base pair length and accession number of a gene.",
"required": [
"genes"
],
"properties": {
"genes": {
"type": "array",
"description": "Selected genes from NCBI neucleotide database.",
"items": {
"type": "object",
"description": "Gene details including name, base pair length and accession number.",
"required": [
"name",
"bp length",
"accession number"
],
"properties": {
"name": {
"type": "string",
"description": "Name or abbreviation of gene.",
"examples": [
"Homo sapiens partial HLA-A gene for MHC class I antigen"
]
},
"bp length": {
"type": "integer",
"description": "Number of base pairs"
},
"accession number": {
"type": "string",
"description": "Accession number",
"examples": [
"OU596126"
]
}
}
}
}
}
}