Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame^] | 4 | <!--# Redfish Schema: Task v1.5.0 --> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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 --> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 8 | <!--# Copyright 2014-2020 DMTF. --> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 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> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 23 | <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 Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame^] | 33 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/TaskCollection_v1.xml"> |
| 34 | <edmx:Include Namespace="TaskCollection"/> |
| 35 | </edmx:Reference> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 36 | |
| 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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 43 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 45 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 58 | <Annotation Term="OData.Description" String="Use the DELETE operation to remove a task."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 59 | </Record> |
| 60 | </Annotation> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 61 | <Annotation Term="Redfish.Uris"> |
| 62 | <Collection> |
| 63 | <String>/redfish/v1/TaskService/Tasks/{TaskId}</String> |
Asmitha Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame^] | 64 | <String>/redfish/v1/TaskService/Tasks/{TaskId}/SubTasks/{TaskId2}</String> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 65 | </Collection> |
| 66 | </Annotation> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 67 | </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 Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 73 | <Annotation Term="Redfish.Release" String="1.0"/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 74 | |
| 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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 79 | <Annotation Term="OData.LongDescription" String="This property shall indicate the state of the task."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 80 | </Property> |
| 81 | <Property Name="StartTime" Type="Edm.DateTimeOffset" Nullable="false"> |
| 82 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 83 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 85 | </Property> |
| 86 | <Property Name="EndTime" Type="Edm.DateTimeOffset" Nullable="false"> |
| 87 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 88 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 90 | </Property> |
| 91 | <Property Name="TaskStatus" Type="Resource.Health" Nullable="false"> |
| 92 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 93 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 95 | </Property> |
| 96 | <Property Name="Messages" Type="Collection(Message.Message)" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 97 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 99 | </Property> |
| 100 | </EntityType> |
| 101 | |
| 102 | <EnumType Name="TaskState"> |
| 103 | <Member Name="New"> |
| 104 | <Annotation Term="OData.Description" String="A new task."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 105 | <Annotation Term="OData.LongDescription" String="This value shall represent that the task is newly created, but has not started."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 106 | </Member> |
| 107 | <Member Name="Starting"> |
| 108 | <Annotation Term="OData.Description" String="Task is starting."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 109 | <Annotation Term="OData.LongDescription" String="This value shall represent that the task is starting."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 110 | </Member> |
| 111 | <Member Name="Running"> |
| 112 | <Annotation Term="OData.Description" String="Task is running normally."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 113 | <Annotation Term="OData.LongDescription" String="This value shall represent that the task is executing."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 114 | </Member> |
| 115 | <Member Name="Suspended"> |
| 116 | <Annotation Term="OData.Description" String="Task has been suspended."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 117 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 118 | </Member> |
| 119 | <Member Name="Interrupted"> |
| 120 | <Annotation Term="OData.Description" String="Task has been interrupted."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 121 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 122 | </Member> |
| 123 | <Member Name="Pending"> |
| 124 | <Annotation Term="OData.Description" String="Task is pending and has not started."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 125 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 126 | </Member> |
| 127 | <Member Name="Stopping"> |
| 128 | <Annotation Term="OData.Description" String="Task is in the process of stopping."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 129 | <Annotation Term="OData.LongDescription" String="This value shall represent that the task is stopping but is not yet complete."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 130 | </Member> |
| 131 | <Member Name="Completed"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 132 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 134 | </Member> |
| 135 | <Member Name="Killed"> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 136 | <Annotation Term="OData.Description" String="Task was terminated."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 137 | <Annotation Term="OData.LongDescription" String="This value shall represent that the task is complete because an operator killed it."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 138 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 143 | <PropertyValue Property="Description" String="This value has been deprecated and is being replaced by the Cancelled value, which has more determinate semantics."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 144 | </Record> |
| 145 | </Collection> |
| 146 | </Annotation> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 147 | </Member> |
| 148 | <Member Name="Exception"> |
| 149 | <Annotation Term="OData.Description" String="Task has stopped due to an exception condition."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 150 | <Annotation Term="OData.LongDescription" String="This value shall represent that the task completed with errors."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 151 | </Member> |
| 152 | <Member Name="Service"> |
| 153 | <Annotation Term="OData.Description" String="Task is running as a service."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 154 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 155 | </Member> |
| 156 | <Member Name="Cancelling"> |
| 157 | <Annotation Term="OData.Description" String="Task is in the process of being cancelled."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 158 | <Annotation Term="OData.LongDescription" String="This value shall represent that the task is in the process of being cancelled."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 159 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 167 | </Member> |
| 168 | <Member Name="Cancelled"> |
| 169 | <Annotation Term="OData.Description" String="Task has been cancelled by an operator or internal process."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 170 | <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 Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 171 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 179 | </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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 185 | <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 186 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 191 | <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 192 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 197 | <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 198 | <EntityType Name="Task" BaseType="Task.v1_0_3.Task"/> |
| 199 | </Schema> |
| 200 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 201 | <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 Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 207 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_0_6"> |
| 208 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 209 | <Annotation Term="OData.Description" String="This version was created to use the new Revisions annotation."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 210 | <EntityType Name="Task" BaseType="Task.v1_0_5.Task"/> |
| 211 | </Schema> |
| 212 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 213 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 225 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_1_0"> |
| 226 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 227 | <Annotation Term="Redfish.Release" String="2017.1"/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 228 | <EntityType Name="Task" BaseType="Task.v1_0_3.Task"> |
| 229 | <Property Name="Actions" Type="Task.v1_1_0.Actions" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 230 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 232 | </Property> |
| 233 | </EntityType> |
| 234 | |
| 235 | <ComplexType Name="Actions"> |
| 236 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 237 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 239 | <Property Name="Oem" Type="Task.v1_1_0.OemActions" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 240 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 242 | </Property> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 243 | </ComplexType> |
| 244 | |
| 245 | <ComplexType Name="OemActions"> |
| 246 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 247 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 249 | </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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 254 | <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 255 | <EntityType Name="Task" BaseType="Task.v1_1_0.Task"/> |
| 256 | </Schema> |
| 257 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 258 | <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 Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 264 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_1_3"> |
| 265 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 266 | <Annotation Term="OData.Description" String="This version was created to use the new Revisions annotation."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 267 | <EntityType Name="Task" BaseType="Task.v1_1_2.Task"/> |
| 268 | </Schema> |
| 269 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 270 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 282 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_2_0"> |
| 283 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 284 | <Annotation Term="Redfish.Release" String="2018.1"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 285 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 286 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 296 | <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 Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 302 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_2_2"> |
| 303 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 304 | <Annotation Term="OData.Description" String="This version was created to use the new Revisions annotation."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 305 | <EntityType Name="Task" BaseType="Task.v1_2_1.Task"/> |
| 306 | </Schema> |
| 307 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 308 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 320 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_3_0"> |
| 321 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 322 | <Annotation Term="Redfish.Release" String="2018.2"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 323 | <Annotation Term="OData.Description" String="This version was created to add the Payload object to provide consistent capabilities with jobs."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 324 | |
| 325 | <EntityType Name="Task" BaseType="Task.v1_2_1.Task"> |
| 326 | <Property Name="Payload" Type="Task.v1_3_0.Payload" Nullable="false"> |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 327 | <Annotation Term="OData.Description" String="The HTTP and JSON payload details for this task, unless they are hidden from view by the service."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 328 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 330 | <Property Name="HidePayload" Type="Edm.Boolean" Nullable="false"> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 331 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Gunnar Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 332 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 334 | </Property> |
| 335 | </EntityType> |
| 336 | |
| 337 | <ComplexType Name="Payload"> |
| 338 | <Annotation Term="OData.Description" String="The HTTP and JSON payload details for this Task."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 339 | <Annotation Term="OData.LongDescription" String="This type shall contain information detailing the HTTP and JSON payload information for executing this Task."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 340 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 344 | <Annotation Term="OData.LongDescription" String="This property shall contain a link to the location to use as the target for an HTTP operation."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 345 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 349 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 351 | </Property> |
| 352 | <Property Name="HttpHeaders" Type="Collection(Edm.String)" Nullable="false"> |
| 353 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 354 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 356 | </Property> |
| 357 | <Property Name="JsonBody" Type="Edm.String" Nullable="false"> |
| 358 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 359 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 361 | </Property> |
| 362 | </ComplexType> |
| 363 | |
| 364 | </Schema> |
| 365 | |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 366 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Task.v1_3_1"> |
| 367 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 368 | <Annotation Term="OData.Description" String="This version was created to use the new Revisions annotation."/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 369 | <EntityType Name="Task" BaseType="Task.v1_3_0.Task"/> |
| 370 | </Schema> |
| 371 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 372 | <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 Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 384 | <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 Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 390 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 398 | <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 Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 400 | <Annotation Term="Measures.Unit" String="%"/> |
| 401 | </Property> |
| 402 | </EntityType> |
| 403 | </Schema> |
| 404 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 405 | <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 Mills | 09b9d45 | 2020-02-11 13:27:39 -0600 | [diff] [blame] | 417 | <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 Karunanithi | c8ccb77 | 2020-09-22 10:56:46 -0500 | [diff] [blame^] | 423 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 437 | </edmx:DataServices> |
| 438 | </edmx:Edmx> |