You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: framework/json/requests/filteringTerms.json
+13-7Lines changed: 13 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"$defs": {
3
3
"AlphanumericFilter": {
4
-
"description": "Filter results based on operators and values applied to alphanumeric fields.",
4
+
"description": "Filter results based on operators and values applied to alphanumeric\nfields.",
5
5
"properties": {
6
6
"id": {
7
7
"description": "Field identfier to be queried.",
@@ -23,8 +23,10 @@
23
23
"type": "string"
24
24
},
25
25
"scope": {
26
-
"description": "The entry type to which the filter applies",
27
-
"example": "individuals",
26
+
"description": "The entry type in the model to which the filter should be applied. It\nis good practice to use unanimous `id` values (e.g. `ageAtDiagnosis`\ninstead of `age`) and avoid the use of the `scope` parameter.",
27
+
"examples": [
28
+
"individuals"
29
+
],
28
30
"type": "string"
29
31
},
30
32
"value": {
@@ -49,8 +51,10 @@
49
51
"type": "string"
50
52
},
51
53
"scope": {
52
-
"description": "The entry type to which the filter applies",
53
-
"example": "individuals",
54
+
"description": "The entry type in the model to which the filter should be applied.",
55
+
"examples": [
56
+
"individuals"
57
+
],
54
58
"type": "string"
55
59
}
56
60
},
@@ -86,8 +90,10 @@
86
90
"type": "boolean"
87
91
},
88
92
"scope": {
89
-
"description": "The entry type to which the filter applies",
90
-
"example": "biosamples",
93
+
"description": "The entry type in the model to which the filter should be applied. For\nexample, the use of `NCIT:C4013` (Malignant Head and Neck Neoplasm) can\nw/o specified scope mean both \"match cancer samples\" or \"match individuals\"\nwith the disease\" which - in the case of individuals - could then lead\nto matching germline and cancer variants while a scope of `biosamples`\nwould limit the response to variants observed in the cancer tissue.\nNote: It is good practice to avoid ambiguous terms, _i.e._ use different\nvocabularies for different entry types.",
0 commit comments