<?xml version="1.0" encoding="UTF-8"?>
<!---->
<!--################################################################################       -->
<!--# Redfish Schema:  RedfishError v1.0.2                                                 -->
<!--#                                                                                      -->
<!--# For a detailed change log, see the README file contained in the DSP8010 bundle,      -->
<!--# available at http://www.dmtf.org/standards/redfish                                   -->
<!--# Copyright 2014-2025 DMTF.                                                            -->
<!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
<!--################################################################################       -->
<!---->
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">

  <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Core.V1.xml">
    <edmx:Include Namespace="Org.OData.Core.V1" Alias="OData"/>
  </edmx:Reference>
  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
  </edmx:Reference>

  <edmx:DataServices>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm"  Namespace="RedfishError.v1_0_0">
      <Annotation Term="RedfishExtensions.v1_0_0.OwningEntity" String="DMTF"/>
      <Annotation Term="Redfish.Language" String="en"/>

      <ComplexType Name="RedfishError">
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
        <Annotation Term="OData.Description" String="The error payload from a Redfish service."/>
        <Annotation Term="OData.LongDescription" String="The Redfish Specification-described type shall contain an error payload from a Redfish service."/>
        <Property Name="error" Type="RedfishError.v1_0_0.RedfishErrorContents" Nullable="false">
          <Annotation Term="OData.Description" String="The properties that describe an error from a Redfish service."/>
          <Annotation Term="OData.LongDescription" String="This property, as described by the Redfish Specification, shall contain properties that describe an error from a Redfish service."/>
          <Annotation Term="Redfish.Required"/>
        </Property>
      </ComplexType>

      <ComplexType Name="RedfishErrorContents">
        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
        <Annotation Term="OData.Description" String="The properties that describe an error from a Redfish service."/>
        <Annotation Term="OData.LongDescription" String="The Redfish Specification-described type shall contain properties that describe an error from a Redfish service."/>
        <Property Name="code" Type="Edm.String" Nullable="false">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="A string indicating a specific `MessageId` from a message registry."/>
          <Annotation Term="OData.LongDescription" String="This property shall contain a string indicating a specific `MessageId` from a message registry."/>
          <Annotation Term="Redfish.Required"/>
        </Property>
        <Property Name="message" Type="Edm.String" Nullable="false">
          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
          <Annotation Term="OData.Description" String="A human-readable error message corresponding to the message in a message registry."/>
          <Annotation Term="OData.LongDescription" String="This property shall contain a human-readable error message corresponding to the message in a message registry."/>
          <Annotation Term="Redfish.Required"/>
        </Property>
      </ComplexType>
    </Schema>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RedfishError.v1_0_1">
      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
      <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
      <ComplexType Name="RedfishError" BaseType="RedfishError.v1_0_0.RedfishError"/>
    </Schema>

    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="RedfishError.v1_0_2">
      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
      <Annotation Term="OData.Description" String="This version was created to force the regeneration of OpenAPI schemas to properly express nullable properties with external references.  It was also created to correct various typographical errors."/>
      <ComplexType Name="RedfishError" BaseType="RedfishError.v1_0_1.RedfishError"/>
    </Schema>

  </edmx:DataServices>
</edmx:Edmx>
