-
Notifications
You must be signed in to change notification settings - Fork 20
/
beaconFilteringTermsResults.json
118 lines (118 loc) · 4.66 KB
/
beaconFilteringTermsResults.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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": true,
"definitions": {
"FilteringTerm": {
"description": "Entities can be filtered using this term.",
"properties": {
"id": {
"description": "The field id in the case of numeric or alphanumeric fields, or the term id in the case of ontology or custom terms. CURIE syntax in the case of an ontology term.",
"examples": [
"NCIT:C8936",
"HP:0008773"
],
"type": "string"
},
"label": {
"description": "This would be the \"preferred Label\" in the case of an ontology term.",
"examples": [
"B Lymphoblastic Leukemia/Lymphoma",
"Aplasia/Hypoplasia of the middle ear"
],
"type": "string"
},
"type": {
"description": "Either \"custom\", \"alphanumeric\" or ontology/terminology full name. TODO: An ontology ... with a registered prefix does not need a full name so one may better use CURIE to indicate that the resource can be retrieved from the id. This also will allow to provide an enum here.",
"examples": [
"Human Phenotype Ontology",
"alphanumeric"
],
"type": "string"
},
"scopes": {
"description": "Entry types affected by this filter.",
"examples": [
["individual", "biosample", "analysis", "run", "genomicVariation"],
["biosample"]
],
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"type",
"id"
],
"type": "object"
},
"Resource": {
"description": "Description of an ontology resource defined externally to this beacon implementation, such as MeSH or EFO, based on the phenopackets resource object (https://phenopacket-schema.readthedocs.io/en/latest/resource.html)",
"properties": {
"id": {
"description": "Preferably OBO ID representing the resource; alternatively a URI pointing towards the definitions may be used if not in OBO.",
"examples": [
"hp"
],
"type": "string"
},
"iriPrefix": {
"description": "The full Internationalized Resource Identifier (IRI) prefix",
"examples": [
"https://purl.obolibrary.org/obo/HP_"
],
"type": "string"
},
"name": {
"description": "The name of the ontology referred to by the id element",
"examples": [
"Human Phenotype Ontology"
],
"type": "string"
},
"nameSpacePrefix": {
"description": "The prefix used in the CURIE of an OntologyClass",
"examples": [
"HP"
],
"type": "string"
},
"url": {
"description": "Uniform Resource Locator of the resource",
"examples": [
"https://purl.obolibrary.org/obo/hp.owl"
],
"type": "string"
},
"version": {
"description": "The version of the resource or ontology used to make the annotation",
"examples": [
"17-06-2019"
],
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}
},
"description": "Filtering terms and ontology resources utilised in this Beacon.",
"properties": {
"filteringTerms": {
"items": {
"$ref": "#/definitions/FilteringTerm"
},
"type": "array"
},
"resources": {
"items": {
"$ref": "#/definitions/Resource"
},
"type": "array"
}
},
"type": "object"
}