Skip to content

Commit

Permalink
Undo commit for filtering terms response
Browse files Browse the repository at this point in the history
  • Loading branch information
costero-e committed Oct 8, 2024
1 parent 4169d12 commit df401fc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
20 changes: 10 additions & 10 deletions framework/json/requests/filteringTerms.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"AlphanumericFilter": {
"description": "Filter results based on operators and values applied to alphanumeric fields.",
"properties": {
"id": {
"description": "Field identfier to be queried.",
"example": "ageOfOnset",
"type": "string"
},
"id": {
"description": "Field identfier to be queried.",
"example": "ageOfOnset",
"type": "string"
},
"operator": {
"default": "=",
"description": "Defines how the value relates to the field `id`.",
Expand Down Expand Up @@ -50,11 +50,11 @@
"example": "demographic.ethnicity:asian",
"type": "string"
},
"scope": {
"description": "The entry type to which the filter applies",
"example": "individuals",
"type": "string"
}
"scope": {
"description": "The entry type to which the filter applies",
"example": "individuals",
"type": "string"
}
},
"required": [
"id"
Expand Down
9 changes: 4 additions & 5 deletions framework/src/requests/filteringTerms.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ definitions:
id:
type: string
description: Field identfier to be queried.
example: ageOfOnset
example: age
operator:
type: string
enum:
Expand All @@ -74,15 +74,14 @@ definitions:
example: '>'
value:
type: string
description: >-
Alphanumeric search term to be used within the query which can
description: Alphanumeric search term to be used within the query which can
contain wildcard characters (%) to denote any number of unknown characters. Values
can be assocatied with units if applicable.
example: P70Y
scope:
type: string
description: The entry type to which the filter applies
example: individuals
example: biosamples
CustomFilter:
type: object
description: Filter results to include records that contain a custom term defined
Expand All @@ -97,5 +96,5 @@ definitions:
scope:
type: string
description: The entry type to which the filter applies
example: individuals
example: biosamples
additionalProperties: true

0 comments on commit df401fc

Please sign in to comment.