diff --git a/models/json/beacon-v2-default-model/common/complexValue.json b/models/json/beacon-v2-default-model/common/complexValue.json index 866070ad7..aba373e2f 100644 --- a/models/json/beacon-v2-default-model/common/complexValue.json +++ b/models/json/beacon-v2-default-model/common/complexValue.json @@ -38,7 +38,8 @@ "$ref": "#/definitions/TypedQuantity" }, "type": "array" - } + }, + "required": [ "typedQuantities" ] }, "title": "Complex Value", "type": "object" diff --git a/models/src/beacon-v2-default-model/common/complexValue.yaml b/models/src/beacon-v2-default-model/common/complexValue.yaml index 45048920f..98207b12b 100644 --- a/models/src/beacon-v2-default-model/common/complexValue.yaml +++ b/models/src/beacon-v2-default-model/common/complexValue.yaml @@ -9,6 +9,9 @@ properties: type: array items: $ref: '#/definitions/TypedQuantity' + required: + - typedQuantities + definitions: TypedQuantity: properties: @@ -29,4 +32,4 @@ definitions: label: Millimeter of Mercury required: - quantityType - - quantity + - quantity \ No newline at end of file