regulators: Add inventory_path to JSON chassis obj

Add the property "inventory_path" to the "chassis" object in the JSON
configuration file.

This property will be used to create the required D-Bus association
between a voltage regulator sensor and the chassis that contains it.
This association is required by the Redfish support.

Long term, this new property will be required.  That is how it is
documented in the updated version of chassis.md.

However, it will be temporarily optional in the JSON schema and the C++
configuration file parser.  This temporary measure will be removed once
all known JSON configuration files have been updated to specify the new
property.

Signed-off-by: Shawn McCarney <shawnmm@us.ibm.com>
Change-Id: I45f5e8ec86be7672a33099c94c35328862ffe11b
diff --git a/phosphor-regulators/schema/config_schema.json b/phosphor-regulators/schema/config_schema.json
index 681c66f..c6ef268 100644
--- a/phosphor-regulators/schema/config_schema.json
+++ b/phosphor-regulators/schema/config_schema.json
@@ -136,7 +136,7 @@
             "type": "object",
             "properties":
             {
-                "fru": {"$ref": "#/definitions/fru" },
+                "fru": {"$ref": "#/definitions/inventory_path" },
 
                 "value": {"$ref": "#/definitions/boolean_value" }
             },
@@ -144,7 +144,7 @@
             "additionalProperties": false
         },
 
-        "fru":
+        "inventory_path":
         {
             "type": "string",
             "minLength": 1
@@ -160,7 +160,7 @@
             "type": "object",
             "properties":
             {
-                "fru": {"$ref": "#/definitions/fru" },
+                "fru": {"$ref": "#/definitions/inventory_path" },
 
                 "keyword": {"$ref": "#/definitions/keyword" },
 
@@ -372,6 +372,8 @@
 
                     "number": {"$ref": "#/definitions/number" },
 
+                    "inventory_path": {"$ref": "#/definitions/inventory_path" },
+
                     "devices": {"$ref": "#/definitions/devices" }
                 },
 
@@ -401,7 +403,7 @@
 
                     "is_regulator": {"$ref": "#/definitions/is_regulator" },
 
-                    "fru": {"$ref": "#/definitions/fru" },
+                    "fru": {"$ref": "#/definitions/inventory_path" },
 
                     "i2c_interface": {"$ref": "#/definitions/i2c_interface" },