Skip to content

Commit dea6203

Browse files
committed
Minor changes to BEL JGF schema from meeting with Charlene and Tony
1 parent 236033b commit dea6203

1 file changed

Lines changed: 18 additions & 13 deletions

File tree

child-schemas/bel-json-graph.schema.json

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"type": {
5757
"type": "string",
5858
"title": "Type of Graph",
59-
"description": "Graph type"
59+
"description": "BEL Versioned Graph type"
6060
},
6161
"metadata": {
6262
"type": ["object", "null"],
@@ -77,9 +77,9 @@
7777
"title": "Graph description",
7878
"description": "Graph description"
7979
},
80-
"network_version": {
80+
"version": {
8181
"type": "string",
82-
"description": "Version of the network"
82+
"description": "Version of the graph"
8383
}
8484
}
8585
},
@@ -99,14 +99,18 @@
9999
"type": ["object", "null"],
100100
"additionalProperties": true,
101101
"properties": {
102-
"coordinates": {
102+
"coordinate": {
103103
"type": "array",
104104
"items": {
105105
"type": "number"
106106
},
107107
"minItems": 2,
108108
"title": "Node coordinates",
109-
"description": "Node coordinates as either an (x, y) or (x, y, z) tuple"
109+
"description": "Node coordinates as either an (x, y) or (x, y, z) tuple, the tuple is unbounded to allow additional dimensions to be used in addition to x, y and z coordinates"
110+
},
111+
"bel_function_type": {
112+
"type": "string",
113+
"description": "BEL function types such as proteinAbundance, trancriptionalActivity, etc"
110114
}
111115
}
112116
}
@@ -121,9 +125,6 @@
121125
"type": "object",
122126
"additionalProperties": false,
123127
"properties": {
124-
"id": {
125-
"type": "string"
126-
},
127128
"source": {
128129
"type": "string",
129130
"title": "Source Node",
@@ -150,6 +151,10 @@
150151
"type": ["object", "null"],
151152
"additionalProperties": true,
152153
"properties": {
154+
"causal": {
155+
"type": "boolean",
156+
"description": "True if a BEL causal edge type"
157+
},
153158
"evidences": {
154159
"type": "array",
155160
"items": {
@@ -176,25 +181,25 @@
176181
"citation": {
177182
"type": "object",
178183
"properties": {
179-
"citation_type": {
184+
"type": {
180185
"type": "string",
181186
"oneOf": ["PubMed", "Book", "Journal", "Online Resource", "Other"],
182187
"title": "Citation Type",
183188
"description": "The citation type"
184189
},
185-
"citation_id": {
190+
"id": {
186191
"type": "string",
187192
"title": "Citation ID",
188193
"description": "Identifier of the citation, e.g. PubMed ID"
189194
},
190-
"citation_name": {
195+
"name": {
191196
"type": "string",
192197
"title": "Citation Name",
193198
"description": "Name or citation string for the reference."
194199
}
195200
},
196-
"title": "Reference for Edge Evidence",
197-
"description": "Reference to support the evidence presented for the Edge"
201+
"title": "Citation for Edge Evidence",
202+
"description": "Citation to support the evidence presented for the Edge"
198203
},
199204
"biological_context": {
200205
"type": "object",

0 commit comments

Comments
 (0)