1<?xml version="1.0" encoding="UTF-8"?> 2<!----> 3<!--################################################################################ --> 4<!--# Redfish Schema: TaskService v1.2.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/Resource_v1.xml"> 21 <edmx:Include Namespace="Resource"/> 22 <edmx:Include Namespace="Resource.v1_0_0"/> 23 </edmx:Reference> 24 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml"> 25 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> 26 <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/> 27 </edmx:Reference> 28 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/TaskCollection_v1.xml"> 29 <edmx:Include Namespace="TaskCollection"/> 30 </edmx:Reference> 31 32 <edmx:DataServices> 33 34 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService"> 35 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 36 <Annotation Term="Redfish.Language" String="en"/> 37 38 <EntityType Name="TaskService" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 39 <Annotation Term="OData.Description" String="The `TaskService` schema describes a task service that enables management of long-duration operations, includes the properties for the task service itself, and has links to the resource collection of tasks."/> 40 <Annotation Term="OData.LongDescription" String="This resource contains a task service for a Redfish implementation."/> 41 <Annotation Term="Capabilities.InsertRestrictions"> 42 <Record> 43 <PropertyValue Property="Insertable" Bool="false"/> 44 </Record> 45 </Annotation> 46 <Annotation Term="Capabilities.UpdateRestrictions"> 47 <Record> 48 <PropertyValue Property="Updatable" Bool="true"/> 49 <Annotation Term="OData.Description" String="The task service can be updated to enable or disable it, though some implementations might fail the update operation."/> 50 </Record> 51 </Annotation> 52 <Annotation Term="Capabilities.DeleteRestrictions"> 53 <Record> 54 <PropertyValue Property="Deletable" Bool="false"/> 55 </Record> 56 </Annotation> 57 <Annotation Term="Redfish.Uris"> 58 <Collection> 59 <String>/redfish/v1/TaskService</String> 60 </Collection> 61 </Annotation> 62 </EntityType> 63 </Schema> 64 65 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_0"> 66 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 67 <Annotation Term="Redfish.Release" String="1.0"/> 68 69 <EntityType Name="TaskService" BaseType="TaskService.TaskService"> 70 <Property Name="CompletedTaskOverWritePolicy" Type="TaskService.v1_0_0.OverWritePolicy" Nullable="false"> 71 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 72 <Annotation Term="OData.Description" String="The overwrite policy for completed tasks. This property indicates if the task service overwrites completed task information."/> 73 <Annotation Term="OData.LongDescription" String="This property shall contain the overwrite policy for completed tasks. This property shall indicate if the task service overwrites completed task information."/> 74 </Property> 75 <Property Name="DateTime" Type="Edm.DateTimeOffset"> 76 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 77 <Annotation Term="OData.Description" String="The current date and time, with UTC offset, setting that the task service uses."/> 78 <Annotation Term="OData.LongDescription" String="This property shall contain the current date and time for the task service, with UTC offset."/> 79 </Property> 80 <Property Name="LifeCycleEventOnTaskStateChange" Type="Edm.Boolean" Nullable="false"> 81 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 82 <Annotation Term="OData.Description" String="An indication of whether a task state change sends an event."/> 83 <Annotation Term="OData.LongDescription" String="This property shall indicate whether a task state change sends an event. Services should send an event containing a message defined in the Task Event Message Registry when the state of a task changes."/> 84 </Property> 85 <Property Name="ServiceEnabled" Type="Edm.Boolean"> 86 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 87 <Annotation Term="OData.Description" String="An indication of whether this service is enabled."/> 88 <Annotation Term="OData.LongDescription" String="This property shall indicate whether this service is enabled."/> 89 </Property> 90 <Property Name="Status" Type="Resource.Status" Nullable="false"> 91 <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/> 92 <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/> 93 </Property> 94 <NavigationProperty Name="Tasks" Type="TaskCollection.TaskCollection" ContainsTarget="true" Nullable="false"> 95 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 96 <Annotation Term="OData.Description" String="The links to the collection of tasks."/> 97 <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type `TaskCollection`."/> 98 <Annotation Term="OData.AutoExpandReferences"/> 99 </NavigationProperty> 100 </EntityType> 101 102 <EnumType Name="OverWritePolicy"> 103 <Member Name="Manual"> 104 <Annotation Term="OData.Description" String="Completed tasks are not automatically overwritten."/> 105 </Member> 106 <Member Name="Oldest"> 107 <Annotation Term="OData.Description" String="Oldest completed tasks are overwritten."/> 108 </Member> 109 </EnumType> 110 </Schema> 111 112 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_2"> 113 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 114 <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/> 115 <EntityType Name="TaskService" BaseType="TaskService.v1_0_0.TaskService"/> 116 </Schema> 117 118 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_3"> 119 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 120 <Annotation Term="OData.Description" String="This version was created to add explicit permissions annotations to all properties for clarity."/> 121 <EntityType Name="TaskService" BaseType="TaskService.v1_0_2.TaskService"/> 122 </Schema> 123 124 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_4"> 125 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 126 <Annotation Term="OData.Description" String="This version was created to correct the `LifeCycleEventOnTaskStateChange` long description."/> 127 <EntityType Name="TaskService" BaseType="TaskService.v1_0_3.TaskService"/> 128 </Schema> 129 130 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_5"> 131 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 132 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/> 133 <EntityType Name="TaskService" BaseType="TaskService.v1_0_4.TaskService"/> 134 </Schema> 135 136 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_6"> 137 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 138 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format. It was also created to correct the resource description."/> 139 <EntityType Name="TaskService" BaseType="TaskService.v1_0_5.TaskService"/> 140 </Schema> 141 142 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_7"> 143 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 144 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/> 145 <EntityType Name="TaskService" BaseType="TaskService.v1_0_6.TaskService"/> 146 </Schema> 147 148 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_8"> 149 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 150 <Annotation Term="OData.Description" String="This version was created to update the description of `LifeCycleEventOnTaskStateChange`."/> 151 <EntityType Name="TaskService" BaseType="TaskService.v1_0_7.TaskService"/> 152 </Schema> 153 154 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_9"> 155 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 156 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> 157 <EntityType Name="TaskService" BaseType="TaskService.v1_0_8.TaskService"/> 158 </Schema> 159 160 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_10"> 161 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 162 <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."/> 163 <EntityType Name="TaskService" BaseType="TaskService.v1_0_9.TaskService"/> 164 </Schema> 165 166 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_0"> 167 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 168 <Annotation Term="Redfish.Release" String="2017.1"/> 169 170 <EntityType Name="TaskService" BaseType="TaskService.v1_0_3.TaskService"> 171 <Property Name="Actions" Type="TaskService.v1_1_0.Actions" Nullable="false"> 172 <Annotation Term="OData.Description" String="The available actions for this resource."/> 173 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/> 174 </Property> 175 </EntityType> 176 177 <ComplexType Name="Actions"> 178 <Annotation Term="OData.AdditionalProperties" Bool="false"/> 179 <Annotation Term="OData.Description" String="The available actions for this resource."/> 180 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> 181 <Property Name="Oem" Type="TaskService.v1_1_0.OemActions" Nullable="false"> 182 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 183 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/> 184 </Property> 185 </ComplexType> 186 187 <ComplexType Name="OemActions"> 188 <Annotation Term="OData.AdditionalProperties" Bool="true"/> 189 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 190 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/> 191 </ComplexType> 192 </Schema> 193 194 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_1"> 195 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 196 <Annotation Term="OData.Description" String="This version was created to correct the `LifeCycleEventOnTaskStateChange` long description."/> 197 <EntityType Name="TaskService" BaseType="TaskService.v1_1_0.TaskService"/> 198 </Schema> 199 200 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_2"> 201 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 202 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that OData properties are marked as required, and integer properties are marked as integer rather than number."/> 203 <EntityType Name="TaskService" BaseType="TaskService.v1_1_1.TaskService"/> 204 </Schema> 205 206 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_3"> 207 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 208 <Annotation Term="OData.Description" String="This version was created to force the regeneration of JSON Schema so that URI properties use the uri-reference format. It was also created to correct the resource description."/> 209 <EntityType Name="TaskService" BaseType="TaskService.v1_1_2.TaskService"/> 210 </Schema> 211 212 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_4"> 213 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 214 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/> 215 <EntityType Name="TaskService" BaseType="TaskService.v1_1_3.TaskService"/> 216 </Schema> 217 218 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_5"> 219 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 220 <Annotation Term="OData.Description" String="This version was created to update the description of `LifeCycleEventOnTaskStateChange`."/> 221 <EntityType Name="TaskService" BaseType="TaskService.v1_1_4.TaskService"/> 222 </Schema> 223 224 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_6"> 225 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 226 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> 227 <EntityType Name="TaskService" BaseType="TaskService.v1_1_5.TaskService"/> 228 </Schema> 229 230 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_7"> 231 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 232 <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."/> 233 <EntityType Name="TaskService" BaseType="TaskService.v1_1_6.TaskService"/> 234 </Schema> 235 236 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_2_0"> 237 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 238 <Annotation Term="Redfish.Release" String="2021.1"/> 239 240 <EntityType Name="TaskService" BaseType="TaskService.v1_1_6.TaskService"> 241 <Property Name="TaskAutoDeleteTimeoutMinutes" Type="Edm.Int64" Nullable="false"> 242 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 243 <Annotation Term="OData.Description" String="The number of minutes after which a completed task is deleted by the service."/> 244 <Annotation Term="OData.LongDescription" String="This property shall contain the number of minutes after which a completed task, where `TaskState` contains the value `Completed`, `Killed`, `Cancelled`, or `Exception`, is deleted by the service."/> 245 <Annotation Term="Validation.Minimum" Int="1"/> 246 </Property> 247 </EntityType> 248 </Schema> 249 250 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_2_1"> 251 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 252 <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."/> 253 <EntityType Name="TaskService" BaseType="TaskService.v1_2_0.TaskService"/> 254 </Schema> 255 256 </edmx:DataServices> 257</edmx:Edmx> 258