diff --git a/framework/json/responses/sections/beaconFilteringTermsResults.json b/framework/json/responses/sections/beaconFilteringTermsResults.json index a752f0e23..1755fb582 100644 --- a/framework/json/responses/sections/beaconFilteringTermsResults.json +++ b/framework/json/responses/sections/beaconFilteringTermsResults.json @@ -28,6 +28,17 @@ "alphanumeric" ], "type": "string" + }, + "scopes": { + "description": "Entry types affected by this filter.", + "examples": [ + ["individual", "biosample", "analysis", "run", "genomicVariation"], + ["biosample"] + ], + "type": "array", + "items": { + "type": "string" + } } }, "required": [ @@ -104,4 +115,4 @@ } }, "type": "object" -} \ No newline at end of file +} diff --git a/framework/src/responses/sections/beaconFilteringTermsResults.yaml b/framework/src/responses/sections/beaconFilteringTermsResults.yaml index 503d81184..05748d8cc 100644 --- a/framework/src/responses/sections/beaconFilteringTermsResults.yaml +++ b/framework/src/responses/sections/beaconFilteringTermsResults.yaml @@ -46,6 +46,21 @@ definitions: examples: - 'B Lymphoblastic Leukemia/Lymphoma' - 'Aplasia/Hypoplasia of the middle ear' + scopes: + description: >- + Entry types affected by this filter. + examples: + - + - individual + - biosample + - analysis + - run + - genomicVariation + - + - biosample + type: array + items: + type: string Resource: type: object description: >-