1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  Triggers v1.4.0                                                     -->
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-2024 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      <Annotation Term="Redfish.Language" String="en"/>
37
38      <EntityType Name="Triggers" BaseType="Resource.v1_0_0.Resource" Abstract="true">
39        <Annotation Term="OData.Description" String="The `Triggers` schema describes a trigger condition that applies to metrics."/>
40        <Annotation Term="OData.LongDescription" String="This resource shall contain a trigger condition that applies to metrics."/>
41        <Annotation Term="Capabilities.InsertRestrictions">
42          <Record>
43            <PropertyValue Property="Insertable" Bool="false"/>
44          </Record>
45        </Annotation>
46        <Annotation Term="Capabilities.UpdateRestrictions">
47          <Record>
48            <PropertyValue Property="Updatable" Bool="true"/>
49            <Annotation Term="OData.Description" String="Triggers can be updated to configure them."/>
50          </Record>
51        </Annotation>
52        <Annotation Term="Capabilities.DeleteRestrictions">
53          <Record>
54            <PropertyValue Property="Deletable" Bool="true"/>
55            <Annotation Term="OData.Description" String="Triggers can be deleted."/>
56          </Record>
57        </Annotation>
58        <Annotation Term="Redfish.Uris">
59          <Collection>
60            <String>/redfish/v1/TelemetryService/Triggers/{TriggersId}</String>
61          </Collection>
62        </Annotation>
63      </EntityType>
64    </Schema>
65
66    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_0">
67      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
68      <Annotation Term="Redfish.Release" String="2018.2"/>
69
70      <EntityType Name="Triggers" BaseType="Triggers.Triggers">
71        <Property Name="MetricType" Type="Triggers.v1_0_0.MetricTypeEnum">
72          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
73          <Annotation Term="OData.Description" String="The metric type of the trigger."/>
74          <Annotation Term="OData.LongDescription" String="This property shall contain the metric type of the trigger."/>
75        </Property>
76        <Property Name="TriggerActions" Type="Collection(Triggers.v1_0_0.TriggerActionEnum)" Nullable="false">
77          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
78          <Annotation Term="OData.Description" String="The actions that the trigger initiates."/>
79          <Annotation Term="OData.LongDescription" String="This property shall contain the actions that the trigger initiates."/>
80        </Property>
81        <Property Name="NumericThresholds" Type="Triggers.v1_0_0.Thresholds" Nullable="false">
82          <Annotation Term="OData.Description" String="The thresholds for a numeric metric trigger."/>
83          <Annotation Term="OData.LongDescription" String="This property shall contain the list of thresholds to which to compare a numeric metric value."/>
84        </Property>
85        <Property Name="DiscreteTriggerCondition" Type="Triggers.v1_0_0.DiscreteTriggerConditionEnum">
86          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
87          <Annotation Term="OData.Description" String="The conditions for a discrete metric trigger."/>
88          <Annotation Term="OData.LongDescription" String="This property shall contain the conditions when a discrete metric triggers."/>
89        </Property>
90        <Property Name="DiscreteTriggers" Type="Collection(Triggers.v1_0_0.DiscreteTrigger)" Nullable="false">
91          <Annotation Term="OData.Description" String="The list of discrete triggers."/>
92          <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`."/>
93        </Property>
94
95        <Property Name="Status" Type="Resource.Status" Nullable="false">
96          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
97          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
98        </Property>
99
100        <Property Name="Wildcards" Type="Collection(Triggers.v1_0_0.Wildcard)" Nullable="false">
101          <Annotation Term="OData.Description" String="The wildcards and their substitution values for the entries in the `MetricProperties` array property."/>
102          <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."/>
103        </Property>
104        <Property Name="MetricProperties" Type="Collection(Edm.String)">
105          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
106          <Annotation Term="OData.Description" String="An array of URIs with wildcards and property identifiers for this trigger.  Each wildcard, a name contained by a set of curly braces, is replaced with its corresponding entry in the `Wildcard` array property."/>
107          <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 this trigger definition applies after all wildcards are replaced with their corresponding entries in the Wildcard property.  The property identifiers portion of the URI shall follow the RFC6901-defined JSON fragment notation rules."/>
108          <Annotation Term="OData.IsURL"/>
109        </Property>
110        <Property Name="Actions" Type="Triggers.v1_0_0.Actions" Nullable="false">
111          <Annotation Term="OData.Description" String="The available actions for this resource."/>
112          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
113        </Property>
114      </EntityType>
115
116      <EnumType Name="MetricTypeEnum">
117        <Annotation Term="OData.Description" String="The type of metric for which the trigger is configured."/>
118        <Annotation Term="OData.LongDescription" String="This type shall specify the type of metric for which the trigger is configured."/>
119        <Member Name="Numeric">
120          <Annotation Term="OData.Description" String="A numeric value trigger."/>
121        </Member>
122        <Member Name="Discrete">
123          <Annotation Term="OData.Description" String="A discrete value trigger."/>
124        </Member>
125      </EnumType>
126
127      <EnumType Name="TriggerActionEnum">
128        <Annotation Term="OData.Description" String="The actions to perform when a trigger condition is met."/>
129        <Annotation Term="OData.LongDescription" String="This type shall specify the actions to perform when a trigger condition is met."/>
130        <Member Name="LogToLogService">
131          <Annotation Term="OData.Description" String="When a trigger condition is met, record in a log."/>
132          <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.  The message for the created log entry shall follow the guidance specified by the `TriggerActionMessage` property."/>
133        </Member>
134        <Member Name="RedfishEvent">
135          <Annotation Term="OData.Description" String="When a trigger condition is met, the service sends an event to subscribers."/>
136          <Annotation Term="OData.LongDescription" String="This value indicates that when a trigger condition is met, the service shall send an event to subscribers.  The message key for the event shall follow the guidance specified by TriggerActionMessage."/>
137        </Member>
138        <Member Name="RedfishMetricReport">
139          <Annotation Term="OData.Description" String="When a trigger condition is met, force an update of the specified metric reports."/>
140          <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 metric report definitions specified by the `MetricReportDefinitions` property to be updated, regardless of the `MetricReportDefinitionType` property value.  The actions specified in the `ReportActions` property of each `MetricReportDefinition` resource shall be performed."/>
141          <Annotation Term="Redfish.Revisions">
142            <Collection>
143              <Record>
144                <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
145                <PropertyValue Property="Version" String="v1_1_0"/>
146              </Record>
147            </Collection>
148          </Annotation>
149        </Member>
150      </EnumType>
151
152      <EnumType Name="DiscreteTriggerConditionEnum">
153        <Annotation Term="OData.Description" String="The condition, in relationship to the discrete trigger values, which constitutes a trigger."/>
154        <Annotation Term="OData.LongDescription" String="This type shall specify the condition, in relationship to the discrete trigger values, which constitutes a trigger."/>
155        <Member Name="Specified">
156          <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."/>
157        </Member>
158        <Member Name="Changed">
159          <Annotation Term="OData.Description" String="A discrete trigger condition is met whenever the metric value changes."/>
160        </Member>
161      </EnumType>
162
163      <ComplexType Name="Thresholds">
164        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
165        <Annotation Term="OData.Description" String="The set of thresholds for a metric."/>
166        <Annotation Term="OData.LongDescription" String="This type shall contain a set of thresholds for a metric."/>
167        <Property Name="UpperWarning" Type="Triggers.v1_0_0.Threshold" Nullable="false">
168          <Annotation Term="OData.Description" String="The value at which the reading is above normal range."/>
169          <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."/>
170        </Property>
171        <Property Name="UpperCritical" Type="Triggers.v1_0_0.Threshold" Nullable="false">
172          <Annotation Term="OData.Description" String="The value at which the reading is above normal range and requires attention."/>
173          <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."/>
174        </Property>
175        <Property Name="LowerWarning" Type="Triggers.v1_0_0.Threshold" Nullable="false">
176          <Annotation Term="OData.Description" String="The value at which the reading is below normal range."/>
177          <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."/>
178        </Property>
179        <Property Name="LowerCritical" Type="Triggers.v1_0_0.Threshold" Nullable="false">
180          <Annotation Term="OData.Description" String="The value at which the reading is below normal range and requires attention."/>
181          <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."/>
182        </Property>
183      </ComplexType>
184
185      <ComplexType Name="Threshold">
186        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
187        <Annotation Term="OData.Description" String="A threshold definition for a metric."/>
188        <Annotation Term="OData.LongDescription" String="This type shall contain the properties for an individual threshold for this metric."/>
189        <Property Name="Reading" Type="Edm.Decimal">
190          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
191          <Annotation Term="OData.Description" String="The threshold value."/>
192          <Annotation Term="OData.LongDescription" String="This property shall indicate the reading for this metric that activates the threshold.  The value of the property shall use the same units as the `MetricProperties` property."/>
193        </Property>
194        <Property Name="Activation" Type="Triggers.v1_0_0.ThresholdActivation">
195          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
196          <Annotation Term="OData.Description" String="The direction of crossing that activates this threshold."/>
197          <Annotation Term="OData.LongDescription" String="This property shall indicate the direction of crossing of the reading for this metric that activates the threshold."/>
198        </Property>
199        <Property Name="DwellTime" Type="Edm.Duration">
200          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
201          <Annotation Term="OData.Description" String="The duration the metric value must violate the threshold before the threshold is activated."/>
202          <Annotation Term="OData.LongDescription" String="This property shall indicate the duration the metric value violates the threshold before the threshold is activated."/>
203        </Property>
204      </ComplexType>
205
206      <ComplexType Name="Actions">
207        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
208        <Annotation Term="OData.Description" String="The available actions for this resource."/>
209        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
210        <Property Name="Oem" Type="Triggers.v1_0_0.OemActions" Nullable="false">
211          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
212          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
213        </Property>
214      </ComplexType>
215
216      <ComplexType Name="OemActions">
217        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
218        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
219        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
220      </ComplexType>
221
222      <EnumType Name="ThresholdActivation">
223        <Member Name="Increasing">
224          <Annotation Term="OData.Description" String="Value increases above the threshold."/>
225          <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."/>
226        </Member>
227        <Member Name="Decreasing">
228          <Annotation Term="OData.Description" String="Value decreases below the threshold."/>
229          <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."/>
230        </Member>
231        <Member Name="Either">
232          <Annotation Term="OData.Description" String="Value crosses the threshold in either direction."/>
233          <Annotation Term="OData.LongDescription" String="This threshold is activated when either the `Increasing` or `Decreasing` conditions are met."/>
234        </Member>
235        <Member Name="Disabled">
236          <Annotation Term="OData.Description" String="The threshold is disabled."/>
237          <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."/>
238          <Annotation Term="Redfish.Revisions">
239            <Collection>
240              <Record>
241                <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
242                <PropertyValue Property="Version" String="v1_3_0"/>
243              </Record>
244            </Collection>
245          </Annotation>
246        </Member>
247      </EnumType>
248
249      <EnumType Name="DirectionOfCrossingEnum">
250        <Annotation Term="OData.Description" String="The direction of crossing that corresponds to a trigger."/>
251        <Annotation Term="OData.LongDescription" String="The value shall indicate the direction of crossing that corresponds to a trigger."/>
252        <Member Name="Increasing">
253          <Annotation Term="OData.Description" String="A trigger condition is met when the metric value crosses the trigger value while increasing."/>
254        </Member>
255        <Member Name="Decreasing">
256          <Annotation Term="OData.Description" String="A trigger is met when the metric value crosses the trigger value while decreasing."/>
257        </Member>
258      </EnumType>
259
260      <ComplexType Name="DiscreteTrigger">
261        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
262        <Annotation Term="OData.Description" String="The characteristics of the discrete trigger."/>
263        <Annotation Term="OData.LongDescription" String="This object shall contain the characteristics of the discrete trigger."/>
264        <Property Name="Name" Type="Edm.String">
265          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
266          <Annotation Term="OData.Description" String="The name of the trigger."/>
267          <Annotation Term="OData.LongDescription" String="This property shall contain a name for the trigger."/>
268        </Property>
269        <Property Name="Value" Type="Edm.String">
270          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
271          <Annotation Term="OData.Description" String="The discrete metric value that constitutes a trigger event."/>
272          <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."/>
273        </Property>
274        <Property Name="DwellTime" Type="Edm.Duration">
275          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
276          <Annotation Term="OData.Description" String="The amount of time that a trigger event persists before the metric action is performed."/>
277          <Annotation Term="OData.LongDescription" String="This property shall contain the amount of time that a trigger event persists before the `TriggerActions` are performed."/>
278        </Property>
279        <Property Name="Severity" Type="Resource.Health">
280          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
281          <Annotation Term="OData.Description" String="The severity of the event message."/>
282          <Annotation Term="OData.LongDescription" String="This property shall contain the `Severity` property to be used in the event message."/>
283        </Property>
284      </ComplexType>
285
286      <ComplexType Name="Wildcard">
287        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
288        <Annotation Term="OData.Description" String="The wildcard and its substitution values."/>
289        <Annotation Term="OData.LongDescription" String="This property shall contain a wildcard and its substitution values."/>
290        <Property Name="Name" Type="Edm.String">
291          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
292          <Annotation Term="OData.Description" String="The wildcard."/>
293          <Annotation Term="OData.LongDescription" String="This property shall contain the string used as a wildcard when contained by curly braces for a URI segment in `MetricProperties`."/>
294        </Property>
295        <Property Name="Values" Type="Collection(Edm.String)">
296          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
297          <Annotation Term="OData.Description" String="An array of values to substitute for the wildcard.  A single value of `*` matches all resources."/>
298          <Annotation Term="OData.LongDescription" String="This array property shall contain the list of values to substitute for the wildcard.  A single value of `*` shall indicate that the wildcard matches any available values when substituted for a URI segment.  If this property is not present, the value shall be assumed to be `*`."/>
299        </Property>
300      </ComplexType>
301    </Schema>
302
303    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_1">
304      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
305      <Annotation Term="OData.Description" String="This version was created to clarify descriptions of several properties."/>
306      <EntityType Name="Triggers" BaseType="Triggers.v1_0_0.Triggers"/>
307    </Schema>
308
309    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_2">
310      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
311      <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`."/>
312      <EntityType Name="Triggers" BaseType="Triggers.v1_0_1.Triggers"/>
313    </Schema>
314
315    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_3">
316      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
317      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
318      <EntityType Name="Triggers" BaseType="Triggers.v1_0_2.Triggers"/>
319    </Schema>
320
321    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_4">
322      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
323      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
324      <EntityType Name="Triggers" BaseType="Triggers.v1_0_3.Triggers"/>
325    </Schema>
326
327    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_5">
328      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
329      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
330      <EntityType Name="Triggers" BaseType="Triggers.v1_0_4.Triggers"/>
331    </Schema>
332
333    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_6">
334      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
335      <Annotation Term="OData.Description" String="This version was created to correct various descriptions to use proper normative terminology."/>
336      <EntityType Name="Triggers" BaseType="Triggers.v1_0_5.Triggers"/>
337    </Schema>
338
339    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_7">
340      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
341      <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."/>
342      <EntityType Name="Triggers" BaseType="Triggers.v1_0_6.Triggers"/>
343    </Schema>
344
345    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_8">
346      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
347      <Annotation Term="OData.Description" String="This version was created to remove normative language from non-normative descriptions."/>
348      <EntityType Name="Triggers" BaseType="Triggers.v1_0_7.Triggers"/>
349    </Schema>
350
351    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_0_9">
352      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
353      <Annotation Term="OData.Description" String="This version was created to add description text for `Wildcard`-related properties that a value of `*` can be used to select all resources.  It was also created to clarify various descriptions.  It was also created to change the permissions of `Wildcard`-related properties to be read-write.  It was also created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
354      <EntityType Name="Triggers" BaseType="Triggers.v1_0_8.Triggers"/>
355    </Schema>
356
357    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_0">
358      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
359      <Annotation Term="Redfish.Release" String="2019.1"/>
360
361      <EntityType Name="Triggers" BaseType="Triggers.v1_0_2.Triggers">
362        <Property Name="EventTriggers" Type="Collection(Edm.String)">
363          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
364          <Annotation Term="OData.Description" String="The array of `MessageId` values that specify when a trigger condition is met based on an event."/>
365          <Annotation Term="OData.LongDescription" String="This property shall contain an array of `MessageId` values 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."/>
366          <Annotation Term="Validation.Pattern" String="^[A-Za-z0-9]+\.\d+\.\d+\.[A-Za-z0-9.]+$"/>
367        </Property>
368        <Property Name="Links" Type="Triggers.v1_1_0.Links" Nullable="false">
369          <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
370          <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."/>
371        </Property>
372      </EntityType>
373
374      <ComplexType Name="Links" BaseType="Resource.Links">
375        <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
376        <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."/>
377        <NavigationProperty Name="MetricReportDefinitions" Type="Collection(MetricReportDefinition.MetricReportDefinition)">
378          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
379          <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`."/>
380          <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`."/>
381          <Annotation Term="OData.AutoExpandReferences"/>
382        </NavigationProperty>
383      </ComplexType>
384    </Schema>
385
386    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_1">
387      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
388      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
389      <EntityType Name="Triggers" BaseType="Triggers.v1_1_0.Triggers"/>
390    </Schema>
391
392    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_2">
393      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
394      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
395      <EntityType Name="Triggers" BaseType="Triggers.v1_1_1.Triggers"/>
396    </Schema>
397
398    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_3">
399      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
400      <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/>
401      <EntityType Name="Triggers" BaseType="Triggers.v1_1_2.Triggers"/>
402    </Schema>
403
404    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_4">
405      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
406      <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."/>
407      <EntityType Name="Triggers" BaseType="Triggers.v1_1_3.Triggers"/>
408    </Schema>
409
410    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_5">
411      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
412      <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."/>
413      <EntityType Name="Triggers" BaseType="Triggers.v1_1_4.Triggers"/>
414    </Schema>
415
416    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_6">
417      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
418      <Annotation Term="OData.Description" String="This version was created to remove normative language from non-normative descriptions."/>
419      <EntityType Name="Triggers" BaseType="Triggers.v1_1_5.Triggers"/>
420    </Schema>
421
422    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_1_7">
423      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
424      <Annotation Term="OData.Description" String="This version was created to add description text for `Wildcard`-related properties that a value of `*` can be used to select all resources.  It was also created to clarify various descriptions.  It was also created to change the permissions of `Wildcard`-related properties to be read-write.  It was also created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
425      <EntityType Name="Triggers" BaseType="Triggers.v1_1_6.Triggers"/>
426    </Schema>
427
428    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_2_0">
429      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
430      <Annotation Term="Redfish.Release" String="2021.2"/>
431
432      <EntityType Name="Triggers" BaseType="Triggers.v1_1_4.Triggers">
433        <Property Name="MetricIds" Type="Collection(Edm.String)">
434          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
435          <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."/>
436          <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."/>
437        </Property>
438      </EntityType>
439    </Schema>
440
441    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_2_1">
442      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
443      <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."/>
444      <EntityType Name="Triggers" BaseType="Triggers.v1_2_0.Triggers"/>
445    </Schema>
446
447    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_2_2">
448      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
449      <Annotation Term="OData.Description" String="This version was created to remove normative language from non-normative descriptions."/>
450      <EntityType Name="Triggers" BaseType="Triggers.v1_2_1.Triggers"/>
451    </Schema>
452
453    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_2_3">
454      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
455      <Annotation Term="OData.Description" String="This version was created to add description text for `Wildcard`-related properties that a value of `*` can be used to select all resources.  It was also created to clarify various descriptions.  It was also created to change the permissions of `Wildcard`-related properties to be read-write.  It was also created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
456      <EntityType Name="Triggers" BaseType="Triggers.v1_2_2.Triggers"/>
457    </Schema>
458
459    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_3_0">
460      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
461      <Annotation Term="Redfish.Release" String="2023.1"/>
462      <Annotation Term="OData.Description" String="This version was created to add `Disabled` to `Activation` within `Threshold`."/>
463
464      <EntityType Name="Triggers" BaseType="Triggers.v1_2_0.Triggers">
465        <Property Name="HysteresisReading" Type="Edm.Decimal">
466          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
467          <Annotation Term="OData.Description" String="The reading offset from the threshold value required to clear the threshold."/>
468          <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 metric 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 metric value no longer violates the threshold.  The threshold shall not deactivate until the conditions of both `HysteresisReading` and `HysteresisDuration` are met."/>
469        </Property>
470        <Property Name="HysteresisDuration" Type="Edm.Duration">
471          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
472          <Annotation Term="OData.Description" String="The duration the metric value must not violate the threshold before the threshold is deactivated."/>
473          <Annotation Term="OData.LongDescription" String="This property shall indicate the duration the metric 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 metric value no longer violates the threshold.  The threshold shall not deactivate until the conditions of both `HysteresisReading` and `HysteresisDuration` are met."/>
474        </Property>
475      </EntityType>
476    </Schema>
477
478    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_3_1">
479      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
480      <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."/>
481      <EntityType Name="Triggers" BaseType="Triggers.v1_3_0.Triggers"/>
482    </Schema>
483
484    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_3_2">
485      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
486      <Annotation Term="OData.Description" String="This version was created to remove normative language from non-normative descriptions."/>
487      <EntityType Name="Triggers" BaseType="Triggers.v1_3_1.Triggers"/>
488    </Schema>
489
490    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_3_3">
491      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
492      <Annotation Term="OData.Description" String="This version was created to add description text for `Wildcard`-related properties that a value of `*` can be used to select all resources.  It was also created to clarify various descriptions.  It was also created to change the permissions of `Wildcard`-related properties to be read-write.  It was also created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
493      <EntityType Name="Triggers" BaseType="Triggers.v1_3_2.Triggers"/>
494    </Schema>
495
496    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Triggers.v1_4_0">
497      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
498      <Annotation Term="Redfish.Release" String="2024.1"/>
499
500      <EntityType Name="Triggers" BaseType="Triggers.v1_3_3.Triggers">
501        <Property Name="TriggerEnabled" Type="Edm.Boolean">
502          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
503          <Annotation Term="OData.Description" String="An indication of whether the trigger is enabled."/>
504          <Annotation Term="OData.LongDescription" String="This property shall indicate whether the trigger is enabled.  If `true`, it is enabled.  If `false`, it is disabled and none of the actions listed in `TriggerActions` will occur."/>
505        </Property>
506        <Property Name="TriggerActionMessage" Type="Triggers.v1_4_0.TriggerActionMessage">
507          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
508          <Annotation Term="OData.Description" String="The message issued as part of the trigger actions."/>
509          <Annotation Term="OData.LongDescription" String="This property shall contain the message definition used to generate a Redfish event or a log entry as requested by the values of `TriggerActions`."/>
510        </Property>
511      </EntityType>
512
513      <EnumType Name="TriggerActionMessage">
514        <Annotation Term="OData.Description" String="The message used for events or log entries when the trigger is activated."/>
515        <Annotation Term="OData.LongDescription" String="The value shall indicate the message used to complete the specified trigger actions."/>
516        <Member Name="Telemetry">
517          <Annotation Term="OData.Description" String="Messages from the Telemetry Message Registry."/>
518          <Annotation Term="OData.LongDescription" String="This value shall indicate that messages generated in response to a trigger action shall utilize messages from the Telemetry Message Registry.  If this property is not supplied or supported, this value should be used as the default for this trigger."/>
519        </Member>
520        <Member Name="DriveMediaLife">
521          <Annotation Term="OData.Description" String="`MediaLifeLeftLow` message from the Storage Device Message Registry."/>
522          <Annotation Term="OData.LongDescription" String="This value shall indicate that messages generated in response to a trigger action shall utilize the `MediaLifeLeftLow` message from the Storage Device Message Registry."/>
523        </Member>
524        <Member Name="ConnectionSpeed">
525          <Annotation Term="OData.Description" String="`ConnectionSpeedLow` message from the Network Device Message Registry."/>
526          <Annotation Term="OData.LongDescription" String="This value shall indicate that messages generated in response to a trigger action shall utilize the `ConnectionSpeedLow` message from the Network Device Message Registry."/>
527        </Member>
528      </EnumType>
529    </Schema>
530
531  </edmx:DataServices>
532</edmx:Edmx>
533