1<?xml version="1.0" encoding="UTF-8"?> 2<!----> 3<!--################################################################################ --> 4<!--# Redfish Schema: Application 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://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 40 <EntityType Name="Application" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 41 <Annotation Term="OData.Description" String="The Application schema represents an application or service running on a computer system."/> 42 <Annotation Term="OData.LongDescription" String="This resource shall represent an application or service running on a computer system."/> 43 <Annotation Term="Capabilities.InsertRestrictions"> 44 <Record> 45 <PropertyValue Property="Insertable" Bool="false"/> 46 </Record> 47 </Annotation> 48 <Annotation Term="Capabilities.UpdateRestrictions"> 49 <Record> 50 <PropertyValue Property="Updatable" Bool="false"/> 51 </Record> 52 </Annotation> 53 <Annotation Term="Capabilities.DeleteRestrictions"> 54 <Record> 55 <PropertyValue Property="Deletable" Bool="false"/> 56 </Record> 57 </Annotation> 58 <Annotation Term="Redfish.Uris"> 59 <Collection> 60 <String>/redfish/v1/Systems/{ComputerSystemId}/OperatingSystem/Applications/{ApplicationId}</String> 61 <String>/redfish/v1/CompositionService/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/OperatingSystem/Applications/{ApplicationId}</String> 62 <String>/redfish/v1/ResourceBlocks/{ResourceBlockId}/Systems/{ComputerSystemId}/OperatingSystem/Applications/{ApplicationId}</String> 63 </Collection> 64 </Annotation> 65 </EntityType> 66 67 <Action Name="Reset" IsBound="true"> 68 <Annotation Term="OData.Description" String="This action resets the application."/> 69 <Annotation Term="OData.LongDescription" String="This action shall reset the application."/> 70 <Parameter Name="Application" Type="Application.v1_0_0.Actions"/> 71 <Parameter Name="ResetType" Type="Resource.ResetType"> 72 <Annotation Term="OData.Description" String="The type of reset."/> 73 <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`."/> 74 </Parameter> 75 </Action> 76 </Schema> 77 78 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Application.v1_0_0"> 79 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 80 <Annotation Term="Redfish.Release" String="2023.2"/> 81 82 <EntityType Name="Application" BaseType="Application.Application"> 83 <Property Name="Status" Type="Resource.Status" Nullable="false"> 84 <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/> 85 <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/> 86 </Property> 87 <Property Name="Version" Type="Edm.String"> 88 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 89 <Annotation Term="OData.Description" String="The version of this application."/> 90 <Annotation Term="OData.LongDescription" String="This property shall contain the version of this application."/> 91 </Property> 92 <Property Name="Vendor" Type="Edm.String"> 93 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 94 <Annotation Term="OData.Description" String="The vendor of this application."/> 95 <Annotation Term="OData.LongDescription" String="This property shall contain the name of the company that provides this application."/> 96 </Property> 97 <Property Name="StartTime" Type="Edm.DateTimeOffset"> 98 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 99 <Annotation Term="OData.Description" String="The date and time when the application started running."/> 100 <Annotation Term="OData.LongDescription" String="This property shall indicate the date and time when the application started running."/> 101 </Property> 102 <Property Name="MetricsURIs" Type="Collection(Edm.String)"> 103 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 104 <Annotation Term="OData.Description" String="The URIs that provide access to data or other information in this application."/> 105 <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."/> 106 <Annotation Term="OData.IsURL"/> 107 </Property> 108 <Property Name="DestinationURIs" Type="Collection(Edm.String)"> 109 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 110 <Annotation Term="OData.Description" String="The URIs to which this application pushes data."/> 111 <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."/> 112 <Annotation Term="OData.IsURL"/> 113 </Property> 114 <Property Name="Links" Type="Application.v1_0_0.Links" Nullable="false"> 115 <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/> 116 <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."/> 117 </Property> 118 <Property Name="Actions" Type="Application.v1_0_0.Actions" Nullable="false"> 119 <Annotation Term="OData.Description" String="The available actions for this resource."/> 120 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/> 121 </Property> 122 </EntityType> 123 124 <ComplexType Name="Links" BaseType="Resource.Links"> 125 <Annotation Term="OData.Description" String="The links to other resources that are related to this resource."/> 126 <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."/> 127 <NavigationProperty Name="SoftwareImage" Type="SoftwareInventory.SoftwareInventory" Nullable="false"> 128 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 129 <Annotation Term="OData.Description" String="The link to the software image for this application."/> 130 <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."/> 131 <Annotation Term="OData.AutoExpandReferences"/> 132 </NavigationProperty> 133 </ComplexType> 134 135 <ComplexType Name="Actions"> 136 <Annotation Term="OData.AdditionalProperties" Bool="false"/> 137 <Annotation Term="OData.Description" String="The available actions for this resource."/> 138 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> 139 <Property Name="Oem" Type="Application.v1_0_0.OemActions" Nullable="false"> 140 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 141 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/> 142 </Property> 143 </ComplexType> 144 145 <ComplexType Name="OemActions"> 146 <Annotation Term="OData.AdditionalProperties" Bool="true"/> 147 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 148 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/> 149 </ComplexType> 150 </Schema> 151 152 </edmx:DataServices> 153</edmx:Edmx> 154