-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathall_ontology_schema.json
76 lines (76 loc) · 2.32 KB
/
all_ontology_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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Valid Ontology Term JSON Schema",
"description": "Schema for file containing metadata for Ontology Terms accepted in dataset submissions to CZ CellXGene Data Portal.",
"type": "object",
"propertyNames": {
"$ref": "ontology_term_id_schema.json#/definitions/supported_term_id"
},
"additionalProperties": {
"type": "object",
"properties": {
"label": {
"type": "string",
"description": "human-readable name for the ontology entry."
},
"description": {
"type": "string",
"description": "Optional description of the ontology entry."
},
"deprecated": {
"type": "boolean",
"description": "Indicates whether the ontology entry is deprecated."
},
"ancestors": {
"type": "object",
"description": "A map of ancestor ontology terms that this term is a subclass of, keyed to the distance from the term.",
"propertyNames": {
"$ref": "ontology_term_id_schema.json#/definitions/supported_term_id"
},
"additionalProperties": {
"type": "integer"
}
},
"comments": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 0,
"description": "Optional comments regarding the ontology entry from ontology curators."
},
"term_tracker": {
"type": "string",
"format": "uri",
"description": "Optional URL to track discussion around the term's history and changes."
},
"consider": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 0,
"description": "Suggests alternative IDs to consider in place of this ontology entry."
},
"replaced_by": {
"type": "string",
"pattern": "^\\w+:\\w+$",
"description": "If deprecated, the ID of the ontology entry that should canonically replace this one."
},
"synonyms": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 0,
"description": "Optional list of synonym labels for the ontology entry."
}
},
"required": [
"label",
"deprecated",
"ancestors"
],
"additionalProperties": false
}
}