Skip to content

Commit

Permalink
Merge pull request #114 from opentargets/1387_ds_pathway_support
Browse files Browse the repository at this point in the history
supporting multiple pathways.
  • Loading branch information
ireneisdoomed authored Feb 11, 2021
2 parents 9c6046a + 879267c commit a893290
Showing 1 changed file with 35 additions and 33 deletions.
68 changes: 35 additions & 33 deletions opentargets.json
Original file line number Diff line number Diff line change
Expand Up @@ -687,11 +687,8 @@
"diseaseFromSourceId": {
"$ref": "#/definitions/diseaseFromSourceId"
},
"pathwayId": {
"$ref": "#/definitions/pathwayId"
},
"pathwayName": {
"$ref": "#/definitions/pathwayName"
"pathways": {
"$ref": "#/definitions/pathways"
},
"resourceScore": {
"$ref": "#/definitions/resourceScore"
Expand Down Expand Up @@ -732,11 +729,8 @@
"literature": {
"$ref": "#/definitions/literature"
},
"pathwayId": {
"$ref": "#/definitions/pathwayId"
},
"pathwayName": {
"$ref": "#/definitions/pathwayName"
"pathways": {
"$ref": "#/definitions/pathways"
},
"reactionId": {
"$ref": "#/definitions/reactionId"
Expand Down Expand Up @@ -774,11 +768,8 @@
"diseaseFromSourceId": {
"$ref": "#/definitions/diseaseFromSourceId"
},
"pathwayId": {
"$ref": "#/definitions/pathwayId"
},
"pathwayName": {
"$ref": "#/definitions/pathwayName"
"pathways": {
"$ref": "#/definitions/pathways"
},
"resourceScore": {
"$ref": "#/definitions/resourceScore"
Expand Down Expand Up @@ -810,8 +801,8 @@
"literature": {
"$ref": "#/definitions/literature"
},
"pathwayName": {
"$ref": "#/definitions/pathwayName"
"pathways": {
"$ref": "#/definitions/pathways"
},
"resourceScore": {
"$ref": "#/definitions/resourceScore"
Expand Down Expand Up @@ -1208,13 +1199,32 @@
"type": "number",
"description": "Odds ratio (e.g GWAS association)"
},
"pathwayId": {
"type": "string",
"description": "Pathway or gene set ID",
"pattern": "^(R-HSA-)\\d+$",
"examples": [
"R-HSA-4615885"
]
"pathways": {
"type": "array",
"description": "List of pathways",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Reactome pathway identifier.",
"pattern": "^(R-HSA-)\\d+$",
"examples": [
"R-HSA-4615885"
]
},
"name": {
"type": "string",
"description": "Pathway or gene set name",
"examples": [
"Chaperonin-mediated protein folding",
"Signaling by FGFR3"
]
}
},
"additionalProperties": false
},
"uniqueItems": true
},
"pValueExponent": {
"type": "integer",
Expand All @@ -1226,14 +1236,6 @@
"description": "p-value (e.g. GWAS association) exponent",
"minimum": 0.0
},
"pathwayName": {
"type": "string",
"description": "Pathway or gene set name",
"examples": [
"Chaperonin-mediated protein folding",
"Signaling by FGFR3"
]
},
"publicationFirstAuthor": {
"type": "string",
"description": "First author of the publication",
Expand Down Expand Up @@ -1464,4 +1466,4 @@
"uniqueItems": true
}
}
}
}

0 comments on commit a893290

Please sign in to comment.