schema: Add missing types
Address, BridgeGpio, and PresenceGpio can all be arrays and a number of
configurations have these array properties.
With this correction, the configurations that did not pass the validator
now pass, so remove them from the expected failures file.
Change-Id: I44103da50682448ac563340761f93e8e8c5948a5
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/schemas/legacy.json b/schemas/legacy.json
index f7d571a..2656c8c 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -201,7 +201,10 @@
},
"Types": {
"Address": {
- "type": "string"
+ "type": [
+ "string",
+ "array"
+ ]
},
"AllowedFailures": {
"type": "number"
@@ -219,7 +222,10 @@
"type": "string"
},
"BridgeGpio": {
- "type": "number"
+ "type": [
+ "number",
+ "array"
+ ]
},
"Bus": {
"type": [
@@ -379,7 +385,10 @@
"type": "string"
},
"PresenceGpio": {
- "type": "number"
+ "type": [
+ "number",
+ "array"
+ ]
},
"Profiles": {
"items": {