[Fix]: Property PhysicalContext is invalid "none"
Issue: Redfish validator is throwing error "PhysicalContext:
This type is invalid none" for multiple temperature sensors
Endpoint : /redfish/v1/Chassis/<Baseboard>/Thermal#/Temperatures/
Root Cause : PhysicalContext Schema was missing from redfish schema
metadata
Tested: Redfish validator script passed.
*** /redfish/v1/Chassis/<baseboard>/Thermal#/Temperatures/0
Type (#Thermal.v1_3_0.Temperature), GET SUCCESS (time: 0)
PASS
Signed-off-by: sunitakx <sunitax.kumari@intel.com>
Change-Id: Ifbfe7d96e99030c0c5ba67a1aba5080cd049e57b
diff --git a/static/redfish/v1/JsonSchemas/PhysicalContext/index.json b/static/redfish/v1/JsonSchemas/PhysicalContext/index.json
new file mode 100644
index 0000000..729c0ca
--- /dev/null
+++ b/static/redfish/v1/JsonSchemas/PhysicalContext/index.json
@@ -0,0 +1,22 @@
+{
+ "@odata.context": "/redfish/v1/$metadata#JsonSchemaFile.JsonSchemaFile",
+ "@odata.id": "/redfish/v1/JsonSchemas/PhysicalContext",
+ "@odata.type": "#JsonSchemaFile.v1_0_2.JsonSchemaFile",
+ "Name": "PhysicalContext Schema File",
+ "Schema": "#PhysicalContext.PhysicalContext",
+ "Description": "PhysicalContext Schema File Location",
+ "Id": "PhysicalContext",
+ "Languages": [
+ "en"
+ ],
+ "Languages@odata.count": 1,
+ "Location": [
+ {
+ "Language": "en",
+ "PublicationUri": "http://redfish.dmtf.org/schemas/v1/PhysicalContext.json",
+ "Uri": "/redfish/v1/JsonSchemas/PhysicalContext/PhysicalContext.json"
+ }
+ ],
+ "Location@odata.count": 1
+}
+