diff options
author | Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com> | 2020-07-08 16:17:31 +0300 |
---|---|---|
committer | Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com> | 2020-08-11 14:43:37 +0300 |
commit | d6c414f36c66b03f272f0cfc3a2e2d5dc0df1271 (patch) | |
tree | 1a3dd349bef6521f13ed2d718654b982501337f5 /static/redfish/v1/JsonSchemas | |
parent | f71882ffecef5e64d1f5ad7ef59e811383de7156 (diff) | |
download | bmcweb-d6c414f36c66b03f272f0cfc3a2e2d5dc0df1271.tar.xz |
VirtualMedia fixes for Redfish Service Validator
Removes all warnings and errors for VirtualMedia
- rework for OemVirtualMedia
- minor adjustments for jsons
Tested:
Redfish Service Validator ran with no errors and/or warnings
Change-Id: Ic027166153a807a8bd3a6c04f042969f16e0dc6a
Signed-off-by: Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com>
Diffstat (limited to 'static/redfish/v1/JsonSchemas')
-rw-r--r-- | static/redfish/v1/JsonSchemas/OemVirtualMedia/index.json | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/static/redfish/v1/JsonSchemas/OemVirtualMedia/index.json b/static/redfish/v1/JsonSchemas/OemVirtualMedia/index.json index 78bd8b7ac6..9ae641a487 100644 --- a/static/redfish/v1/JsonSchemas/OemVirtualMedia/index.json +++ b/static/redfish/v1/JsonSchemas/OemVirtualMedia/index.json @@ -3,9 +3,10 @@ "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json", "copyright": "Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright", "definitions": { - "OpenBmc": { - "additionalProperties": true, - "description": "Oem properties for OpenBmc.", + "VirtualMedia": { + "additionalProperties": false, + "description": "OEM Extension for VirtualMedia", + "longDescription": "OEM Extension for VirtualMedia to support Proxy mode.", "patternProperties": { "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { "description": "This property shall specify a valid odata or Redfish property.", @@ -32,27 +33,6 @@ } }, "type": "object" - }, - "VirtualMedia": { - "additionalProperties": false, - "description": "OEM Extension for VirtualMedia", - "longDescription": "OEM Extension for VirtualMedia to support Proxy mode.", - "patternProperties": { - "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": { - "description": "This property shall specify a valid odata or Redfish property.", - "type": [ - "array", - "boolean", - "integer", - "number", - "null", - "object", - "string" - ] - } - }, - "properties": {}, - "type": "object" } }, "owningEntity": "OpenBMC", |