-
Notifications
You must be signed in to change notification settings - Fork 2
/
expression_matrix_semantic_map.json
92 lines (92 loc) · 2.64 KB
/
expression_matrix_semantic_map.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "",
"additionalProperties": false,
"required": [
"semantic_map"
],
"title": "Expression matrix semantic map",
"name": "expression_matrix_semantic_map",
"type": "object",
"definitions": {
"ontology_term": {
"description": "An ontology term - referred to by label and identifier (curie).",
"additionalProperties": false,
"required": [
"name",
"id"
],
"properties": {
"name": {
"description": "The name (label) of an ontology term. This may refer to a class or relation.",
"type": "string"
},
"id": {
"description": "The id (curie) of an ontology term. This must follow standard curie format (base:short_form) and may refer to a class or relation.",
"type": "string"
}
}
},
"map_element": {
"additionalProperties": false,
"required": [
"name",
"maps_to",
"applicable_to"
],
"properties": {
"name": {
"description": "A string used in annotation",
"type": "string"
},
"maps_to": {
"description": "One or more ontology classes to which this ",
"type": "array",
"items": {
"$ref": "#/definitions/ontology_term"
},
"minItems": 1,
"uniqueItems": true
},
"applicable_to": {
"description": "A list of column names for which this value is a valid entry. Each entry must be a column header the for which this JSON provides an annotation map.",
"type": "array",
"items": { "type": "string"},
"minItems": 1,
"uniqueItems": true
},
"subject_of": {
"type": "object",
"properties": {
"relation": {
"$ref": "#/definitions/ontology_term"
},
"object": {
"description": "",
"type": "string"
}
}
},
"ancestor_name_lookup" : {
"description": "A list of names and synonyms of ancestor classes of the mapped terms. **The contents of this field should be auto-generated. DO NOT POPULATE MANUALLY!**",
"type": "array",
"items": {
"type": "string"
}
},
"comment": {
"description": "A free text comment on the annotation value and its use. ",
"type": "string"
}
}
}
},
"properties": {
"semantic_map": {
"type": "array",
"items": {
"$ref": "#/definitions/map_element"
}
}
}
}