Skip to content

Commit

Permalink
Merge pull request #109 from redmitry/FileringTerm.scopes
Browse files Browse the repository at this point in the history
add scopes[] to the FilteringTerm
  • Loading branch information
costero-e authored Jan 10, 2024
2 parents e7d7962 + e2190ef commit e2d7941
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions framework/json/responses/sections/beaconFilteringTermsResults.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@
"alphanumeric"
],
"type": "string"
},
"scopes": {
"description": "Entry types this filter may be applied to.",
"examples": [
"[\"individual\", \"biosample\"]"
],
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ definitions:
examples:
- 'B Lymphoblastic Leukemia/Lymphoma'
- 'Aplasia/Hypoplasia of the middle ear'
scopes:
description: >-
Entry types this filter may be applied to.
examples:
- '["individual", "biosample"]'
type: array
items:
type: string
Resource:
type: object
description: >-
Expand Down

0 comments on commit e2d7941

Please sign in to comment.