1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  ServiceConditions v1.0.0                                            -->
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-2023 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
33      <EntityType Name="ServiceConditions" BaseType="Resource.v1_0_0.Resource" Abstract="true">
34        <Annotation Term="OData.Description" String="The ServiceConditions schema contains definitions for reporting the conditions present in the service that require attention."/>
35        <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the overall conditions present in a service for a Redfish implementation."/>
36        <Annotation Term="Capabilities.InsertRestrictions">
37          <Record>
38            <PropertyValue Property="Insertable" Bool="false"/>
39          </Record>
40        </Annotation>
41        <Annotation Term="Capabilities.UpdateRestrictions">
42          <Record>
43            <PropertyValue Property="Updatable" Bool="false"/>
44          </Record>
45        </Annotation>
46        <Annotation Term="Capabilities.DeleteRestrictions">
47          <Record>
48            <PropertyValue Property="Deletable" Bool="false"/>
49          </Record>
50        </Annotation>
51        <Annotation Term="Redfish.Uris">
52          <Collection>
53            <String>/redfish/v1/ServiceConditions</String>
54          </Collection>
55        </Annotation>
56      </EntityType>
57    </Schema>
58
59    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="ServiceConditions.v1_0_0">
60      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
61      <Annotation Term="Redfish.Release" String="2021.4"/>
62
63      <EntityType Name="ServiceConditions" BaseType="ServiceConditions.ServiceConditions">
64        <Property Name="HealthRollup" Type="Resource.Health" Nullable="false">
65          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
66          <Annotation Term="OData.Description" String="The health roll-up for all resources."/>
67          <Annotation Term="OData.LongDescription" String="This property shall contain the highest severity of any messages included in the Conditions property."/>
68        </Property>
69        <Property Name="Conditions" Type="Collection(Resource.Condition)">
70          <Annotation Term="OData.Description" String="Conditions reported by this service that require attention."/>
71          <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."/>
72        </Property>
73        <Property Name="Actions" Type="ServiceConditions.v1_0_0.Actions" Nullable="false">
74          <Annotation Term="OData.Description" String="The available actions for this resource."/>
75          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
76        </Property>
77      </EntityType>
78
79      <ComplexType Name="Actions">
80        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
81        <Annotation Term="OData.Description" String="The available actions for this resource."/>
82        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
83        <Property Name="Oem" Type="ServiceConditions.v1_0_0.OemActions" Nullable="false">
84          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
85          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
86        </Property>
87      </ComplexType>
88
89      <ComplexType Name="OemActions">
90        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
91        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
92        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
93      </ComplexType>
94    </Schema>
95
96  </edmx:DataServices>
97</edmx:Edmx>
98