1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  Triggers v1.3.2                                                     -->
5<!--#                                                                                      -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
7<!--# available at http://www.dmtf.org/standards/redfish                                   -->
8<!--# Copyright 2014-2023 DMTF.                                                            -->
9<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10<!--################################################################################       -->
11<!---->
12<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
13
14  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
15    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
16  </edmx:Reference>
17  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19  </edmx:Reference>
20  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
21    <edmx:Include Namespace="Resource"/>
22    <edmx:Include Namespace="Resource.v1_0_0"/>
23  </edmx:Reference>
24  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
25    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
26    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
27  </edmx:Reference>
28  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/MetricReportDefinition_v1.xml">
29    <edmx:Include Namespace="MetricReportDefinition"/>
30  </edmx:Reference>
31
32  <edmx:DataServices>
33
34    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers">
35      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
36
37      <EntityType Name="Triggers" BaseType="Resource.v1_0_0.Resource" Abstract="true">
38        <Annotation Term="OData.Description" String="The Triggers schema describes a trigger that applies to metrics."/>
39        <Annotation Term="OData.LongDescription" String="This resource shall contain a trigger that applies to metrics."/>
40        <Annotation Term="Capabilities.InsertRestrictions">
41          <Record>
42            <PropertyValue Property="Insertable" Bool="false"/>
43          </Record>
44        </Annotation>
45        <Annotation Term="Capabilities.UpdateRestrictions">
46          <Record>
47            <PropertyValue Property="Updatable" Bool="true"/>
48            <Annotation Term="OData.Description" String="Triggers can be updated to configure them."/>
49          </Record>
50        </Annotation>
51        <Annotation Term="Capabilities.DeleteRestrictions">
52          <Record>
53            <PropertyValue Property="Deletable" Bool="true"/>
54            <Annotation Term="OData.Description" String="Triggers can be deleted."/>
55          </Record>
56        </Annotation>
57        <Annotation Term="Redfish.Uris">
58          <Collection>
59            <String>/redfish/v1/TelemetryService/Triggers/{TriggersId}</String>
60          </Collection>
61        </Annotation>
62      </EntityType>
63    </Schema>
64
65    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_0">
66      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
67      <Annotation Term="Redfish.Release" String="2018.2"/>
68
69      <EntityType Name="Triggers" BaseType="Triggers.Triggers">
70        <Property Name="MetricType" Type="Triggers.v1_0_0.MetricTypeEnum">
71          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
72          <Annotation Term="OData.Description" String="The metric type of the trigger."/>
73          <Annotation Term="OData.LongDescription" String="This property shall contain the metric type of the trigger."/>
74        </Property>
75        <Property Name="TriggerActions" Type="Collection(Triggers.v1_0_0.TriggerActionEnum)" Nullable="false">
76          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
77          <Annotation Term="OData.Description" String="The actions that the trigger initiates."/>
78          <Annotation Term="OData.LongDescription" String="This property shall contain the actions that the trigger initiates."/>
79        </Property>
80        <Property Name="NumericThresholds" Type="Triggers.v1_0_0.Thresholds" Nullable="false">
81          <Annotation Term="OData.Description" String="The thresholds when a numeric metric triggers."/>
82          <Annotation Term="OData.LongDescription" String="This property shall contain the list of thresholds to which to compare a numeric metric value."/>
83        </Property>
84        <Property Name="DiscreteTriggerCondition" Type="Triggers.v1_0_0.DiscreteTriggerConditionEnum">
85          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
86          <Annotation Term="OData.Description" String="The conditions when a discrete metric triggers."/>
87          <Annotation Term="OData.LongDescription" String="This property shall contain the conditions when a discrete metric triggers."/>
88        </Property>
89        <Property Name="DiscreteTriggers" Type="Collection(Triggers.v1_0_0.DiscreteTrigger)" Nullable="false">
90          <Annotation Term="OData.Description" String="The list of discrete triggers."/>
91          <Annotation Term="OData.LongDescription" String="This property shall contain a list of values to which to compare a metric reading.  This property shall be present when the DiscreteTriggerCondition property is `Specified`."/>
92        </Property>
93
94        <Property Name="Status" Type="Resource.Status" Nullable="false">
95          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
96          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
97        </Property>
98
99        <Property Name="Wildcards" Type="Collection(Triggers.v1_0_0.Wildcard)" Nullable="false">
100          <Annotation Term="OData.Description" String="The wildcards and their substitution values for the entries in the MetricProperties array property."/>
101          <Annotation Term="OData.LongDescription" String="This property shall contain the wildcards and their substitution values for the entries in the MetricProperties array property.  Each wildcard shall have a corresponding entry in this array property."/>
102        </Property>
103        <Property Name="MetricProperties" Type="Collection(Edm.String)">
104          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
105          <Annotation Term="OData.Description" String="An array of URIs with wildcards and property identifiers for this trigger.  Each wildcard is replaced with its corresponding entry in the Wildcard array property."/>
106          <Annotation Term="OData.LongDescription" String="This property shall contain an array of URIs with wildcards and property identifiers for this trigger.  Use a set of curly braces to delimit each wildcard in the URI.  Replace each wildcard with its corresponding entry in the Wildcard array property.  A URI that contains wildcards shall link to a resource property to which the metric definition applies after all wildcards are replaced with their corresponding entries in the Wildcard array property.  The property identifiers portion of the URI shall follow the RFC6901-defined JSON fragment notation rules."/>
107          <Annotation Term="OData.IsURL"/>
108        </Property>
109        <Property Name="Actions" Type="Triggers.v1_0_0.Actions" Nullable="false">
110          <Annotation Term="OData.Description" String="The available actions for this resource."/>
111          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
112        </Property>
113      </EntityType>
114
115      <EnumType Name="MetricTypeEnum">
116        <Annotation Term="OData.Description" String="The type of metric for which the trigger is configured."/>
117        <Annotation Term="OData.LongDescription" String="This type shall specify the type of metric for which the trigger is configured."/>
118        <Member Name="Numeric">
119          <Annotation Term="OData.Description" String="The trigger is for numeric sensor."/>
120        </Member>
121        <Member Name="Discrete">
122          <Annotation Term="OData.Description" String="The trigger is for a discrete sensor."/>
123        </Member>
124      </EnumType>
125
126      <EnumType Name="TriggerActionEnum">
127        <Annotation Term="OData.Description" String="The actions to perform when a trigger condition is met."/>
128        <Annotation Term="OData.LongDescription" String="This type shall specify the actions to perform when a trigger condition is met."/>
129        <Member Name="LogToLogService">
130          <Annotation Term="OData.Description" String="When a trigger condition is met, record in a log."/>
131          <Annotation Term="OData.LongDescription" String="This value indicates that when a trigger condition is met, the service shall log the occurrence of the condition to the log that the LogService property in the telemetry service resource describes."/>
132        </Member>
133        <Member Name="RedfishEvent">
134          <Annotation Term="OData.Description" String="When a trigger condition is met, the service sends an event to subscribers."/>
135          <Annotation Term="OData.LongDescription" String="This value indicates that when a trigger condition is met, the service shall send an event to subscribers."/>
136        </Member>
137        <Member Name="RedfishMetricReport">
138          <Annotation Term="OData.Description" String="When a trigger condition is met, force an update of the specified metric reports."/>
139          <Annotation Term="OData.LongDescription" String="This value indicates that when a trigger condition is met, the service shall force the metric reports managed by the MetricReportDefinitions specified by the MetricReportDefinitions property to be updated, regardless of the MetricReportDefinitionType property value.  The actions specified in the ReportActions property of each MetricReportDefinition shall be performed."/>
140          <Annotation Term="Redfish.Revisions">
141            <Collection>
142              <Record>
143                <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
144                <PropertyValue Property="Version" String="v1_1_0"/>
145              </Record>
146            </Collection>
147          </Annotation>
148        </Member>
149      </EnumType>
150
151      <EnumType Name="DiscreteTriggerConditionEnum">
152        <Annotation Term="OData.Description" String="The condition, in relationship to the discrete trigger values, which constitutes a trigger."/>
153        <Annotation Term="OData.LongDescription" String="This type shall specify the condition, in relationship to the discrete trigger values, which constitutes a trigger."/>
154        <Member Name="Specified">
155          <Annotation Term="OData.Description" String="A discrete trigger condition is met when the metric value becomes one of the values that the DiscreteTriggers property lists."/>
156        </Member>
157        <Member Name="Changed">
158          <Annotation Term="OData.Description" String="A discrete trigger condition is met whenever the metric value changes."/>
159        </Member>
160      </EnumType>
161
162      <ComplexType Name="Thresholds">
163        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
164        <Annotation Term="OData.Description" String="The set of thresholds for a sensor."/>
165        <Annotation Term="OData.LongDescription" String="This type shall contain a set of thresholds for a sensor."/>
166        <Property Name="UpperWarning" Type="Triggers.v1_0_0.Threshold" Nullable="false">
167          <Annotation Term="OData.Description" String="The value at which the reading is above normal range."/>
168          <Annotation Term="OData.LongDescription" String="This property shall contain the value at which the MetricProperties property is above the normal range.  The value of the property shall use the same units as the MetricProperties property."/>
169        </Property>
170        <Property Name="UpperCritical" Type="Triggers.v1_0_0.Threshold" Nullable="false">
171          <Annotation Term="OData.Description" String="The value at which the reading is above normal range and requires attention."/>
172          <Annotation Term="OData.LongDescription" String="This property shall contain the value at which the MetricProperties property is above the normal range and may require attention.  The value of the property shall use the same units as the MetricProperties property."/>
173        </Property>
174        <Property Name="LowerWarning" Type="Triggers.v1_0_0.Threshold" Nullable="false">
175          <Annotation Term="OData.Description" String="The value at which the reading is below normal range."/>
176          <Annotation Term="OData.LongDescription" String="This property shall contain the value at which the MetricProperties property is below the normal range.  The value of the property shall use the same units as the MetricProperties property."/>
177        </Property>
178        <Property Name="LowerCritical" Type="Triggers.v1_0_0.Threshold" Nullable="false">
179          <Annotation Term="OData.Description" String="The value at which the reading is below normal range and requires attention."/>
180          <Annotation Term="OData.LongDescription" String="This property shall contain the value at which the MetricProperties property is below the normal range and may require attention.  The value of the property shall use the same units as the MetricProperties property."/>
181        </Property>
182      </ComplexType>
183
184      <ComplexType Name="Threshold">
185        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
186        <Annotation Term="OData.Description" String="A threshold definition for a sensor."/>
187        <Annotation Term="OData.LongDescription" String="This type shall contain the properties for an individual threshold for this sensor."/>
188        <Property Name="Reading" Type="Edm.Decimal">
189          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
190          <Annotation Term="OData.Description" String="The threshold value."/>
191          <Annotation Term="OData.LongDescription" String="This property shall indicate the reading for this sensor that activates the threshold.  The value of the property shall use the same units as the MetricProperties property."/>
192        </Property>
193        <Property Name="Activation" Type="Triggers.v1_0_0.ThresholdActivation">
194          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
195          <Annotation Term="OData.Description" String="The direction of crossing that activates this threshold."/>
196          <Annotation Term="OData.LongDescription" String="This property shall indicate the direction of crossing of the reading for this sensor that activates the threshold."/>
197        </Property>
198        <Property Name="DwellTime" Type="Edm.Duration">
199          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
200          <Annotation Term="OData.Description" String="The duration the sensor value must violate the threshold before the threshold is activated."/>
201          <Annotation Term="OData.LongDescription" String="This property shall indicate the duration the sensor value violates the threshold before the threshold is activated."/>
202        </Property>
203      </ComplexType>
204
205      <ComplexType Name="Actions">
206        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
207        <Annotation Term="OData.Description" String="The available actions for this resource."/>
208        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
209        <Property Name="Oem" Type="Triggers.v1_0_0.OemActions" Nullable="false">
210          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
211          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
212        </Property>
213      </ComplexType>
214
215      <ComplexType Name="OemActions">
216        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
217        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
218        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
219      </ComplexType>
220
221      <EnumType Name="ThresholdActivation">
222        <Member Name="Increasing">
223          <Annotation Term="OData.Description" String="Value increases above the threshold."/>
224          <Annotation Term="OData.LongDescription" String="This threshold is activated when the reading changes from a value lower than the threshold to a value higher than the threshold."/>
225        </Member>
226        <Member Name="Decreasing">
227          <Annotation Term="OData.Description" String="Value decreases below the threshold."/>
228          <Annotation Term="OData.LongDescription" String="This threshold is activated when the reading changes from a value higher than the threshold to a value lower than the threshold."/>
229        </Member>
230        <Member Name="Either">
231          <Annotation Term="OData.Description" String="Value crosses the threshold in either direction."/>
232          <Annotation Term="OData.LongDescription" String="This threshold is activated when either the Increasing or Decreasing conditions are met."/>
233        </Member>
234        <Member Name="Disabled">
235          <Annotation Term="OData.Description" String="The threshold is disabled."/>
236          <Annotation Term="OData.LongDescription" String="This value shall indicate the threshold is disabled and no actions shall be taken as a result of the reading crossing the threshold value."/>
237          <Annotation Term="Redfish.Revisions">
238            <Collection>
239              <Record>
240                <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
241                <PropertyValue Property="Version" String="v1_3_0"/>
242              </Record>
243            </Collection>
244          </Annotation>
245        </Member>
246      </EnumType>
247
248      <EnumType Name="DirectionOfCrossingEnum">
249        <Annotation Term="OData.Description" String="The direction of crossing that corresponds to a trigger."/>
250        <Annotation Term="OData.LongDescription" String="The value shall indicate the direction of crossing that corresponds to a trigger."/>
251        <Member Name="Increasing">
252          <Annotation Term="OData.Description" String="A trigger condition is met when the metric value crosses the trigger value while increasing."/>
253        </Member>
254        <Member Name="Decreasing">
255          <Annotation Term="OData.Description" String="A trigger is met when the metric value crosses the trigger value while decreasing."/>
256        </Member>
257      </EnumType>
258
259      <ComplexType Name="DiscreteTrigger">
260        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
261        <Annotation Term="OData.Description" String="The characteristics of the discrete trigger."/>
262        <Annotation Term="OData.LongDescription" String="This object shall contain the characteristics of the discrete trigger."/>
263        <Property Name="Name" Type="Edm.String">
264          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
265          <Annotation Term="OData.Description" String="The name of trigger."/>
266          <Annotation Term="OData.LongDescription" String="This property shall contain a name for the trigger."/>
267        </Property>
268        <Property Name="Value" Type="Edm.String">
269          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
270          <Annotation Term="OData.Description" String="The discrete metric value that constitutes a trigger event."/>
271          <Annotation Term="OData.LongDescription" String="This property shall contain the value discrete metric that constitutes a trigger event.  The DwellTime shall be measured from this point in time."/>
272        </Property>
273        <Property Name="DwellTime" Type="Edm.Duration">
274          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
275          <Annotation Term="OData.Description" String="The amount of time that a trigger event persists before the metric action is performed."/>
276          <Annotation Term="OData.LongDescription" String="This property shall contain the amount of time that a trigger event persists before the TriggerActions are performed."/>
277        </Property>
278        <Property Name="Severity" Type="Resource.Health">
279          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
280          <Annotation Term="OData.Description" String="The severity of the event message."/>
281          <Annotation Term="OData.LongDescription" String="This property shall contain the Severity property to be used in the event message."/>
282        </Property>
283      </ComplexType>
284
285      <ComplexType Name="Wildcard">
286        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
287        <Annotation Term="OData.Description" String="The wildcard and its substitution values."/>
288        <Annotation Term="OData.LongDescription" String="This property shall contain a wildcard and its substitution values."/>
289        <Property Name="Name" Type="Edm.String">
290          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
291          <Annotation Term="OData.Description" String="The wildcard."/>
292          <Annotation Term="OData.LongDescription" String="This property shall contain the string used as a wildcard."/>
293        </Property>
294        <Property Name="Values" Type="Collection(Edm.String)">
295          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
296          <Annotation Term="OData.Description" String="An array of values to substitute for the wildcard."/>
297          <Annotation Term="OData.LongDescription" String="This array property shall contain the list of values to substitute for the wildcard."/>
298        </Property>
299      </ComplexType>
300    </Schema>
301
302    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_1">
303      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
304      <Annotation Term="OData.Description" String="This version was created to clarify descriptions of several properties."/>
305      <EntityType Name="Triggers" BaseType="Triggers.v1_0_0.Triggers"/>
306    </Schema>
307
308    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_2">
309      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
310      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format, and to add a missing term to several properties to disallow them from being `null`."/>
311      <EntityType Name="Triggers" BaseType="Triggers.v1_0_1.Triggers"/>
312    </Schema>
313
314    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_3">
315      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
316      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
317      <EntityType Name="Triggers" BaseType="Triggers.v1_0_2.Triggers"/>
318    </Schema>
319
320    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_4">
321      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
322      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
323      <EntityType Name="Triggers" BaseType="Triggers.v1_0_3.Triggers"/>
324    </Schema>
325
326    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_5">
327      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
328      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
329      <EntityType Name="Triggers" BaseType="Triggers.v1_0_4.Triggers"/>
330    </Schema>
331
332    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_6">
333      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
334      <Annotation Term="OData.Description" String="This version was created to correct various descriptions to use proper normative terminology."/>
335      <EntityType Name="Triggers" BaseType="Triggers.v1_0_5.Triggers"/>
336    </Schema>
337
338    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_7">
339      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
340      <Annotation Term="OData.Description" String="This version was created to correct the regular expression pattern for duration properties in JSON Schema and OpenAPI to not allow for negative values."/>
341      <EntityType Name="Triggers" BaseType="Triggers.v1_0_6.Triggers"/>
342    </Schema>
343
344    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_8">
345      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
346      <Annotation Term="OData.Description" String="This version was created to remove normative language from non-normative descriptions."/>
347      <EntityType Name="Triggers" BaseType="Triggers.v1_0_7.Triggers"/>
348    </Schema>
349
350    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_0">
351      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
352      <Annotation Term="Redfish.Release" String="2019.1"/>
353
354      <EntityType Name="Triggers" BaseType="Triggers.v1_0_2.Triggers">
355        <Property Name="EventTriggers" Type="Collection(Edm.String)">
356          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
357          <Annotation Term="OData.Description" String="The array of MessageIds that specify when a trigger condition is met based on an event."/>
358          <Annotation Term="OData.LongDescription" String="This property shall contain an array of MessageIds that specify when a trigger condition is met based on an event.  When the service generates an event and if it contains a MessageId within this array, a trigger condition shall be met.  The MetricType property should not be present if this resource is configured for event-based triggers."/>
359          <Annotation Term="Validation.Pattern" String="^[A-Za-z0-9]+\.\d+\.\d+\.[A-Za-z0-9.]+$"/>
360        </Property>
361        <Property Name="Links" Type="Triggers.v1_1_0.Links" Nullable="false">
362          <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
363          <Annotation Term="OData.LongDescription" String="This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."/>
364        </Property>
365      </EntityType>
366
367      <ComplexType Name="Links" BaseType="Resource.Links">
368        <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
369        <Annotation Term="OData.LongDescription" String="This Redfish Specification-described type shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."/>
370        <NavigationProperty Name="MetricReportDefinitions" Type="Collection(MetricReportDefinition.MetricReportDefinition)">
371          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
372          <Annotation Term="OData.Description" String="The metric report definitions that generate new metric reports when a trigger condition is met and when the TriggerActions property contains `RedfishMetricReport`."/>
373          <Annotation Term="OData.LongDescription" String="This property shall contain a set of links to metric report definitions that generate new metric reports when a trigger condition is met and when the TriggerActions property contains `RedfishMetricReport`."/>
374          <Annotation Term="OData.AutoExpandReferences"/>
375        </NavigationProperty>
376      </ComplexType>
377    </Schema>
378
379    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_1">
380      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
381      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
382      <EntityType Name="Triggers" BaseType="Triggers.v1_1_0.Triggers"/>
383    </Schema>
384
385    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_2">
386      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
387      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
388      <EntityType Name="Triggers" BaseType="Triggers.v1_1_1.Triggers"/>
389    </Schema>
390
391    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_3">
392      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
393      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
394      <EntityType Name="Triggers" BaseType="Triggers.v1_1_2.Triggers"/>
395    </Schema>
396
397    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_4">
398      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
399      <Annotation Term="OData.Description" String="This version was created to correct various descriptions to use proper normative terminology.  It was also created to clarify the usage of MetricType for event-based triggers."/>
400      <EntityType Name="Triggers" BaseType="Triggers.v1_1_3.Triggers"/>
401    </Schema>
402
403    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_5">
404      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
405      <Annotation Term="OData.Description" String="This version was created to correct the regular expression pattern for duration properties in JSON Schema and OpenAPI to not allow for negative values."/>
406      <EntityType Name="Triggers" BaseType="Triggers.v1_1_4.Triggers"/>
407    </Schema>
408
409    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_6">
410      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
411      <Annotation Term="OData.Description" String="This version was created to remove normative language from non-normative descriptions."/>
412      <EntityType Name="Triggers" BaseType="Triggers.v1_1_5.Triggers"/>
413    </Schema>
414
415    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_2_0">
416      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
417      <Annotation Term="Redfish.Release" String="2021.2"/>
418
419      <EntityType Name="Triggers" BaseType="Triggers.v1_1_4.Triggers">
420        <Property Name="MetricIds" Type="Collection(Edm.String)">
421          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
422          <Annotation Term="OData.Description" String="The label for the metric definitions that contain the property identifiers for this trigger.  It matches the Id property of the corresponding metric definition."/>
423          <Annotation Term="OData.LongDescription" String="This property shall contain the labels for the metric definitions that contain the property identifiers for this trigger.  This property shall match the value of the Id property of the corresponding metric definitions."/>
424        </Property>
425      </EntityType>
426    </Schema>
427
428    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_2_1">
429      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
430      <Annotation Term="OData.Description" String="This version was created to correct the regular expression pattern for duration properties in JSON Schema and OpenAPI to not allow for negative values."/>
431      <EntityType Name="Triggers" BaseType="Triggers.v1_2_0.Triggers"/>
432    </Schema>
433
434    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_2_2">
435      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
436      <Annotation Term="OData.Description" String="This version was created to remove normative language from non-normative descriptions."/>
437      <EntityType Name="Triggers" BaseType="Triggers.v1_2_1.Triggers"/>
438    </Schema>
439
440    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_3_0">
441      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
442      <Annotation Term="Redfish.Release" String="2023.1"/>
443      <Annotation Term="OData.Description" String="This version was created to add `Disabled` to Activation within Threshold."/>
444
445      <EntityType Name="Triggers" BaseType="Triggers.v1_2_0.Triggers">
446        <Property Name="HysteresisReading" Type="Edm.Decimal">
447          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
448          <Annotation Term="OData.Description" String="The reading offset from the threshold value required to clear the threshold."/>
449          <Annotation Term="OData.LongDescription" String="This property shall indicate the offset from the reading for this sensor and the threshold value that deactivates the threshold.  For example, a value of `-2` indicates the sensor reading shall fall 2 units below an upper threshold value to deactivate the threshold.  The value of the property shall use the same units as the Reading property.  A value of `0`, or if the property is not present in the resource, shall indicate the threshold is deactivated when the sensor value no longer violates the threshold.  The threshold shall not deactivate until the conditions of both HysteresisReading and HysteresisDuration are met."/>
450        </Property>
451        <Property Name="HysteresisDuration" Type="Edm.Duration">
452          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
453          <Annotation Term="OData.Description" String="The duration the sensor value must not violate the threshold before the threshold is deactivated."/>
454          <Annotation Term="OData.LongDescription" String="This property shall indicate the duration the sensor value no longer violates the threshold before the threshold is deactivated.  A duration of zero seconds, or if the property is not present in the resource, shall indicate the threshold is deactivated immediately once the sensor value no longer violates the threshold.  The threshold shall not deactivate until the conditions of both HysteresisReading and HysteresisDuration are met."/>
455        </Property>
456      </EntityType>
457    </Schema>
458
459    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_3_1">
460      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
461      <Annotation Term="OData.Description" String="This version was created to correct the regular expression pattern for duration properties in JSON Schema and OpenAPI to not allow for negative values."/>
462      <EntityType Name="Triggers" BaseType="Triggers.v1_3_0.Triggers"/>
463    </Schema>
464
465    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_3_2">
466      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
467      <Annotation Term="OData.Description" String="This version was created to remove normative language from non-normative descriptions."/>
468      <EntityType Name="Triggers" BaseType="Triggers.v1_3_1.Triggers"/>
469    </Schema>
470
471  </edmx:DataServices>
472</edmx:Edmx>
473