-
Notifications
You must be signed in to change notification settings - Fork 0
/
disease_schema.json
50 lines (50 loc) · 1.51 KB
/
disease_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
{
"id": "http://biocaddie.github.io/dats/disease_schema.json#",
"$schema": "http://json-schema.org/draft-04/schema",
"title": "DATS disease schema",
"description": "A disorder of structure or function in a human, animal, or plant, that produces specific symptoms or that affects a specific location.",
"type": "object",
"properties": {
"@context": {
"anyOf": [
{
"type": "string"
},
{
"type": "object"
}
]
},
"@type": { "type": "string", "enum": [ "Disease" ]},
"identifier": {
"$ref": "http://biocaddie.github.io/dats/identifier_info_schema.json#"
},
"alternateIdentifiers": {
"description": "Alternate identifiers for the disease.",
"type": "array",
"items": {
"$ref": "http://biocaddie.github.io/dats/alternate_identifier_info_schema.json#"
}
},
"relatedIdentifiers": {
"description": "Related identifiers for the disease.",
"type": "array",
"items": {
"$ref": "http://biocaddie.github.io/dats/related_identifier_info_schema.json#"
}
},
"name": {
"description": "The name of the disease.",
"type" : "string"
},
"extraProperties": {
"description": "Extra properties that do not fit in the previous specified attributes. ",
"type": "array",
"items": {
"$ref" : "http://biocaddie.github.io/dats/category_values_pair_schema.json#"
}
}
},
"additionalProperties": false,
"required" : [ "name" ]
}