1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  Message  v1.0.4-->
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-2016 Distributed Management Task Force, Inc. (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:Include Namespace="Resource.v1_0_0"/>
23  </edmx:Reference>
24
25  <edmx:DataServices>
26
27    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message">
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">
34        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
35      </ComplexType>
36
37    </Schema>
38
39    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_0">
40
41      <ComplexType Name="Message" BaseType="Message.Message">
42        <Property Name="MessageId" Type="Edm.String" Nullable="false">
43          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
44          <Annotation Term="OData.Description" String="This is the key for this message which can be used to look up the message in a message registry."/>
45          <Annotation Term="OData.LongDescription" String="This property shall be a key into message registry as described in the Redfish specification."/>
46          <Annotation Term="Redfish.Required"/>
47        </Property>
48        <Property Name="Message" Type="Edm.String">
49          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
50          <Annotation Term="OData.Description" String="This is the human readable message, if provided."/>
51          <Annotation Term="OData.LongDescription" String="This property shall contain an optional human readable message."/>
52        </Property>
53        <Property Name="RelatedProperties" Type="Collection(Edm.String)" Nullable="false">
54          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
55          <Annotation Term="OData.Description" String="This is an array of properties described by the message."/>
56          <Annotation Term="OData.LongDescription" String="This property shall contain an array of JSON Pointers indicating the properties described by the message, if appropriate for the message."/>
57        </Property>
58        <Property Name="MessageArgs" Type="Collection(Edm.String)" Nullable="false">
59          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
60          <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."/>
61          <Annotation Term="OData.LongDescription" String="This property shall contain the message substitution arguments for the specific message referenced by the MessageId and shall only be included if the MessageId is present."/>
62        </Property>
63        <Property Name="Severity" Type="Edm.String">
64          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
65          <Annotation Term="OData.Description" String="This is the severity of the errors."/>
66          <Annotation Term="OData.LongDescription" String="The value of this property shall be the severity of the error, as defined in the Status section of the Redfish specificaiton."/>
67        </Property>
68        <Property Name="Resolution" Type="Edm.String">
69          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
70          <Annotation Term="OData.Description" String="Used to provide suggestions on how to resolve the situation that caused the error."/>
71          <Annotation Term="OData.LongDescription" String="This property shall contain an override of the Resolution of the message in message registry, if present."/>
72        </Property>
73        <Property Name="Oem" Type="Resource.Oem" Nullable="false">
74          <Annotation Term="OData.Description" String="Oem extension object."/>
75          <Annotation Term="OData.LongDescription" String="This object represents the Oem property.  All values for resources described by this schema shall comply to the requirements as described in the Redfish specification."/>
76        </Property>
77      </ComplexType>
78
79    </Schema>
80
81    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_2">
82      <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
83    </Schema>
84
85    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_3">
86      <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
87    </Schema>
88
89    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_4">
90      <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
91    </Schema>
92
93  </edmx:DataServices>
94</edmx:Edmx>
95