This repository was archived by the owner on Mar 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
192 lines (183 loc) · 7.27 KB
/
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
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "CCN2",
"type": "object",
"additionalProperties": false,
"definitions": {
"taxonomy": {
"required": [
"cell_set_accession",
"parent_cell_set_accession",
"classifying_ontology_term_name",
"classification_provenance"
],
"additionalProperties": false,
"type": "object",
"properties": {
"cell_set_accession": {
"type": "string",
"description": "Primary identifier of the cell set. This field should be programmatically assigned, not edited.",
"readOnly": true
},
"cell_type_name": {
"type": "string",
"description": "The primary name/symbol to be used for the (provisional) cell type defined by this cell set. This is left optional, but is strongly encouraged for every node that is linked.",
"ccn1_mapping": "primary_cell_type_alias"
},
"parent_cell_set_accession": {
"type": "string",
"description": "The cell set accession of the parent cell set in the taxonomy. This field should be programmatically assigned, not edited."
},
"synonyms": {
"type": "string",
"description": "A list of alternative names for this cell type. Separate entries with a '|'. Do not use terms with a scope that is much narrower or broader than the cell type being described."
},
"synonym_provenance": {
"type": "string",
"description": "Each entry in the synonyms field should have a corresponding entry here, either the DOI of a supporting publication (in the form the form doi:10.1126/journal.abj6641) or the editor's ORCID (in the form: ORCID:01243-234-678). Multiple entries should be separated by a '|'."
},
"description": {
"type": "string",
"description": "Optional free text description of the cluster. This could be particularly useful for describing the properties of cells clustered from techniques that provide data on morphology, function and connectivity, e.g. patch-seq & epi-retro-seq."
},
"classifying_ontology_term_id": {
"type": "string",
"description": "The ID of an ontology term that classifies the cell type defined by this node."
},
"classifying_ontology_term_name": {
"type": "string",
"description": "The name of the ontology term in the classification_id column"
},
"classification_provenance": {
"type": "string",
"description": "Either the DOI(s) of a supporting publication (in the form the form doi:10.1126/journal.abj6641) or the editor's ORCID (in the form: ORCID:01243-234-678). Multiple entries should be separated by a '|'."
},
"classification_comment": {
"type": "string",
"description": "A free text comment describing the evidence for this classification."
},
"rank": {
"type": "string",
"description": "Algorithmically generated hierarchical taxonomies can be complex, with many nodes between root and leaf and branches of variable depth. To simplify this for display and discussion it can be useful to assign nodes to a 3 level hierarchy, with leaf nodes at the bottom.",
"enum": ["leaf_node", "family", "gross"]
}
}
},
"cross_taxonomy_mapping": {
"required": [
"cell_set_accession",
"cell_type_name",
"mapped_cell_set_accession",
"mapped_cell_type_name",
"evidence_comment"
],
"additionalProperties": false,
"type": "object",
"properties": {
"cell_set_accession": {
"$ref": "#/definitions/cell_set_accession"
},
"cell_type_name": {
"$ref": "#/definitions/cell_type_name"
},
"mapped_cell_set_accession": {
"type": "string",
"description": "The accession (ID) of a cell set in a second taxonomy that this cell set maps to."
},
"mapped_cell_type_name": {
"type": "string",
"description": "The name of the cell type corresponding to the mapped_cell_set_accession."
},
"evidence_comment": {
"type": "string",
"description": "A free text description of the evidence supporting this mapping. If a similarity_score is include, please also include details of how this was calculated."
},
"similarity_score": {
"type": "number",
"description": "A score recording the similarity between mapped nodes.",
"minimum": 0,
"maximum": 1
},
"provenance": {
"$ref": "#/definitions/provenance"
}
}
},
"location_mapping": {
"required": [
"cell_set_accession",
"cell_type_name",
"location_ontology_term_id",
"location_ontology_term_name",
"provenance"
],
"additionalProperties": false,
"type": "object",
"properties": {
"cell_set_accession": {
"$ref": "#/definitions/cell_set_accession"
},
"cell_type_name": {
"$ref": "#/definitions/cell_type_name"
},
"location_ontology_term_id": {
"type": "string",
"description": "The ID of an ontology term that refers to a brain region that this cell type is located in. Ideally this should be the ID of a term defined as a region in a standard atlas."
},
"location_ontology_term_name": {
"type": "string",
"description": "Name of the term whose ID is recorded in the ontology_term_id field."
},
"evidence_comment": {
"type": "string",
"description": "A comment describing the evidence for this location mapping"
},
"supporting_data": {
"type": "string",
"description": "A link to data supporting this location mapping."
},
"provenance": {
"$ref": "#/definitions/provenance"
}
}
},
"cell_set_accession_to_cell_mapping": {
"required": [
"sample",
"cell_accessions"
],
"additionalProperties": false,
"type": "object",
"properties": {
"sample": {
"type": "string",
"description": "Cell sample identifier."
},
"cell_accessions": {
"type": "array",
"description": "List of cell set accession identifiers.",
"items": { "type": "string" }
}
}
},
"cell_set_accession": {
"type": "string",
"description": "Primary identifier for cell set."
},
"cell_type_name": {
"type": "string",
"description": "The primary name/symbol to be used for the cell type defined by this cell set.",
"ccn1_mapping": "primary_cell_type_alias"
},
"provenance": {
"type": "string",
"description": "ORCID of the person doing the mapping using the syntax ORCID:0123-4567-890. Optionally include supporting publications using DOIs of the form doi:10.1126/journal.abj6641."
}
},
"oneOf": [
{ "$ref": "#/definitions/taxonomy" },
{ "$ref": "#/definitions/cross_taxonomy_mapping" },
{ "$ref": "#/definitions/location_mapping" },
{ "$ref": "#/definitions/cell_set_accession_to_cell_mapping" }
]
}