blob: 7d25e1da07f7c014061daeb374233e89c81d874a [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Ed Tanous530520e2019-01-02 13:41:37 -08004<!--# Redfish Schema: Message v1.0.6-->
Jason M. Billsea4aa752018-06-05 13:29:11 -07005<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
Ed Tanous530520e2019-01-02 13:41:37 -08008<!--# Copyright 2014-2018 DMTF. -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07009<!--# 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"/>
35 <Annotation Term="OData.Description" String="This type describes a Message returned by the Redfish service."/>
36 <Annotation Term="OData.LongDescription" String="This type shall define a Message as described in the Redfish specification."/>
37 </ComplexType>
38
39 </Schema>
40
41 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_0">
42 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060043 <Annotation Term="Redfish.Release" String="1.0"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070044
45 <ComplexType Name="Message" BaseType="Message.Message">
46 <Property Name="MessageId" Type="Edm.String" Nullable="false">
47 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
48 <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."/>
49 <Annotation Term="OData.LongDescription" String="This property shall be a key into message registry as described in the Redfish specification."/>
50 <Annotation Term="Redfish.Required"/>
51 </Property>
52 <Property Name="Message" Type="Edm.String">
53 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
54 <Annotation Term="OData.Description" String="This is the human readable message, if provided."/>
55 <Annotation Term="OData.LongDescription" String="This property shall contain an optional human readable message."/>
56 </Property>
57 <Property Name="RelatedProperties" Type="Collection(Edm.String)" Nullable="false">
58 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
59 <Annotation Term="OData.Description" String="This is an array of properties described by the message."/>
60 <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."/>
61 </Property>
62 <Property Name="MessageArgs" Type="Collection(Edm.String)" Nullable="false">
63 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
64 <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."/>
65 <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."/>
66 </Property>
67 <Property Name="Severity" Type="Edm.String">
68 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
69 <Annotation Term="OData.Description" String="This is the severity of the errors."/>
70 <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."/>
71 </Property>
72 <Property Name="Resolution" Type="Edm.String">
73 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
74 <Annotation Term="OData.Description" String="Used to provide suggestions on how to resolve the situation that caused the error."/>
75 <Annotation Term="OData.LongDescription" String="This property shall contain an override of the Resolution of the message in message registry, if present."/>
76 </Property>
77 <Property Name="Oem" Type="Resource.Oem" Nullable="false">
78 <Annotation Term="OData.Description" String="Oem extension object."/>
79 <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."/>
80 </Property>
81 </ComplexType>
82
83 </Schema>
84
85 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_2">
86 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
87 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
88 <ComplexType Name="Message" BaseType="Message.v1_0_0.Message"/>
89 </Schema>
90
91 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_3">
92 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
93 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
94 <ComplexType Name="Message" BaseType="Message.v1_0_2.Message"/>
95 </Schema>
96
97 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_4">
98 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
99 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
100 <ComplexType Name="Message" BaseType="Message.v1_0_3.Message"/>
101 </Schema>
102
103 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_5">
104 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
105 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
106 <ComplexType Name="Message" BaseType="Message.v1_0_4.Message"/>
107 </Schema>
108
Ed Tanous530520e2019-01-02 13:41:37 -0800109 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Message.v1_0_6">
110 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
111 <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."/>
112 <ComplexType Name="Message" BaseType="Message.v1_0_5.Message"/>
113 </Schema>
114
Jason M. Billsea4aa752018-06-05 13:29:11 -0700115 </edmx:DataServices>
116</edmx:Edmx>