1<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################       -->
4<!--# Redfish Schema:  Application 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://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml">
21    <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/>
22  </edmx:Reference>
23  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
24    <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
25    <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
26  </edmx:Reference>
27  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
28    <edmx:Include Namespace="Resource"/>
29    <edmx:Include Namespace="Resource.v1_0_0"/>
30  </edmx:Reference>
31  <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/SoftwareInventory_v1.xml">
32    <edmx:Include Namespace="SoftwareInventory"/>
33  </edmx:Reference>
34
35  <edmx:DataServices>
36
37    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Application">
38      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
39      <Annotation Term="Redfish.Language" String="en"/>
40
41      <EntityType Name="Application" BaseType="Resource.v1_0_0.Resource" Abstract="true">
42        <Annotation Term="OData.Description" String="The `Application` schema represents an application or service running on a computer system."/>
43        <Annotation Term="OData.LongDescription" String="This resource shall represent an application or service running on a computer system."/>
44        <Annotation Term="Capabilities.InsertRestrictions">
45          <Record>
46            <PropertyValue Property="Insertable" Bool="false"/>
47          </Record>
48        </Annotation>
49        <Annotation Term="Capabilities.UpdateRestrictions">
50          <Record>
51            <PropertyValue Property="Updatable" Bool="false"/>
52          </Record>
53        </Annotation>
54        <Annotation Term="Capabilities.DeleteRestrictions">
55          <Record>
56            <PropertyValue Property="Deletable" Bool="false"/>
57          </Record>
58        </Annotation>
59        <Annotation Term="Redfish.Uris">
60          <Collection>
61            <String>/redfish/v1/Systems/{ComputerSystemId}/OperatingSystem/Applications/{ApplicationId}</String>
62            <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/OperatingSystem/Applications/{ApplicationId}</String>
63            <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/OperatingSystem/Applications/{ApplicationId}</String>
64          </Collection>
65        </Annotation>
66      </EntityType>
67
68      <Action Name="Reset" IsBound="true">
69        <Annotation Term="OData.Description" String="This action resets the application."/>
70        <Annotation Term="OData.LongDescription" String="This action shall reset the application."/>
71        <Parameter Name="Application" Type="Application.v1_0_0.Actions"/>
72        <Parameter Name="ResetType" Type="Resource.ResetType">
73          <Annotation Term="OData.Description" String="The type of reset."/>
74          <Annotation Term="OData.LongDescription" String="This parameter shall contain the type of reset.  `GracefulRestart` and `ForceRestart` shall indicate requests to restart the application.  `GracefulShutdown` and `ForceOff` shall indicate requests to stop or disable the application.  `On` and `ForceOn` shall indicate requests to start or enable the application.  The service can accept a request without the parameter and shall perform a `GracefulRestart`."/>
75        </Parameter>
76      </Action>
77    </Schema>
78
79    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Application.v1_0_0">
80      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
81      <Annotation Term="Redfish.Release" String="2023.2"/>
82
83      <EntityType Name="Application" BaseType="Application.Application">
84        <Property Name="Status" Type="Resource.Status" Nullable="false">
85          <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
86          <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
87        </Property>
88        <Property Name="Version" Type="Edm.String">
89          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
90          <Annotation Term="OData.Description" String="The version of this application."/>
91          <Annotation Term="OData.LongDescription" String="This property shall contain the version of this application."/>
92        </Property>
93        <Property Name="Vendor" Type="Edm.String">
94          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
95          <Annotation Term="OData.Description" String="The vendor of this application."/>
96          <Annotation Term="OData.LongDescription" String="This property shall contain the name of the company that provides this application."/>
97        </Property>
98        <Property Name="StartTime" Type="Edm.DateTimeOffset">
99          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
100          <Annotation Term="OData.Description" String="The date and time when the application started running."/>
101          <Annotation Term="OData.LongDescription" String="This property shall indicate the date and time when the application started running."/>
102        </Property>
103        <Property Name="MetricsURIs" Type="Collection(Edm.String)">
104          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
105          <Annotation Term="OData.Description" String="The URIs that provide access to data or other information in this application."/>
106          <Annotation Term="OData.LongDescription" String="This property shall contain an array of URIs that provide access to data or other information in this application.  This is typically for applications that allow external users to perform requests to pull data from the application."/>
107          <Annotation Term="OData.IsURL"/>
108        </Property>
109        <Property Name="DestinationURIs" Type="Collection(Edm.String)">
110          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
111          <Annotation Term="OData.Description" String="The URIs to which this application pushes data."/>
112          <Annotation Term="OData.LongDescription" String="This property shall contain an array of URIs to which this application pushes data.  This is typically for applications that act as logging or metric agents that transmit data captured to remote servers."/>
113          <Annotation Term="OData.IsURL"/>
114        </Property>
115        <Property Name="Links" Type="Application.v1_0_0.Links" Nullable="false">
116          <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
117          <Annotation Term="OData.LongDescription" String="This property shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."/>
118        </Property>
119        <Property Name="Actions" Type="Application.v1_0_0.Actions" Nullable="false">
120          <Annotation Term="OData.Description" String="The available actions for this resource."/>
121          <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
122        </Property>
123      </EntityType>
124
125      <ComplexType Name="Links" BaseType="Resource.Links">
126        <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/>
127        <Annotation Term="OData.LongDescription" String="This Redfish Specification-described type shall contain links to resources that are related to but are not contained by, or subordinate to, this resource."/>
128        <NavigationProperty Name="SoftwareImage" Type="SoftwareInventory.SoftwareInventory" Nullable="false">
129          <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
130          <Annotation Term="OData.Description" String="The link to the software image for this application."/>
131          <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource of type `SoftwareInventory` that represents the software image from which this application runs."/>
132          <Annotation Term="OData.AutoExpandReferences"/>
133        </NavigationProperty>
134      </ComplexType>
135
136      <ComplexType Name="Actions">
137        <Annotation Term="OData.AdditionalProperties" Bool="false"/>
138        <Annotation Term="OData.Description" String="The available actions for this resource."/>
139        <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/>
140        <Property Name="Oem" Type="Application.v1_0_0.OemActions" Nullable="false">
141          <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
142          <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
143        </Property>
144      </ComplexType>
145
146      <ComplexType Name="OemActions">
147        <Annotation Term="OData.AdditionalProperties" Bool="true"/>
148        <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
149        <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/>
150      </ComplexType>
151    </Schema>
152
153    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Application.v1_0_1">
154      <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
155      <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."/>
156      <EntityType Name="Application" BaseType="Application.v1_0_0.Application"/>
157    </Schema>
158
159  </edmx:DataServices>
160</edmx:Edmx>
161