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