From b154ddaeb17b88ca39f6e0396feba4447ade12de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oriol=20L=C3=B3pez-Doriga?= Date: Thu, 11 Apr 2024 15:35:03 +0200 Subject: [PATCH 1/2] complexValue required relocated to correct level --- models/json/beacon-v2-default-model/common/complexValue.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/json/beacon-v2-default-model/common/complexValue.json b/models/json/beacon-v2-default-model/common/complexValue.json index aba373e2f..fd9993392 100644 --- a/models/json/beacon-v2-default-model/common/complexValue.json +++ b/models/json/beacon-v2-default-model/common/complexValue.json @@ -38,9 +38,9 @@ "$ref": "#/definitions/TypedQuantity" }, "type": "array" - }, - "required": [ "typedQuantities" ] + } }, + "required": [ "typedQuantities" ], "title": "Complex Value", "type": "object" } \ No newline at end of file From cfcc85d34df506f726c89f68c9fb367f945e265f Mon Sep 17 00:00:00 2001 From: Michael Baudis Date: Sat, 6 Jul 2024 15:51:54 +0200 Subject: [PATCH 2/2] Hot Fix to align with json The last fix for the wrong level of `required` was only done in json... Please always add `src` first since (well, both). --- models/src/beacon-v2-default-model/common/complexValue.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/src/beacon-v2-default-model/common/complexValue.yaml b/models/src/beacon-v2-default-model/common/complexValue.yaml index 98207b12b..058a91b9f 100644 --- a/models/src/beacon-v2-default-model/common/complexValue.yaml +++ b/models/src/beacon-v2-default-model/common/complexValue.yaml @@ -9,8 +9,8 @@ properties: type: array items: $ref: '#/definitions/TypedQuantity' - required: - - typedQuantities +required: + - typedQuantities definitions: TypedQuantity: @@ -32,4 +32,4 @@ definitions: label: Millimeter of Mercury required: - quantityType - - quantity \ No newline at end of file + - quantity