Skip to content

Commit

Permalink
Merge branch 'develop' into website-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
costero-e authored May 3, 2024
2 parents f5be698 + db307ba commit 7de0b56
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down Expand Up @@ -104,4 +115,4 @@
}
},
"type": "object"
}
}
15 changes: 15 additions & 0 deletions framework/src/responses/sections/beaconFilteringTermsResults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: >-
Expand Down
7 changes: 5 additions & 2 deletions models/json/beacon-v2-default-model/common/age.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
"description": "Age value definition. Provenance: GA4GH Phenopackets v2 `Age`",
"properties": {
"iso8601duration": {
"description": "Represents age as a ISO8601 duration (e.g., P40Y10M05D).",
"description": "Represents age as a ISO8601 duration (e.g., 'P40Y10M05D').",
"example": "P32Y6M1D",
"type": "string"
}
},
"required": [
"iso8601duration"
],
"title": "Age",
"type": "object"
}
}
4 changes: 4 additions & 0 deletions models/json/beacon-v2-default-model/common/ageRange.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"description": "Represents age as an ISO8601 duration (e.g., P18Y)."
}
},
"required": [
"end",
"start"
],
"title": "AgeRange",
"type": "object"
}
2 changes: 2 additions & 0 deletions models/src/beacon-v2-default-model/common/age.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ properties:
description: Represents age as a ISO8601 duration (e.g., P40Y10M05D).
type: string
example: P32Y6M1D
required:
- iso8601duration
3 changes: 3 additions & 0 deletions models/src/beacon-v2-default-model/common/ageRange.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ properties:
end:
description: Represents age as an ISO8601 duration (e.g., P59Y).
$ref: ./age.yaml
required:
- start
- end

0 comments on commit 7de0b56

Please sign in to comment.