mirror of
https://github.com/linux-msm/cdba.git
synced 2026-02-25 13:11:56 -08:00
schema.yaml: Fix ftdi_gpio patternProperties
"patternProperties" must be on the same indentation level as "properties", otherwise it just defines a property called "patternProperties" in cdba.yaml. Also add additionalProperties: false, so properties not matching the regex are actually disallowed and reported.
This commit is contained in:
@@ -123,9 +123,10 @@ properties:
|
||||
minimin: 0
|
||||
devicenode:
|
||||
$ref: "#/$defs/device_path"
|
||||
patternProperties:
|
||||
"^power|fastboot_key|power_key|usb_disconnect|output_enable$":
|
||||
$ref: "#/$defs/ftdi_gpio"
|
||||
patternProperties:
|
||||
"^power|fastboot_key|power_key|usb_disconnect|output_enable$":
|
||||
$ref: "#/$defs/ftdi_gpio"
|
||||
additionalProperties: false
|
||||
|
||||
dependentRequired:
|
||||
index:
|
||||
|
||||
Reference in New Issue
Block a user