Update schemas to 2023.2
To quote from The Redfish release [1]
2022.3 Redfish Schema Bundle – This .zip file contains the current
versions of all Redfish schemas. The bundle includes 40 schema updates
and developer resources.
Added Compute Express Link (CXL) support (NEW)
Extensions to Fabric, PCIeDevice, Processor, Memory, ComputerSystem,
and Chassis schemas Defined by DMTF alliance partner Compute Express
Link (CXL) Consortium
Extensions to Fabric, PCIeDevice, Processor, Memory, ComputerSystem,
and Chassis schemas New CXLLogicalDevice schema
Added MultiFactorAuth to AccountService to configure a service for
multi-factor authentication
HTTP Basic authentication is not available for accounts configured
for multi-factor authentication
For client certificate authentication, the client provides their
identity certificate during TLS handshaking
For RSA SecurID, Google Authenticator, and Microsoft Authenticator,
clients provide a new Token property in the session creation request
Added Heater and HeaterMetrics resources
[1] https://www.dmtf.org/content/redfish-release-20223-now-available
Change-Id: Iefe80866bfb83e65ab98b2cf4ee2eacce5238c5b
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/static/redfish/v1/schema/Sensor_v1.xml b/static/redfish/v1/schema/Sensor_v1.xml
index a84a436..e069f73 100644
--- a/static/redfish/v1/schema/Sensor_v1.xml
+++ b/static/redfish/v1/schema/Sensor_v1.xml
@@ -335,6 +335,15 @@
<Annotation Term="OData.Description" String="The estimated percent error of measured versus actual values."/>
<Annotation Term="OData.LongDescription" String="This property shall contain the percent error +/- of the measured versus actual values of the Reading property."/>
<Annotation Term="Measures.Unit" String="%"/>
+ <Annotation Term="Redfish.Revisions">
+ <Collection>
+ <Record>
+ <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Deprecated"/>
+ <PropertyValue Property="Version" String="v1_8_0"/>
+ <PropertyValue Property="Description" String="This property has been deprecated in favor of ReadingAccuracy."/>
+ </Record>
+ </Collection>
+ </Annotation>
</Property>
<Property Name="SensingFrequency" Type="Edm.Decimal">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
@@ -624,7 +633,7 @@
</Member>
<Member Name="Percent">
<Annotation Term="OData.Description" String="Percent (%)."/>
- <Annotation Term="OData.LongDescription" String="This value shall indicate a percentage measurement, in percent units. The ReadingUnits property shall contain `%`."/>
+ <Annotation Term="OData.LongDescription" String="This value shall indicate a percentage measurement, in percent units. The Reading value, while typically `0` to `100`, may exceed `100` for rate-of-change or similar readings. The ReadingUnits property shall contain `%`."/>
<Annotation Term="Redfish.Revisions">
<Collection>
<Record>
@@ -729,9 +738,11 @@
</Property>
<Property Name="THDPercent" Type="Edm.Decimal">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
- <Annotation Term="OData.Description" String="The total harmonic distortion (THD)."/>
- <Annotation Term="OData.LongDescription" String="This property shall contain the total harmonic distortion of the Reading property in percent units."/>
+ <Annotation Term="OData.Description" String="The total harmonic distortion percent (% THD)."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the total harmonic distortion of the Reading property in percent units, typically `0` to `100`."/>
<Annotation Term="Redfish.Excerpt" String="Current,Voltage"/>
+ <Annotation Term="Measures.Unit" String="%"/>
+ <Annotation Term="Validation.Minimum" Int="0"/>
</Property>
<Property Name="LifetimeReading" Type="Edm.Decimal">
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
@@ -1061,5 +1072,19 @@
</ComplexType>
</Schema>
+ <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Sensor.v1_8_0">
+ <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
+ <Annotation Term="Redfish.Release" String="2023.2"/>
+ <Annotation Term="OData.Description" String="This version was created to add missing units to THDPercent. It was also created to deprecate Accuracy."/>
+
+ <EntityType Name="Sensor" BaseType="Sensor.v1_7_0.Sensor">
+ <Property Name="ReadingAccuracy" Type="Edm.Decimal">
+ <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
+ <Annotation Term="OData.Description" String="Accuracy (+/-) of the reading."/>
+ <Annotation Term="OData.LongDescription" String="This property shall contain the accuracy of the value of the Reading for this sensor. The value shall be the absolute value of the maximum deviation of the Reading from its actual value. The value shall be in units that follow the ReadingUnits for this sensor."/>
+ </Property>
+ </EntityType>
+ </Schema>
+
</edmx:DataServices>
</edmx:Edmx>