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/Privileges.json b/static/redfish/v1/JsonSchemas/Privileges/Privileges.json
new file mode 100644
index 0000000..bd2265d
--- /dev/null
+++ b/static/redfish/v1/JsonSchemas/Privileges/Privileges.json
@@ -0,0 +1,25 @@
+{
+ "$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"
+ }
+ },
+ "title": "#Privileges.v1_0_4"
+}
\ No newline at end of file