1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  ServiceConditions v1.0.1                                            -->
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-2024 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://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Capabilities.V1.xml">
18    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
19  </edmx:Reference>
20  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
21    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
22  </edmx:Reference>
23  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
24    <edmx:Include Namespace="Resource"/>
25    <edmx:Include Namespace="Resource.v1_0_0"/>
26  </edmx:Reference>
27
28  <edmx:DataServices>
29
30    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ServiceConditions">
31      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
32      <Annotation Term="Redfish.Language" String="en"/>
33
34      <EntityType Name="ServiceConditions" BaseType="Resource.v1_0_0.Resource" Abstract="true">
35        <Annotation Term="OData.Description" String="The `ServiceConditions` schema contains definitions for reporting the conditions present in the service that require attention."/>
36        <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the overall conditions present in a service for a Redfish implementation."/>
37        <Annotation Term="Capabilities.InsertRestrictions">
38          <Record>
39            <PropertyValue Property="Insertable" Bool="false"/>
40          </Record>
41        </Annotation>
42        <Annotation Term="Capabilities.UpdateRestrictions">
43          <Record>
44            <PropertyValue Property="Updatable" Bool="false"/>
45          </Record>
46        </Annotation>
47        <Annotation Term="Capabilities.DeleteRestrictions">
48          <Record>
49            <PropertyValue Property="Deletable" Bool="false"/>
50          </Record>
51        </Annotation>
52        <Annotation Term="Redfish.Uris">
53          <Collection>
54            <String>/redfish/v1/ServiceConditions</String>
55          </Collection>
56        </Annotation>
57      </EntityType>
58    </Schema>
59
60    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ServiceConditions.v1_0_0">
61      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
62      <Annotation Term="Redfish.Release" String="2021.4"/>
63
64      <EntityType Name="ServiceConditions" BaseType="ServiceConditions.ServiceConditions">
65        <Property Name="HealthRollup" Type="Resource.Health" Nullable="false">
66          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
67          <Annotation Term="OData.Description" String="The health roll-up for all resources."/>
68          <Annotation Term="OData.LongDescription" String="This property shall contain the highest severity of any messages included in the `Conditions` property."/>
69        </Property>
70        <Property Name="Conditions" Type="Collection(Resource.Condition)">
71          <Annotation Term="OData.Description" String="Conditions reported by this service that require attention."/>
72          <Annotation Term="OData.LongDescription" String="This property shall represent a roll-up of the active conditions requiring attention in resources of this Redfish service.  The service may roll up any number of conditions originating from resources in the service, using the `ConditionInRelatedResource` message from Base Message Registry.  The array order of conditions may change as new conditions occur or as conditions are resolved by the service."/>
73        </Property>
74        <Property Name="Actions" Type="ServiceConditions.v1_0_0.Actions" Nullable="false">
75          <Annotation Term="OData.Description" String="The available actions for this resource."/>
76          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
77        </Property>
78      </EntityType>
79
80      <ComplexType Name="Actions">
81        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
82        <Annotation Term="OData.Description" String="The available actions for this resource."/>
83        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
84        <Property Name="Oem" Type="ServiceConditions.v1_0_0.OemActions" Nullable="false">
85          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
86          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
87        </Property>
88      </ComplexType>
89
90      <ComplexType Name="OemActions">
91        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
92        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
93        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
94      </ComplexType>
95    </Schema>
96
97    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ServiceConditions.v1_0_1">
98      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
99      <Annotation Term="OData.Description" String="This version was created to note that the array order of conditions may change as new conditions occur or are resolved by the service.  It was also 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."/>
100      <EntityType Name="ServiceConditions" BaseType="ServiceConditions.v1_0_0.ServiceConditions"/>
101    </Schema>
102
103  </edmx:DataServices>
104</edmx:Edmx>
105