1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  Message v1.2.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-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://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
18    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
19  </edmx:Reference>
20  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
21    <edmx:Include Namespace="Resource"/>
22  </edmx:Reference>
23  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/ResolutionStep_v1.xml">
24    <edmx:Include Namespace="ResolutionStep"/>
25  </edmx:Reference>
26
27  <edmx:DataServices>
28
29    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message">
30      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
31
32      <Term Name="ExtendedInfo" Type="Collection(Message.Message)" Nullable="false">
33        <Annotation Term="OData.Description" String="The ExtendedInfo annotation can be applied to any object or property to provide additional information about the item."/>
34      </Term>
35
36      <ComplexType Name="Message" Abstract="true">
37        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
38        <Annotation Term="OData.Description" String="The message that the Redfish service returns."/>
39        <Annotation Term="OData.LongDescription" String="This type shall contain a message that the Redfish service returns, as described in the Redfish Specification."/>
40      </ComplexType>
41    </Schema>
42
43    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_0">
44      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
45      <Annotation Term="Redfish.Release" String="1.0"/>
46
47      <ComplexType Name="Message" BaseType="Message.Message">
48        <Property Name="MessageId" Type="Edm.String" Nullable="false">
49          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
50          <Annotation Term="OData.Description" String="The identifier for the message."/>
51          <Annotation Term="OData.LongDescription" String="This property shall contain a MessageId, as defined in the 'MessageId format' clause of the Redfish Specification."/>
52          <Annotation Term="Redfish.Required"/>
53        </Property>
54        <Property Name="Message" Type="Edm.String" Nullable="false">
55          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
56          <Annotation Term="OData.Description" String="The human-readable message."/>
57          <Annotation Term="OData.LongDescription" String="This property shall contain a human-readable message."/>
58        </Property>
59        <Property Name="RelatedProperties" Type="Collection(Edm.String)" Nullable="false">
60          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
61          <Annotation Term="OData.Description" String="A set of properties described by the message."/>
62          <Annotation Term="OData.LongDescription" String="This property shall contain an array of RFC6901-defined JSON pointers indicating the properties described by the message, if appropriate for the message."/>
63        </Property>
64        <Property Name="MessageArgs" Type="Collection(Edm.String)" Nullable="false">
65          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
66          <Annotation Term="OData.Description" String="An array of message arguments that are substituted for the arguments in the message when looked up in the message registry."/>
67          <Annotation Term="OData.LongDescription" String="This property shall contain an array of message arguments that are substituted for the arguments in the message when looked up in the message registry.  It has the same semantics as the MessageArgs property in the Redfish MessageRegistry schema.  If the corresponding ParamType value contains `number`, the service shall convert the number to a string representation of the number."/>
68        </Property>
69        <Property Name="Severity" Type="Edm.String" Nullable="false">
70          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
71          <Annotation Term="OData.Description" String="The severity of the message."/>
72          <Annotation Term="OData.LongDescription" String="This property shall contain the severity of the message, as defined in the 'Status' clause of the Redfish Specification.  Services can replace the value defined in the message registry with a value more applicable to the implementation."/>
73          <Annotation Term="Redfish.Revisions">
74            <Collection>
75              <Record>
76                <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Deprecated"/>
77                <PropertyValue Property="Version" String="v1_1_0"/>
78                <PropertyValue Property="Description" String="This property has been deprecated in favor of MessageSeverity, which ties the values to the enumerations defined for the Health property within Status."/>
79              </Record>
80            </Collection>
81          </Annotation>
82        </Property>
83        <Property Name="Resolution" Type="Edm.String" Nullable="false">
84          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
85          <Annotation Term="OData.Description" String="Used to provide suggestions on how to resolve the situation that caused the message."/>
86          <Annotation Term="OData.LongDescription" String="This property shall contain the resolution of the message.  Services can replace the resolution defined in the message registry with a more specific resolution in message payloads."/>
87        </Property>
88        <Property Name="Oem" Type="Resource.Oem" Nullable="false">
89          <Annotation Term="OData.Description" String="The OEM extension property."/>
90          <Annotation Term="OData.LongDescription" String="This property shall contain the OEM extensions.  All values for properties contained in this object shall conform to the Redfish Specification-described requirements."/>
91        </Property>
92      </ComplexType>
93    </Schema>
94
95    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_2">
96      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
97      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
98      <ComplexType Name="Message" BaseType="Message.v1_0_0.Message"/>
99    </Schema>
100
101    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_3">
102      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
103      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
104      <ComplexType Name="Message" BaseType="Message.v1_0_2.Message"/>
105    </Schema>
106
107    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_4">
108      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
109      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
110      <ComplexType Name="Message" BaseType="Message.v1_0_3.Message"/>
111    </Schema>
112
113    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_5">
114      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
115      <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
116      <ComplexType Name="Message" BaseType="Message.v1_0_4.Message"/>
117    </Schema>
118
119    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_6">
120      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
121      <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/>
122      <ComplexType Name="Message" BaseType="Message.v1_0_5.Message"/>
123    </Schema>
124
125    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_7">
126      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
127      <Annotation Term="OData.Description" String="This version was created to clarify the usage of integer or number type values in the MessageArgs array."/>
128      <ComplexType Name="Message" BaseType="Message.v1_0_6.Message"/>
129    </Schema>
130
131    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_8">
132      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
133      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
134      <ComplexType Name="Message" BaseType="Message.v1_0_7.Message"/>
135    </Schema>
136
137    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_9">
138      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
139      <Annotation Term="OData.Description" String="This version was created to clarify that Resolution, MessageSeverity, and Severity can be overridden by the service."/>
140      <ComplexType Name="Message" BaseType="Message.v1_0_8.Message"/>
141    </Schema>
142
143    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_10">
144      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
145      <Annotation Term="OData.Description" String="This version was created to correct the description for MessageId, and to align descriptions between the Message and Event schemas."/>
146      <ComplexType Name="Message" BaseType="Message.v1_0_9.Message"/>
147    </Schema>
148
149    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_11">
150      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
151      <Annotation Term="OData.Description" String="This version was created to improve the description of message argument-related properties by explaining that number-type arguments are converted to strings prior to their consumption in a message."/>
152      <ComplexType Name="Message" BaseType="Message.v1_0_10.Message"/>
153    </Schema>
154
155    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_1_0">
156      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
157      <Annotation Term="Redfish.Release" String="2020.1"/>
158      <Annotation Term="OData.Description" String="This version was created to deprecate the Severity property and replace it with the MessageSeverity property, in order to tie the values to those used for the Health property within Status."/>
159
160      <ComplexType Name="Message" BaseType="Message.v1_0_8.Message">
161        <Property Name="MessageSeverity" Type="Resource.Health" Nullable="false">
162          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
163          <Annotation Term="OData.Description" String="The severity of the message."/>
164          <Annotation Term="OData.LongDescription" String="This property shall contain the severity of the message.  Services can replace the value defined in the message registry with a value more applicable to the implementation."/>
165        </Property>
166      </ComplexType>
167    </Schema>
168
169    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_1_1">
170      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
171      <Annotation Term="OData.Description" String="This version was created to clarify that Resolution, MessageSeverity, and Severity can be overridden by the service."/>
172      <ComplexType Name="Message" BaseType="Message.v1_1_0.Message"/>
173    </Schema>
174
175    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_1_2">
176      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
177      <Annotation Term="OData.Description" String="This version was created to correct the description for MessageId, and to align descriptions between the Message and Event schemas."/>
178      <ComplexType Name="Message" BaseType="Message.v1_1_1.Message"/>
179    </Schema>
180
181    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_1_3">
182      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
183      <Annotation Term="OData.Description" String="This version was created to improve the description of message argument-related properties by explaining that number-type arguments are converted to strings prior to their consumption in a message."/>
184      <ComplexType Name="Message" BaseType="Message.v1_1_2.Message"/>
185    </Schema>
186
187    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_2_0">
188      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
189      <Annotation Term="Redfish.Release" String="2023.3"/>
190      <Annotation Term="OData.Description" String="This version was created to add ResolutionSteps property."/>
191
192      <ComplexType Name="Message" BaseType="Message.v1_1_3.Message">
193        <Property Name="ResolutionSteps" Type="Collection(ResolutionStep.ResolutionStep)" Nullable="false">
194          <Annotation Term="OData.Description" String="The list of recommended steps to resolve the situation that caused the message."/>
195          <Annotation Term="OData.LongDescription" String="This property shall contain an array of recommended steps to resolve the situation that caused the message.  This property shall not be present if the MessageSeverity or Severity properties contain `OK`."/>
196        </Property>
197      </ComplexType>
198    </Schema>
199
200  </edmx:DataServices>
201</edmx:Edmx>
202