blob: 256e15459a7b328bee2145a901ba5a8703375b9d [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Gunnar Mills10f270b2021-05-19 15:34:06 -05004<!--# Redfish Schema: TaskService v1.2.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 -->
Ed Tanoused761212022-09-23 15:03:29 -07008<!--# Copyright 2014-2022 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>
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"/>
Gunnar Mills10f270b2021-05-19 15:34:06 -050026 <edmx:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070027 </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">
Gunnar Millsa778c022020-05-12 12:20:36 -050038 <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."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070040 <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"/>
Gunnar Mills844b4152020-06-22 12:44:09 -050048 <Annotation Term="OData.Description" String="The task service can be updated to enable or disable it, though some implementations might fail the update operation."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070049 </Record>
50 </Annotation>
51 <Annotation Term="Capabilities.DeleteRestrictions">
52 <Record>
53 <PropertyValue Property="Deletable" Bool="false"/>
54 </Record>
55 </Annotation>
Ed Tanous530520e2019-01-02 13:41:37 -080056 <Annotation Term="Redfish.Uris">
57 <Collection>
58 <String>/redfish/v1/TaskService</String>
59 </Collection>
60 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -070061 </EntityType>
Jason M. Billsea4aa752018-06-05 13:29:11 -070062 </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"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060066 <Annotation Term="Redfish.Release" String="1.0"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070067
68 <EntityType Name="TaskService" BaseType="TaskService.TaskService">
Jason M. Billsea4aa752018-06-05 13:29:11 -070069 <Property Name="CompletedTaskOverWritePolicy" Type="TaskService.v1_0_0.OverWritePolicy" Nullable="false">
70 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Gunnar Mills262d7d42021-01-20 16:28:41 -060071 <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."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070073 </Property>
74 <Property Name="DateTime" Type="Edm.DateTimeOffset">
75 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Gunnar Millsa778c022020-05-12 12:20:36 -050076 <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."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070078 </Property>
79 <Property Name="LifeCycleEventOnTaskStateChange" Type="Edm.Boolean" Nullable="false">
80 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070081 <Annotation Term="OData.Description" String="An indication of whether a task state change sends an event."/>
Gunnar Millsa778c022020-05-12 12:20:36 -050082 <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."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070083 </Property>
84 <Property Name="ServiceEnabled" Type="Edm.Boolean">
85 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
Ed Tanouscb103132019-10-08 11:34:22 -070086 <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."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070088 </Property>
Ed Tanous530520e2019-01-02 13:41:37 -080089 <Property Name="Status" Type="Resource.Status" Nullable="false">
Gunnar Millsa778c022020-05-12 12:20:36 -050090 <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."/>
Ed Tanous530520e2019-01-02 13:41:37 -080092 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -070093 <NavigationProperty Name="Tasks" Type="TaskCollection.TaskCollection" ContainsTarget="true" Nullable="false">
94 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Gunnar Millsa778c022020-05-12 12:20:36 -050095 <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."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070097 <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>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700109 </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"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700113 <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 -0700114 <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"/>
Gunnar Millsa778c022020-05-12 12:20:36 -0500119 <Annotation Term="OData.Description" String="This version was created to add explicit permissions annotations to all properties for clarity."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700120 <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"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700125 <Annotation Term="OData.Description" String="This version was created to correct the LifeCycleEventOnTaskStateChange long description."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700126 <EntityType Name="TaskService" BaseType="TaskService.v1_0_3.TaskService"/>
127 </Schema>
128
Ed Tanous530520e2019-01-02 13:41:37 -0800129 <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
Ed Tanouscb103132019-10-08 11:34:22 -0700135 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_6">
136 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Gunnar Millsa778c022020-05-12 12:20:36 -0500137 <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."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700138 <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
Gunnar Millsa778c022020-05-12 12:20:36 -0500147 <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
Gunnar Mills262d7d42021-01-20 16:28:41 -0600153 <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
Jason M. Billsea4aa752018-06-05 13:29:11 -0700159 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_0">
160 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600161 <Annotation Term="Redfish.Release" String="2017.1"/>
Gunnar Millsa778c022020-05-12 12:20:36 -0500162
Jason M. Billsea4aa752018-06-05 13:29:11 -0700163 <EntityType Name="TaskService" BaseType="TaskService.v1_0_3.TaskService">
164 <Property Name="Actions" Type="TaskService.v1_1_0.Actions" Nullable="false">
Gunnar Millsa778c022020-05-12 12:20:36 -0500165 <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."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800167 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700168 </EntityType>
169
170 <ComplexType Name="Actions">
171 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
Gunnar Millsa778c022020-05-12 12:20:36 -0500172 <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."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800174 <Property Name="Oem" Type="TaskService.v1_1_0.OemActions" Nullable="false">
Gunnar Millsa778c022020-05-12 12:20:36 -0500175 <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."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800177 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700178 </ComplexType>
179
180 <ComplexType Name="OemActions">
181 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
Gunnar Millsa778c022020-05-12 12:20:36 -0500182 <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."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700184 </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"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700189 <Annotation Term="OData.Description" String="This version was created to correct the LifeCycleEventOnTaskStateChange long description."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700190 <EntityType Name="TaskService" BaseType="TaskService.v1_1_0.TaskService"/>
191 </Schema>
192
Ed Tanous530520e2019-01-02 13:41:37 -0800193 <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
Ed Tanouscb103132019-10-08 11:34:22 -0700199 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_3">
200 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Gunnar Millsa778c022020-05-12 12:20:36 -0500201 <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."/>
Ed Tanouscb103132019-10-08 11:34:22 -0700202 <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
Gunnar Millsa778c022020-05-12 12:20:36 -0500211 <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
Gunnar Mills262d7d42021-01-20 16:28:41 -0600217 <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
Gunnar Mills10f270b2021-05-19 15:34:06 -0500223 <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
Jason M. Billsea4aa752018-06-05 13:29:11 -0700237 </edmx:DataServices>
238</edmx:Edmx>