Add Timeout numeric parameter
Following the examples of the others, adding Timeout as an allowed
numeric parameter, for use by ExternalSensor in dbus-sensors,
although other users are certainly welcome to use it as well.
Signed-off-by: Josh Lehan <krellan@google.com>
Change-Id: Ibac74a3ed30ebf970358b3193eb5b39f11f75215
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 73d513c..df605ed 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -186,6 +186,9 @@
"Thresholds": {
"$ref": "#/definitions/Types/Thresholds"
},
+ "Timeout": {
+ "$ref": "#/definitions/Types/Timeout"
+ },
"HostSMbusIndex": {
"$ref": "#/definitions/Types/HostSMbusIndex"
},
@@ -558,6 +561,9 @@
},
"type": "array"
},
+ "Timeout": {
+ "type": "number"
+ },
"HostSMbusIndex": {
"type": "number"
},