Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 4 | <!--# Redfish Schema: Message v1.1.1 --> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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 --> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 8 | <!--# Copyright 2014-2020 DMTF. --> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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 | |
| 24 | <edmx:DataServices> |
| 25 | |
| 26 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message"> |
| 27 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 28 | |
| 29 | <Term Name="ExtendedInfo" Type="Collection(Message.Message)" Nullable="false"> |
| 30 | <Annotation Term="OData.Description" String="The ExtendedInfo annotation can be applied to any object or property to provide additional information about the item."/> |
| 31 | </Term> |
| 32 | |
| 33 | <ComplexType Name="Message" Abstract="true"> |
| 34 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 35 | <Annotation Term="OData.Description" String="The message that the Redfish service returns."/> |
| 36 | <Annotation Term="OData.LongDescription" String="This type shall contain a message that the Redfish service returns, as described in the Redfish Specification."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 37 | </ComplexType> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 38 | </Schema> |
| 39 | |
| 40 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_0"> |
| 41 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 42 | <Annotation Term="Redfish.Release" String="1.0"/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 43 | |
| 44 | <ComplexType Name="Message" BaseType="Message.Message"> |
| 45 | <Property Name="MessageId" Type="Edm.String" Nullable="false"> |
| 46 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 47 | <Annotation Term="OData.Description" String="The key for this message used to find the message in a message registry."/> |
| 48 | <Annotation Term="OData.LongDescription" String="This property shall contain a key into message registry, as described in the Redfish Specification."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 49 | <Annotation Term="Redfish.Required"/> |
| 50 | </Property> |
| 51 | <Property Name="Message" Type="Edm.String"> |
| 52 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 53 | <Annotation Term="OData.Description" String="The human-readable message, if provided."/> |
| 54 | <Annotation Term="OData.LongDescription" String="This property shall contain an optional human-readable message."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 55 | </Property> |
| 56 | <Property Name="RelatedProperties" Type="Collection(Edm.String)" Nullable="false"> |
| 57 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 58 | <Annotation Term="OData.Description" String="A set of properties described by the message."/> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 59 | <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."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 60 | </Property> |
| 61 | <Property Name="MessageArgs" Type="Collection(Edm.String)" Nullable="false"> |
| 62 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 63 | <Annotation Term="OData.Description" String="This array of message arguments are substituted for the arguments in the message when looked up in the message registry."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 64 | <Annotation Term="OData.LongDescription" String="This property shall contain the message substitution arguments for the specific message to which this MessageId refers and shall be included only if the MessageId is present. Any number and integer type arguments shall be converted to strings."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 65 | </Property> |
| 66 | <Property Name="Severity" Type="Edm.String"> |
| 67 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 68 | <Annotation Term="OData.Description" String="The severity of the errors."/> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 69 | <Annotation Term="OData.LongDescription" String="This property shall contain the severity of the error, as defined in the Status section of the Redfish Specification. Services can replace the value defined in the message registry with a value more applicable to the implementation."/> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 70 | <Annotation Term="Redfish.Revisions"> |
| 71 | <Collection> |
| 72 | <Record> |
| 73 | <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Deprecated"/> |
| 74 | <PropertyValue Property="Version" String="v1_1_0"/> |
| 75 | <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."/> |
| 76 | </Record> |
| 77 | </Collection> |
| 78 | </Annotation> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 79 | </Property> |
| 80 | <Property Name="Resolution" Type="Edm.String"> |
| 81 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 82 | <Annotation Term="OData.Description" String="Used to provide suggestions on how to resolve the situation that caused the error."/> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 83 | <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."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 84 | </Property> |
| 85 | <Property Name="Oem" Type="Resource.Oem" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 86 | <Annotation Term="OData.Description" String="The OEM extension property."/> |
| 87 | <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."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 88 | </Property> |
| 89 | </ComplexType> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 90 | </Schema> |
| 91 | |
| 92 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_2"> |
| 93 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 94 | <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 95 | <ComplexType Name="Message" BaseType="Message.v1_0_0.Message"/> |
| 96 | </Schema> |
| 97 | |
| 98 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_3"> |
| 99 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 100 | <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 101 | <ComplexType Name="Message" BaseType="Message.v1_0_2.Message"/> |
| 102 | </Schema> |
| 103 | |
| 104 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_4"> |
| 105 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 106 | <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 107 | <ComplexType Name="Message" BaseType="Message.v1_0_3.Message"/> |
| 108 | </Schema> |
| 109 | |
| 110 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_5"> |
| 111 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 112 | <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 113 | <ComplexType Name="Message" BaseType="Message.v1_0_4.Message"/> |
| 114 | </Schema> |
| 115 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 116 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_6"> |
| 117 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 118 | <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."/> |
| 119 | <ComplexType Name="Message" BaseType="Message.v1_0_5.Message"/> |
| 120 | </Schema> |
| 121 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 122 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_7"> |
| 123 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 124 | <Annotation Term="OData.Description" String="This version was created to clarify the usage of integer or number type values in the MessageArgs array."/> |
| 125 | <ComplexType Name="Message" BaseType="Message.v1_0_6.Message"/> |
| 126 | </Schema> |
| 127 | |
| 128 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_8"> |
| 129 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 130 | <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/> |
| 131 | <ComplexType Name="Message" BaseType="Message.v1_0_7.Message"/> |
| 132 | </Schema> |
| 133 | |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 134 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_9"> |
| 135 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 136 | <Annotation Term="OData.Description" String="This version was created to clarify that Resolution, MessageSeverity, and Severity can be overridden by the service."/> |
| 137 | <ComplexType Name="Message" BaseType="Message.v1_0_8.Message"/> |
| 138 | </Schema> |
| 139 | |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 140 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_1_0"> |
| 141 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 142 | <Annotation Term="Redfish.Release" String="2020.1"/> |
| 143 | <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."/> |
| 144 | |
| 145 | <ComplexType Name="Message" BaseType="Message.v1_0_8.Message"> |
| 146 | <Property Name="MessageSeverity" Type="Resource.Health"> |
| 147 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 148 | <Annotation Term="OData.Description" String="The severity of the message."/> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 149 | <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."/> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 150 | </Property> |
| 151 | </ComplexType> |
| 152 | </Schema> |
| 153 | |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame] | 154 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_1_1"> |
| 155 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 156 | <Annotation Term="OData.Description" String="This version was created to clarify that Resolution, MessageSeverity, and Severity can be overridden by the service."/> |
| 157 | <ComplexType Name="Message" BaseType="Message.v1_1_0.Message"/> |
| 158 | </Schema> |
| 159 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 160 | </edmx:DataServices> |
| 161 | </edmx:Edmx> |