-
Notifications
You must be signed in to change notification settings - Fork 0
/
description_genus_species.schema.json
120 lines (120 loc) · 4.87 KB
/
description_genus_species.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
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
{
"title": "Species description file",
"description": "Datastore description_Genus_species.yml validation",
"type": "object",
"properties": {
"taxid": {
"description": "NCBI taxon identifier",
"type": "number"
},
"genus": {
"description": "Genus",
"type": "string",
"pattern": "^[A-Z][a-z]+$"
},
"species": {
"description": "species",
"type": "string",
"pattern": "^[-A-Za-z0-9]+$"
},
"abbrev": {
"description": "LIS gensp abbreviation: first three letters of genus plus first two of species, all lower case.",
"type": "string",
"pattern": "^[a-z0-9]+$",
"minLength": 5,
"maxLength": 5
},
"commonName": {
"description": "The common name for this species",
"type": "string"
},
"description": {
"description": "Description of this species",
"type": "string"
},
"resources": {
"description": "A list of resources available for this species, each entry containing name, URL and description.",
"type": "array",
"items": {
"title": "Resource entry",
"description": "A resource entry, containing name, URL, and description.",
"type": "object",
"properties": {
"name": {
"description": "a name given to this resource",
"type": "string"
},
"URL": {
"description": "the URL pointing to this resource",
"type": "string"
},
"description": {
"description": "a description of this resource",
"type": "string"
}
}
},
"minItems": 1,
"uniqueItems": true
},
"strains": {
"description": "A list of strains available for this species, each entry containing identifier, accession, name, origin, description, and a list of resources.",
"type": "array",
"items": {
"title": "Strain entry",
"description": "Full description of a strain, containing identifier, accession, name, origin, description, and a list of resources.",
"type": "object",
"properties": {
"identifier": {
"description": "unique strain identifier",
"type": "string"
},
"accession": {
"description": "strain accession (e.g. GRIN)",
"type": "string"
},
"name": {
"description": "the name of the strain",
"type": "string"
},
"origin": {
"description": "the geographic origin of the strain",
"type": "string"
},
"description": {
"description": "a text description of the strain",
"type": "string"
},
"resources": {
"description": "A list of resources available for this species, each entry containing name, URL and description.",
"type": "array",
"items": {
"title": "Resource entry",
"description": "A resource entry, containing name, URL, and description.",
"type": "object",
"properties": {
"name": {
"description": "a name given to this resource",
"type": "string"
},
"URL": {
"description": "the URL pointing to this resource",
"type": "string"
},
"description": {
"description": "a description of this resource",
"type": "string"
}
}
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [ "identifier", "accession", "name", "origin", "description" ]
}
}
},
"required": [ "taxid", "genus", "species", "abbrev", "description", "strains" ],
"additionalProperties": false
}