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/Privileges/index.json b/static/redfish/v1/JsonSchemas/Privileges/index.json
index bd2265d..6cad326 100644
--- a/static/redfish/v1/JsonSchemas/Privileges/index.json
+++ b/static/redfish/v1/JsonSchemas/Privileges/index.json
@@ -1,25 +1,21 @@
 {
-    "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema.v1_3_0.json",
-    "copyright": "Copyright 2014-2017 Distributed Management Task Force, Inc. (DMTF). For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright",
-    "definitions": {
-        "PrivilegeType": {
-            "deprecated": "This definition has been moved to the unversioned namespace so that external references can pick up changes over time.",
-            "enum": [
-                "Login",
-                "ConfigureManager",
-                "ConfigureUsers",
-                "ConfigureSelf",
-                "ConfigureComponents"
-            ],
-            "enumDescriptions": {
-                "ConfigureComponents": "Able to configure components managed by this service.",
-                "ConfigureManager": "Able to configure Manager resources.",
-                "ConfigureSelf": "Able to change the password for the current user Account.",
-                "ConfigureUsers": "Able to configure Users and their Accounts.",
-                "Login": "Able to log into the service and read resources."
-            },
-            "type": "string"
+    "@odata.context": "/redfish/v1/$metadata#JsonSchemaFile.JsonSchemaFile",
+    "@odata.id": "/redfish/v1/JSONSchemas/Privileges",
+    "@odata.type": "#JsonSchemaFile.v1_0_2.JsonSchemaFile",
+    "Name": "Privileges Schema File",
+    "Schema": "#Privileges.Privileges",
+    "Description": "Privileges Schema File Location",
+    "Id": "Privileges",
+    "Languages": [
+        "en"
+    ],
+    "Languages@odata.count": 1,
+    "Location": [
+        {
+            "Language": "en",
+            "PublicationUri": "http://redfish.dmtf.org/schemas/v1/Privileges.json",
+            "Uri": "/redfish/v1/JSONSchemas/Privileges/Privileges.json"
         }
-    },
-    "title": "#Privileges.v1_0_4"
+    ],
+    "Location@odata.count": 1
 }
\ No newline at end of file