Skip to content

Commit 8c8400f

Browse files
committed
schema: fix definition for array type
commit af0d16d introduced the regression. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
1 parent 04836b1 commit 8c8400f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

schema/config-vm.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,13 @@
7373
},
7474
"iomems": {
7575
"type": "array",
76-
"items": [
77-
{
78-
"$ref": "defs-vm.json#/definitions/IOMemEntryFormat"
79-
}
80-
]
76+
"items": {
77+
"anyOf": [
78+
{
79+
"$ref": "defs-vm.json#/definitions/IOMemEntryFormat"
80+
}
81+
]
82+
}
8183
},
8284
"irqs": {
8385
"$ref": "defs.json#/definitions/ArrayOfUint32"

0 commit comments

Comments
 (0)