blob: 4ceaf48968217895f05ebedd9365265b7fa8d4fb [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -05004<!--# Redfish Schema: Task v1.5.0 -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07005<!--# -->
6<!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7<!--# available at http://www.dmtf.org/standards/redfish -->
Gunnar Millsa778c022020-05-12 12:20:36 -05008<!--# Copyright 2014-2020 DMTF. -->
Jason M. Billsea4aa752018-06-05 13:29:11 -07009<!--# 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>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060020 <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>
Jason M. Billsea4aa752018-06-05 13:29:11 -070023 <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 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/RedfishExtensions_v1.xml">
28 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/>
29 </edmx:Reference>
30 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Message_v1.xml">
31 <edmx:Include Namespace="Message"/>
32 </edmx:Reference>
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050033 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/TaskCollection_v1.xml">
34 <edmx:Include Namespace="TaskCollection"/>
35 </edmx:Reference>
Jason M. Billsea4aa752018-06-05 13:29:11 -070036
37 <edmx:DataServices>
38
39 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task">
40 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
41
42 <EntityType Name="Task" BaseType="Resource.v1_0_0.Resource" Abstract="true">
Ed Tanouscb103132019-10-08 11:34:22 -070043 <Annotation Term="OData.Description" String="The Task schema contains information about a task that the Redfish Task Service schedules or executes. Tasks represent operations that take more time than a client typically wants to wait."/>
44 <Annotation Term="OData.LongDescription" String="This Resource contains a Task for a Redfish implementation."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070045 <Annotation Term="Capabilities.InsertRestrictions">
46 <Record>
47 <PropertyValue Property="Insertable" Bool="false"/>
48 </Record>
49 </Annotation>
50 <Annotation Term="Capabilities.UpdateRestrictions">
51 <Record>
52 <PropertyValue Property="Updatable" Bool="false"/>
53 </Record>
54 </Annotation>
55 <Annotation Term="Capabilities.DeleteRestrictions">
56 <Record>
57 <PropertyValue Property="Deletable" Bool="true"/>
Ed Tanouscb103132019-10-08 11:34:22 -070058 <Annotation Term="OData.Description" String="Use the DELETE operation to remove a task."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070059 </Record>
60 </Annotation>
Ed Tanous530520e2019-01-02 13:41:37 -080061 <Annotation Term="Redfish.Uris">
62 <Collection>
63 <String>/redfish/v1/TaskService/Tasks/{TaskId}</String>
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -050064 <String>/redfish/v1/TaskService/Tasks/{TaskId}/SubTasks/{TaskId2}</String>
Ed Tanous530520e2019-01-02 13:41:37 -080065 </Collection>
66 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -070067 </EntityType>
68
69 </Schema>
70
71 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_0_0">
72 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060073 <Annotation Term="Redfish.Release" String="1.0"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070074
75 <EntityType Name="Task" BaseType="Task.Task">
76 <Property Name="TaskState" Type="Task.v1_0_0.TaskState" Nullable="false">
77 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
78 <Annotation Term="OData.Description" String="The state of the task."/>
Ed Tanouscb103132019-10-08 11:34:22 -070079 <Annotation Term="OData.LongDescription" String="This property shall indicate the state of the task."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070080 </Property>
81 <Property Name="StartTime" Type="Edm.DateTimeOffset" Nullable="false">
82 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070083 <Annotation Term="OData.Description" String="The date and time when the task was started."/>
84 <Annotation Term="OData.LongDescription" String="This property shall indicate the date and time when the task was started."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070085 </Property>
86 <Property Name="EndTime" Type="Edm.DateTimeOffset" Nullable="false">
87 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070088 <Annotation Term="OData.Description" String="The date and time when the task was completed. This property will only appear when the task is complete."/>
89 <Annotation Term="OData.LongDescription" String="This property shall indicate the date and time when the task was completed. This property shall not appear if the task is running or otherwise has not been completed. This property shall appear only if the TaskState is Completed, Killed, Cancelled, or Exception."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070090 </Property>
91 <Property Name="TaskStatus" Type="Resource.Health" Nullable="false">
92 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070093 <Annotation Term="OData.Description" String="The completion status of the task."/>
94 <Annotation Term="OData.LongDescription" String="This property shall contain the completion status of the task, as defined in the Status section of the Redfish Specification and shall not be set until the task completes."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070095 </Property>
96 <Property Name="Messages" Type="Collection(Message.Message)" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -070097 <Annotation Term="OData.Description" String="An array of messages associated with the task."/>
98 <Annotation Term="OData.LongDescription" String="This property shall contain an array of messages associated with the task."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070099 </Property>
100 </EntityType>
101
102 <EnumType Name="TaskState">
103 <Member Name="New">
104 <Annotation Term="OData.Description" String="A new task."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700105 <Annotation Term="OData.LongDescription" String="This value shall represent that the task is newly created, but has not started."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700106 </Member>
107 <Member Name="Starting">
108 <Annotation Term="OData.Description" String="Task is starting."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700109 <Annotation Term="OData.LongDescription" String="This value shall represent that the task is starting."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700110 </Member>
111 <Member Name="Running">
112 <Annotation Term="OData.Description" String="Task is running normally."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700113 <Annotation Term="OData.LongDescription" String="This value shall represent that the task is executing."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700114 </Member>
115 <Member Name="Suspended">
116 <Annotation Term="OData.Description" String="Task has been suspended."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700117 <Annotation Term="OData.LongDescription" String="This value shall represent that the task has been suspended but is expected to restart and is therefore not complete."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700118 </Member>
119 <Member Name="Interrupted">
120 <Annotation Term="OData.Description" String="Task has been interrupted."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700121 <Annotation Term="OData.LongDescription" String="This value shall represent that the task has been interrupted but is expected to restart and is therefore not complete."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700122 </Member>
123 <Member Name="Pending">
124 <Annotation Term="OData.Description" String="Task is pending and has not started."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700125 <Annotation Term="OData.LongDescription" String="This value shall represent that the task is pending some condition and has not yet begun to execute."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700126 </Member>
127 <Member Name="Stopping">
128 <Annotation Term="OData.Description" String="Task is in the process of stopping."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700129 <Annotation Term="OData.LongDescription" String="This value shall represent that the task is stopping but is not yet complete."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700130 </Member>
131 <Member Name="Completed">
Ed Tanouscb103132019-10-08 11:34:22 -0700132 <Annotation Term="OData.Description" String="Task was completed."/>
133 <Annotation Term="OData.LongDescription" String="This value shall represent that the task completed sucessfully or with warnings."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700134 </Member>
135 <Member Name="Killed">
Jason M. Billsea4aa752018-06-05 13:29:11 -0700136 <Annotation Term="OData.Description" String="Task was terminated."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700137 <Annotation Term="OData.LongDescription" String="This value shall represent that the task is complete because an operator killed it."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600138 <Annotation Term="Redfish.Revisions">
139 <Collection>
140 <Record>
141 <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Deprecated"/>
142 <PropertyValue Property="Version" String="v1_2_0"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700143 <PropertyValue Property="Description" String="This value has been deprecated and is being replaced by the Cancelled value, which has more determinate semantics."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600144 </Record>
145 </Collection>
146 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700147 </Member>
148 <Member Name="Exception">
149 <Annotation Term="OData.Description" String="Task has stopped due to an exception condition."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700150 <Annotation Term="OData.LongDescription" String="This value shall represent that the task completed with errors."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700151 </Member>
152 <Member Name="Service">
153 <Annotation Term="OData.Description" String="Task is running as a service."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700154 <Annotation Term="OData.LongDescription" String="This value shall represent that the task is now running as a service and expected to continue operation until stopped or killed."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700155 </Member>
156 <Member Name="Cancelling">
157 <Annotation Term="OData.Description" String="Task is in the process of being cancelled."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700158 <Annotation Term="OData.LongDescription" String="This value shall represent that the task is in the process of being cancelled."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600159 <Annotation Term="Redfish.Revisions">
160 <Collection>
161 <Record>
162 <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
163 <PropertyValue Property="Version" String="v1_2_0"/>
164 </Record>
165 </Collection>
166 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700167 </Member>
168 <Member Name="Cancelled">
169 <Annotation Term="OData.Description" String="Task has been cancelled by an operator or internal process."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700170 <Annotation Term="OData.LongDescription" String="This value shall represent that either a DELETE operation on a Task Monitor or Task Resource or by an internal process cancelled the task."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600171 <Annotation Term="Redfish.Revisions">
172 <Collection>
173 <Record>
174 <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/>
175 <PropertyValue Property="Version" String="v1_2_0"/>
176 </Record>
177 </Collection>
178 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700179 </Member>
180 </EnumType>
181 </Schema>
182
183 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_0_2">
184 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700185 <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700186 <EntityType Name="Task" BaseType="Task.v1_0_0.Task"/>
187 </Schema>
188
189 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_0_3">
190 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700191 <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700192 <EntityType Name="Task" BaseType="Task.v1_0_2.Task"/>
193 </Schema>
194
195 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_0_4">
196 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700197 <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700198 <EntityType Name="Task" BaseType="Task.v1_0_3.Task"/>
199 </Schema>
200
Ed Tanous530520e2019-01-02 13:41:37 -0800201 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_0_5">
202 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
203 <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."/>
204 <EntityType Name="Task" BaseType="Task.v1_0_4.Task"/>
205 </Schema>
206
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600207 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_0_6">
208 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700209 <Annotation Term="OData.Description" String="This version was created to use the new Revisions annotation."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600210 <EntityType Name="Task" BaseType="Task.v1_0_5.Task"/>
211 </Schema>
212
Ed Tanouscb103132019-10-08 11:34:22 -0700213 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_0_7">
214 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
215 <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."/>
216 <EntityType Name="Task" BaseType="Task.v1_0_6.Task"/>
217 </Schema>
218
219 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_0_8">
220 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
221 <Annotation Term="OData.Description" String="This version was created to clarify the descriptions of the StartTime and EndTime properties. It was also created to update descriptions that this schema defines."/>
222 <EntityType Name="Task" BaseType="Task.v1_0_7.Task"/>
223 </Schema>
224
Jason M. Billsea4aa752018-06-05 13:29:11 -0700225 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_1_0">
226 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600227 <Annotation Term="Redfish.Release" String="2017.1"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700228 <EntityType Name="Task" BaseType="Task.v1_0_3.Task">
229 <Property Name="Actions" Type="Task.v1_1_0.Actions" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700230 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
231 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this Resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700232 </Property>
233 </EntityType>
234
235 <ComplexType Name="Actions">
236 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700237 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
238 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800239 <Property Name="Oem" Type="Task.v1_1_0.OemActions" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700240 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
241 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800242 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700243 </ComplexType>
244
245 <ComplexType Name="OemActions">
246 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700247 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
248 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this Resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700249 </ComplexType>
250 </Schema>
251
252 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_1_1">
253 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700254 <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700255 <EntityType Name="Task" BaseType="Task.v1_1_0.Task"/>
256 </Schema>
257
Ed Tanous530520e2019-01-02 13:41:37 -0800258 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_1_2">
259 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
260 <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."/>
261 <EntityType Name="Task" BaseType="Task.v1_1_1.Task"/>
262 </Schema>
263
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600264 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_1_3">
265 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700266 <Annotation Term="OData.Description" String="This version was created to use the new Revisions annotation."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600267 <EntityType Name="Task" BaseType="Task.v1_1_2.Task"/>
268 </Schema>
269
Ed Tanouscb103132019-10-08 11:34:22 -0700270 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_1_4">
271 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
272 <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."/>
273 <EntityType Name="Task" BaseType="Task.v1_1_3.Task"/>
274 </Schema>
275
276 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_1_5">
277 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
278 <Annotation Term="OData.Description" String="This version was created to clarify the descriptions of the StartTime and EndTime properties. It was also created to update descriptions that this schema defines."/>
279 <EntityType Name="Task" BaseType="Task.v1_1_4.Task"/>
280 </Schema>
281
Jason M. Billsea4aa752018-06-05 13:29:11 -0700282 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_2_0">
283 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600284 <Annotation Term="Redfish.Release" String="2018.1"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700285 <Annotation Term="OData.Description" String="This version was created to add the TaskMonitor property. This version was also created to add the Cancelled and Cancelling to TaskState, and deprecates Killed."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700286 <EntityType Name="Task" BaseType="Task.v1_1_1.Task">
287 <Property Name="TaskMonitor" Type="Edm.String" Nullable="false">
288 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
289 <Annotation Term="OData.Description" String="The URI of the Task Monitor for this task."/>
290 <Annotation Term="OData.LongDescription" String="This property shall contain a URI to Task Monitor as defined in the Redfish Specification."/>
291 <Annotation Term="OData.IsURL"/>
292 </Property>
293 </EntityType>
294 </Schema>
295
Ed Tanous530520e2019-01-02 13:41:37 -0800296 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_2_1">
297 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
298 <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."/>
299 <EntityType Name="Task" BaseType="Task.v1_2_0.Task"/>
300 </Schema>
301
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600302 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_2_2">
303 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700304 <Annotation Term="OData.Description" String="This version was created to use the new Revisions annotation."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600305 <EntityType Name="Task" BaseType="Task.v1_2_1.Task"/>
306 </Schema>
307
Ed Tanouscb103132019-10-08 11:34:22 -0700308 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_2_3">
309 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
310 <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."/>
311 <EntityType Name="Task" BaseType="Task.v1_2_2.Task"/>
312 </Schema>
313
314 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_2_4">
315 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
316 <Annotation Term="OData.Description" String="This version was created to clarify the descriptions of the StartTime and EndTime properties. It was also created to update descriptions that this schema defines."/>
317 <EntityType Name="Task" BaseType="Task.v1_2_3.Task"/>
318 </Schema>
319
Ed Tanous530520e2019-01-02 13:41:37 -0800320 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_3_0">
321 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600322 <Annotation Term="Redfish.Release" String="2018.2"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700323 <Annotation Term="OData.Description" String="This version was created to add the Payload object to provide consistent capabilities with jobs."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800324
325 <EntityType Name="Task" BaseType="Task.v1_2_1.Task">
326 <Property Name="Payload" Type="Task.v1_3_0.Payload" Nullable="false">
Gunnar Mills09b9d452020-02-11 13:27:39 -0600327 <Annotation Term="OData.Description" String="The HTTP and JSON payload details for this task, unless they are hidden from view by the service."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700328 <Annotation Term="OData.LongDescription" String="This object shall contain information detailing the HTTP and JSON payload information for executing this task. This object shall not be included in the response if the HidePayload property is `true`."/>
329 </Property>
Ed Tanous530520e2019-01-02 13:41:37 -0800330 <Property Name="HidePayload" Type="Edm.Boolean" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700331 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Gunnar Mills09b9d452020-02-11 13:27:39 -0600332 <Annotation Term="OData.Description" String="An indication of whether the contents of the payload are hidden from view after the task has been created. If `true`, responses do not return the payload. If `false`, responses return the payload. If this property is not present when the task is created, the default is `false`."/>
333 <Annotation Term="OData.LongDescription" String="This property shall indicate whether the contents of the payload should be hidden from view after the task has been created. If `true`, responses shall not return the Payload property. If `false`, responses shall return the Payload property. If this property is not present when the task is created, the default is `false`. This property shall be supported if the Payload property is supported."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800334 </Property>
335 </EntityType>
336
337 <ComplexType Name="Payload">
338 <Annotation Term="OData.Description" String="The HTTP and JSON payload details for this Task."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700339 <Annotation Term="OData.LongDescription" String="This type shall contain information detailing the HTTP and JSON payload information for executing this Task."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800340 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
341 <Property Name="TargetUri" Type="Edm.String" Nullable="false">
342 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
343 <Annotation Term="OData.Description" String="The URI of the target for this task."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700344 <Annotation Term="OData.LongDescription" String="This property shall contain a link to the location to use as the target for an HTTP operation."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800345 <Annotation Term="OData.IsURL"/>
346 </Property>
347 <Property Name="HttpOperation" Type="Edm.String" Nullable="false">
348 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700349 <Annotation Term="OData.Description" String="The HTTP operation to perform to execute this task."/>
350 <Annotation Term="OData.LongDescription" String="This property shall contain the HTTP operation to execute for this task."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800351 </Property>
352 <Property Name="HttpHeaders" Type="Collection(Edm.String)" Nullable="false">
353 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700354 <Annotation Term="OData.Description" String="An array of HTTP headers that this task includes."/>
355 <Annotation Term="OData.LongDescription" String="This property shall contain an array of HTTP headers that this task includes."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800356 </Property>
357 <Property Name="JsonBody" Type="Edm.String" Nullable="false">
358 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700359 <Annotation Term="OData.Description" String="The JSON payload to use in the execution of this task."/>
360 <Annotation Term="OData.LongDescription" String="This property shall contain JSON formatted payload used for this task."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800361 </Property>
362 </ComplexType>
363
364 </Schema>
365
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600366 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_3_1">
367 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700368 <Annotation Term="OData.Description" String="This version was created to use the new Revisions annotation."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600369 <EntityType Name="Task" BaseType="Task.v1_3_0.Task"/>
370 </Schema>
371
Ed Tanouscb103132019-10-08 11:34:22 -0700372 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_3_2">
373 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
374 <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."/>
375 <EntityType Name="Task" BaseType="Task.v1_3_1.Task"/>
376 </Schema>
377
378 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_3_3">
379 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
380 <Annotation Term="OData.Description" String="This version was created to update the descriptions of the HidePayload, StartTime, and EndTime properties. It was also created to update descriptions that this schema defines."/>
381 <EntityType Name="Task" BaseType="Task.v1_3_2.Task"/>
382 </Schema>
383
Gunnar Mills09b9d452020-02-11 13:27:39 -0600384 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_3_4">
385 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
386 <Annotation Term="OData.Description" String="This version was created to update the descriptions of the HidePayload property."/>
387 <EntityType Name="Task" BaseType="Task.v1_3_3.Task"/>
388 </Schema>
389
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600390 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_4_0">
391 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
392 <Annotation Term="Redfish.Release" String="2018.3"/>
393 <Annotation Term="OData.Description" String="This version was created to add the PercentComplete property."/>
394
395 <EntityType Name="Task" BaseType="Task.v1_3_1.Task">
396 <Property Name="PercentComplete" Type="Edm.Int64">
397 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700398 <Annotation Term="OData.Description" String="The completion percentage of this task."/>
399 <Annotation Term="OData.LongDescription" String="This property shall indicate the completion progress of the task, reported in percent of completion. If the task has not been started, the value shall be zero."/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600400 <Annotation Term="Measures.Unit" String="%"/>
401 </Property>
402 </EntityType>
403 </Schema>
404
Ed Tanouscb103132019-10-08 11:34:22 -0700405 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_4_1">
406 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
407 <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."/>
408 <EntityType Name="Task" BaseType="Task.v1_4_0.Task"/>
409 </Schema>
410
411 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_4_2">
412 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
413 <Annotation Term="OData.Description" String="This version was created to update the descriptions of the HidePayload, StartTime, and EndTime properties. It was also created to update descriptions that this schema defines."/>
414 <EntityType Name="Task" BaseType="Task.v1_4_1.Task"/>
415 </Schema>
416
Gunnar Mills09b9d452020-02-11 13:27:39 -0600417 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_4_3">
418 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
419 <Annotation Term="OData.Description" String="This version was created to update the descriptions of the HidePayload property."/>
420 <EntityType Name="Task" BaseType="Task.v1_4_2.Task"/>
421 </Schema>
422
Asmitha Karunanithic8ccb772020-09-22 10:56:46 -0500423 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_5_0">
424 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
425 <Annotation Term="Redfish.Release" String="2020.3"/>
426
427 <EntityType Name="Task" BaseType="Task.v1_4_3.Task">
428 <NavigationProperty Name="SubTasks" Type="TaskCollection.TaskCollection" ContainsTarget="true" Nullable="false">
429 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
430 <Annotation Term="OData.Description" String="The link to a collection of sub-tasks for this task."/>
431 <Annotation Term="OData.LongDescription" String="This property shall contain a link to a resource collection of type TaskCollection. This property shall not be present if this resource represents a sub-task for a task."/>
432 <Annotation Term="OData.AutoExpandReferences"/>
433 </NavigationProperty>
434 </EntityType>
435 </Schema>
436
Jason M. Billsea4aa752018-06-05 13:29:11 -0700437 </edmx:DataServices>
438</edmx:Edmx>