Skip to content

Commit ff111b7

Browse files
committed
Allow multiple hardware targets in device specification
1 parent 769fa6a commit ff111b7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

schema/device.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@
1919
"type": "string"
2020
},
2121
"hardwareTargets": {
22-
"description": "Specifies the version of the device hardware.",
23-
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$",
24-
"type": "string"
22+
"description": "Specifies the version of the hardware targets.",
23+
"type": "array",
24+
"items": {
25+
"type": "string",
26+
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"
27+
}
2528
},
2629
"registers": {
2730
"additionalProperties": {

0 commit comments

Comments
 (0)