Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 4 | <!--# Redfish Schema: RedfishError v1.0.0 --> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [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 --> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 8 | <!--# Copyright 2014-2019 DMTF. --> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [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 | |
| 21 | <edmx:DataServices> |
| 22 | |
| 23 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RedfishError.v1_0_0"> |
| 24 | <Annotation Term="RedfishExtensions.v1_0_0.OwningEntity" String="DMTF"/> |
| 25 | |
| 26 | <ComplexType Name="RedfishError"> |
| 27 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 28 | <Annotation Term="OData.Description" String="The error payload from a Redfish Service."/> |
| 29 | <Annotation Term="OData.LongDescription" String="The Redfish Specification-described type shall contain an error payload from a Redfish Service."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 30 | <Property Name="error" Type="RedfishError.v1_0_0.RedfishErrorContents" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 31 | <Annotation Term="OData.Description" String="The properties that describe an error from a Redfish Service."/> |
| 32 | <Annotation Term="OData.LongDescription" String="This property, as described by the Redfish Specification, shall contain properties that describe an error from a Redfish Service."/> |
| 33 | <Annotation Term="Redfish.Required"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 34 | </Property> |
| 35 | </ComplexType> |
| 36 | |
| 37 | <ComplexType Name="RedfishErrorContents"> |
| 38 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 39 | <Annotation Term="OData.Description" String="The properties that describe an error from a Redfish Service."/> |
| 40 | <Annotation Term="OData.LongDescription" String="The Redfish Specification-described type shall contain properties that describe an error from a Redfish Service."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 41 | <Property Name="code" Type="Edm.String" Nullable="false"> |
| 42 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 43 | <Annotation Term="OData.Description" String="A string indicating a specific MessageId from a Message Registry."/> |
| 44 | <Annotation Term="OData.LongDescription" String="This property shall contain a string indicating a specific MessageId from a Message Registry."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 45 | <Annotation Term="Redfish.Required"/> |
| 46 | </Property> |
| 47 | <Property Name="message" Type="Edm.String" Nullable="false"> |
| 48 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 49 | <Annotation Term="OData.Description" String="A human-readable error message corresponding to the message in a Message Registry."/> |
| 50 | <Annotation Term="OData.LongDescription" String="This property shall contain a human-readable error message corresponding to the message in a Message Registry."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 51 | <Annotation Term="Redfish.Required"/> |
| 52 | </Property> |
| 53 | </ComplexType> |
| 54 | </Schema> |
| 55 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame^] | 56 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RedfishError.v1_0_1"> |
| 57 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 58 | <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/> |
| 59 | </Schema> |
| 60 | |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 61 | </edmx:DataServices> |
| 62 | </edmx:Edmx> |