blob: b96dcc79bbdc77317ab5cbcfaf413943059dadf7 [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Gunnar Millsa778c022020-05-12 12:20:36 -05004<!--# Redfish Schema: TaskService v1.1.5 -->
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>
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:Reference>
27 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/TaskCollection_v1.xml">
28 <edmx:Include Namespace="TaskCollection"/>
29 </edmx:Reference>
30
31 <edmx:DataServices>
32
33 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService">
34 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
35
36 <EntityType Name="TaskService" BaseType="Resource.v1_0_0.Resource" Abstract="true">
Gunnar Millsa778c022020-05-12 12:20:36 -050037 <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."/>
38 <Annotation Term="OData.LongDescription" String="This resource contains a task service for a Redfish implementation."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070039 <Annotation Term="Capabilities.InsertRestrictions">
40 <Record>
41 <PropertyValue Property="Insertable" Bool="false"/>
42 </Record>
43 </Annotation>
44 <Annotation Term="Capabilities.UpdateRestrictions">
45 <Record>
46 <PropertyValue Property="Updatable" Bool="true"/>
Gunnar Mills844b4152020-06-22 12:44:09 -050047 <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 -070048 </Record>
49 </Annotation>
50 <Annotation Term="Capabilities.DeleteRestrictions">
51 <Record>
52 <PropertyValue Property="Deletable" Bool="false"/>
53 </Record>
54 </Annotation>
Ed Tanous530520e2019-01-02 13:41:37 -080055 <Annotation Term="Redfish.Uris">
56 <Collection>
57 <String>/redfish/v1/TaskService</String>
58 </Collection>
59 </Annotation>
Jason M. Billsea4aa752018-06-05 13:29:11 -070060 </EntityType>
Jason M. Billsea4aa752018-06-05 13:29:11 -070061 </Schema>
62
63 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_0">
64 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -060065 <Annotation Term="Redfish.Release" String="1.0"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070066
67 <EntityType Name="TaskService" BaseType="TaskService.TaskService">
Jason M. Billsea4aa752018-06-05 13:29:11 -070068 <Property Name="CompletedTaskOverWritePolicy" Type="TaskService.v1_0_0.OverWritePolicy" Nullable="false">
69 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Gunnar Millsa778c022020-05-12 12:20:36 -050070 <Annotation Term="OData.Description" String="The overwrite policy for completed tasks. This property indicates whether the task service overwrites completed task information."/>
71 <Annotation Term="OData.LongDescription" String="This property shall indicate how the task service shall handle completed tasks if the service must track more tasks. This property indicates whether the task service overwrites completed task information."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070072 </Property>
73 <Property Name="DateTime" Type="Edm.DateTimeOffset">
74 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Gunnar Millsa778c022020-05-12 12:20:36 -050075 <Annotation Term="OData.Description" String="The current date and time, with UTC offset, setting that the task service uses."/>
76 <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 -070077 </Property>
78 <Property Name="LifeCycleEventOnTaskStateChange" Type="Edm.Boolean" Nullable="false">
79 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070080 <Annotation Term="OData.Description" String="An indication of whether a task state change sends an event."/>
Gunnar Millsa778c022020-05-12 12:20:36 -050081 <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 -070082 </Property>
83 <Property Name="ServiceEnabled" Type="Edm.Boolean">
84 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/>
Ed Tanouscb103132019-10-08 11:34:22 -070085 <Annotation Term="OData.Description" String="An indication of whether this service is enabled."/>
86 <Annotation Term="OData.LongDescription" String="This property shall indicate whether this service is enabled."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -070087 </Property>
Ed Tanous530520e2019-01-02 13:41:37 -080088 <Property Name="Status" Type="Resource.Status" Nullable="false">
Gunnar Millsa778c022020-05-12 12:20:36 -050089 <Annotation Term="OData.Description" String="The status and health of the resource and its subordinate or dependent resources."/>
90 <Annotation Term="OData.LongDescription" String="This property shall contain any status or health properties of the resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -080091 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -070092 <NavigationProperty Name="Tasks" Type="TaskCollection.TaskCollection" ContainsTarget="true" Nullable="false">
93 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Gunnar Millsa778c022020-05-12 12:20:36 -050094 <Annotation Term="OData.Description" String="The links to the collection of tasks."/>
95 <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 -070096 <Annotation Term="OData.AutoExpandReferences"/>
97 </NavigationProperty>
98 </EntityType>
99
100 <EnumType Name="OverWritePolicy">
101 <Member Name="Manual">
102 <Annotation Term="OData.Description" String="Completed tasks are not automatically overwritten."/>
103 </Member>
104 <Member Name="Oldest">
105 <Annotation Term="OData.Description" String="Oldest completed tasks are overwritten."/>
106 </Member>
107 </EnumType>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700108 </Schema>
109
110 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_2">
111 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700112 <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 -0700113 <EntityType Name="TaskService" BaseType="TaskService.v1_0_0.TaskService"/>
114 </Schema>
115
116 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_3">
117 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Gunnar Millsa778c022020-05-12 12:20:36 -0500118 <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 -0700119 <EntityType Name="TaskService" BaseType="TaskService.v1_0_2.TaskService"/>
120 </Schema>
121
122 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_4">
123 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700124 <Annotation Term="OData.Description" String="This version was created to correct the LifeCycleEventOnTaskStateChange long description."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700125 <EntityType Name="TaskService" BaseType="TaskService.v1_0_3.TaskService"/>
126 </Schema>
127
Ed Tanous530520e2019-01-02 13:41:37 -0800128 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_5">
129 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
130 <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."/>
131 <EntityType Name="TaskService" BaseType="TaskService.v1_0_4.TaskService"/>
132 </Schema>
133
Ed Tanouscb103132019-10-08 11:34:22 -0700134 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_6">
135 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Gunnar Millsa778c022020-05-12 12:20:36 -0500136 <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 -0700137 <EntityType Name="TaskService" BaseType="TaskService.v1_0_5.TaskService"/>
138 </Schema>
139
140 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_7">
141 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
142 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
143 <EntityType Name="TaskService" BaseType="TaskService.v1_0_6.TaskService"/>
144 </Schema>
145
Gunnar Millsa778c022020-05-12 12:20:36 -0500146 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_8">
147 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
148 <Annotation Term="OData.Description" String="This version was created to update the description of LifeCycleEventOnTaskStateChange."/>
149 <EntityType Name="TaskService" BaseType="TaskService.v1_0_7.TaskService"/>
150 </Schema>
151
Jason M. Billsea4aa752018-06-05 13:29:11 -0700152 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_0">
153 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600154 <Annotation Term="Redfish.Release" String="2017.1"/>
Gunnar Millsa778c022020-05-12 12:20:36 -0500155
Jason M. Billsea4aa752018-06-05 13:29:11 -0700156 <EntityType Name="TaskService" BaseType="TaskService.v1_0_3.TaskService">
157 <Property Name="Actions" Type="TaskService.v1_1_0.Actions" Nullable="false">
Gunnar Millsa778c022020-05-12 12:20:36 -0500158 <Annotation Term="OData.Description" String="The available actions for this resource."/>
159 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800160 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700161 </EntityType>
162
163 <ComplexType Name="Actions">
164 <Annotation Term="OData.AdditionalProperties" Bool="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 type shall contain the available actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800167 <Property Name="Oem" Type="TaskService.v1_1_0.OemActions" Nullable="false">
Gunnar Millsa778c022020-05-12 12:20:36 -0500168 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/>
169 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800170 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700171 </ComplexType>
172
173 <ComplexType Name="OemActions">
174 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
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 type shall contain the available OEM-specific actions for this resource."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700177 </ComplexType>
178 </Schema>
179
180 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_1">
181 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700182 <Annotation Term="OData.Description" String="This version was created to correct the LifeCycleEventOnTaskStateChange long description."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700183 <EntityType Name="TaskService" BaseType="TaskService.v1_1_0.TaskService"/>
184 </Schema>
185
Ed Tanous530520e2019-01-02 13:41:37 -0800186 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_2">
187 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
188 <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."/>
189 <EntityType Name="TaskService" BaseType="TaskService.v1_1_1.TaskService"/>
190 </Schema>
191
Ed Tanouscb103132019-10-08 11:34:22 -0700192 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_3">
193 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Gunnar Millsa778c022020-05-12 12:20:36 -0500194 <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 -0700195 <EntityType Name="TaskService" BaseType="TaskService.v1_1_2.TaskService"/>
196 </Schema>
197
198 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_4">
199 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
200 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
201 <EntityType Name="TaskService" BaseType="TaskService.v1_1_3.TaskService"/>
202 </Schema>
203
Gunnar Millsa778c022020-05-12 12:20:36 -0500204 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_5">
205 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
206 <Annotation Term="OData.Description" String="This version was created to update the description of LifeCycleEventOnTaskStateChange."/>
207 <EntityType Name="TaskService" BaseType="TaskService.v1_1_4.TaskService"/>
208 </Schema>
209
Jason M. Billsea4aa752018-06-05 13:29:11 -0700210 </edmx:DataServices>
211</edmx:Edmx>