Skip to content

Commit

Permalink
Merge pull request #89 from ga4gh-beacon/hotfix_complexValue
Browse files Browse the repository at this point in the history
complexValue required type fixed
  • Loading branch information
costero-e committed Jun 19, 2023
2 parents e7d7962 + be4ff29 commit 647a167
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion models/json/beacon-v2-default-model/common/complexValue.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"$ref": "#/definitions/TypedQuantity"
},
"type": "array"
}
},
"required": [ "typedQuantities" ]
},
"title": "Complex Value",
"type": "object"
Expand Down
5 changes: 4 additions & 1 deletion models/src/beacon-v2-default-model/common/complexValue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ properties:
type: array
items:
$ref: '#/definitions/TypedQuantity'
required:
- typedQuantities

definitions:
TypedQuantity:
properties:
Expand All @@ -29,4 +32,4 @@ definitions:
label: Millimeter of Mercury
required:
- quantityType
- quantity
- quantity

0 comments on commit 647a167

Please sign in to comment.