Fix JsonSchema indexes

JsonSchema was throwing errors in the validator, so implement changes to
the update script to add the appropiate indexes.

Tested by:
Schema validator passes on the JsonSchema Fields

Change-Id: I6cb2737901b55c1089aef744d3ce3c3dfe13f17f
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/static/redfish/v1/JsonSchemas/odata/index.json b/static/redfish/v1/JsonSchemas/odata/index.json
index d2c6e46..1ebfb62 100644
--- a/static/redfish/v1/JsonSchemas/odata/index.json
+++ b/static/redfish/v1/JsonSchemas/odata/index.json
@@ -1,48 +1,21 @@
 {
-    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_3_0.json",
-    "definitions": {
-        "context": {
-            "type": "string",
-            "format": "uri",
-            "readonly": true,
-            "description": "The OData description of a payload.",
-            "longDescription": "The value of this property shall be the context URL that describes the resource according to OData-Protocol and shall be of the form defined in the Redfish specification."
-        },
-        "id": {
-            "type": "string",
-            "format": "uri",
-            "readonly": true,
-            "description": "The unique identifier for a resource.",
-            "longDescription": "The value of this property shall be the unique identifier for the resource and it shall be of the form defined in the Redfish specification."
-        },
-        "idRef": {
-            "type": "object",
-            "properties": {
-                "@odata.id": {
-                    "$ref": "#/definitions/id"
-                }
-            },
-            "additionalProperties": false,
-            "description": "A reference to a resource.",
-            "longDescription": "The value of this property shall be used for references to a resource."
-        },
-        "type": {
-            "type": "string",
-            "readonly": true,
-            "description": "The type of a resource.",
-            "longDescription": "The value of this property shall be an absolute URL that specifies the type of the resource and it shall be of the form defined in the Redfish specification."
-        },
-        "count": {
-            "type": "number",
-            "readonly": true,
-            "description": "The number of items in a collection.",
-            "longDescription": "The value of this property shall be an integer representing the number of items in a collection."
-        },
-        "etag": {
-            "type": "string",
-            "readonly": true,
-            "description": "The current ETag of the resource.",
-            "longDescription": "The value of this property shall be a string that is defined by the ETag HTTP header definition in RFC7232."
+    "@odata.context": "/redfish/v1/$metadata#JsonSchemaFile.JsonSchemaFile",
+    "@odata.id": "/redfish/v1/JSONSchemas/odata",
+    "@odata.type": "#JsonSchemaFile.v1_0_2.JsonSchemaFile",
+    "Name": "odata Schema File",
+    "Schema": "#odata.odata",
+    "Description": "odata Schema File Location",
+    "Id": "odata",
+    "Languages": [
+        "en"
+    ],
+    "Languages@odata.count": 1,
+    "Location": [
+        {
+            "Language": "en",
+            "PublicationUri": "http://redfish.dmtf.org/schemas/v1/odata.json",
+            "Uri": "/redfish/v1/JSONSchemas/odata/odata.json"
         }
-    }
-}
+    ],
+    "Location@odata.count": 1
+}
\ No newline at end of file