From 27eb9c664b505ed850cc48c28d43b563c1430110 Mon Sep 17 00:00:00 2001 From: bruno-f-cruz <7049351+bruno-f-cruz@users.noreply.github.com> Date: Mon, 6 Oct 2025 19:19:28 -0700 Subject: [PATCH] Allow multiple hardware targets in device schema --- schema/device.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/schema/device.json b/schema/device.json index 2fe833d..7be067c 100644 --- a/schema/device.json +++ b/schema/device.json @@ -19,9 +19,12 @@ "type": "string" }, "hardwareTargets": { - "description": "Specifies the version of the device hardware.", - "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$", - "type": "string" + "description": "Specifies the version of the hardware targets.", + "type": "array", + "items": { + "type": "string", + "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$" + } }, "registers": { "additionalProperties": {