Implement JsonSchema endpoint
This patchset implements JsonSchema support, and automates our update
of the XML metadata, and Json schema files in the future by way of a
python script.
Change-Id: Iec6f580d10736678149db18d87be2f140b535be9
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/static/redfish/v1/JsonSchemas/Privileges/index.json b/static/redfish/v1/JsonSchemas/Privileges/index.json
new file mode 100644
index 0000000..bd2265d
--- /dev/null
+++ b/static/redfish/v1/JsonSchemas/Privileges/index.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