blob: 3dacbb7324c13dd4a8abaa9781a3e41e796ac4de [file] [log] [blame]
Jason M. Billsea4aa752018-06-05 13:29:11 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!---->
3<!--################################################################################ -->
Ed Tanouscb103132019-10-08 11:34:22 -07004<!--# Redfish Schema: TaskService v1.1.4 -->
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 Tanouscb103132019-10-08 11:34:22 -07008<!--# Copyright 2014-2019 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">
Ed Tanouscb103132019-10-08 11:34:22 -070037 <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 actual 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"/>
Ed Tanouscb103132019-10-08 11:34:22 -070047 <Annotation Term="OData.Description" String="The Task Service can be updated to enable or disable it, though some implementations may 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>
61
62 </Schema>
63
64 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_0">
65 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
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"/>
Ed Tanouscb103132019-10-08 11:34:22 -070071 <Annotation Term="OData.Description" String="The overwrite policy for completed tasks. This property indicates whether the Task Service overwrites completed task information."/>
72 <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 -070073 </Property>
74 <Property Name="DateTime" Type="Edm.DateTimeOffset">
75 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
Ed Tanouscb103132019-10-08 11:34:22 -070076 <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 represent the current DateTime value for the Task Service, with UTC offset, in Redfish Timestamp format."/>
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."/>
82 <Annotation Term="OData.LongDescription" String="This property shall indicate whether a task state change sends an event. The Eventing section of the Redfish Specification defines life-cycle events."/>
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">
Ed Tanouscb103132019-10-08 11:34:22 -070090 <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"/>
Ed Tanouscb103132019-10-08 11:34:22 -070095 <Annotation Term="OData.Description" String="The links to the Tasks collection."/>
96 <Annotation Term="OData.LongDescription" String="This property shall contain a link to a Resource 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>
109
110 </Schema>
111
112 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_2">
113 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700114 <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 -0700115 <EntityType Name="TaskService" BaseType="TaskService.v1_0_0.TaskService"/>
116 </Schema>
117
118 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_3">
119 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
120 <Annotation Term="OData.Description" String="This version was created to add explicit Permissions annotations to all properties for clarity."/>
121 <EntityType Name="TaskService" BaseType="TaskService.v1_0_2.TaskService"/>
122 </Schema>
123
124 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_4">
125 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700126 <Annotation Term="OData.Description" String="This version was created to correct the LifeCycleEventOnTaskStateChange long description."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700127 <EntityType Name="TaskService" BaseType="TaskService.v1_0_3.TaskService"/>
128 </Schema>
129
Ed Tanous530520e2019-01-02 13:41:37 -0800130 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_5">
131 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
132 <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."/>
133 <EntityType Name="TaskService" BaseType="TaskService.v1_0_4.TaskService"/>
134 </Schema>
135
Ed Tanouscb103132019-10-08 11:34:22 -0700136 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_6">
137 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
138 <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."/>
139 <EntityType Name="TaskService" BaseType="TaskService.v1_0_5.TaskService"/>
140 </Schema>
141
142 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_7">
143 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
144 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
145 <EntityType Name="TaskService" BaseType="TaskService.v1_0_6.TaskService"/>
146 </Schema>
147
Jason M. Billsea4aa752018-06-05 13:29:11 -0700148 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_0">
149 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Marri Devender Raod45d2d02019-01-21 10:11:34 -0600150 <Annotation Term="Redfish.Release" String="2017.1"/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700151 <EntityType Name="TaskService" BaseType="TaskService.v1_0_3.TaskService">
152 <Property Name="Actions" Type="TaskService.v1_1_0.Actions" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700153 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
154 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800155 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700156 </EntityType>
157
158 <ComplexType Name="Actions">
159 <Annotation Term="OData.AdditionalProperties" Bool="false"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700160 <Annotation Term="OData.Description" String="The available actions for this Resource."/>
161 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800162 <Property Name="Oem" Type="TaskService.v1_1_0.OemActions" Nullable="false">
Ed Tanouscb103132019-10-08 11:34:22 -0700163 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
164 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this Resource."/>
Ed Tanous530520e2019-01-02 13:41:37 -0800165 </Property>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700166 </ComplexType>
167
168 <ComplexType Name="OemActions">
169 <Annotation Term="OData.AdditionalProperties" Bool="true"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700170 <Annotation Term="OData.Description" String="The available OEM-specific actions for this Resource."/>
171 <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 -0700172 </ComplexType>
173 </Schema>
174
175 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_1">
176 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
Ed Tanouscb103132019-10-08 11:34:22 -0700177 <Annotation Term="OData.Description" String="This version was created to correct the LifeCycleEventOnTaskStateChange long description."/>
Jason M. Billsea4aa752018-06-05 13:29:11 -0700178 <EntityType Name="TaskService" BaseType="TaskService.v1_1_0.TaskService"/>
179 </Schema>
180
Ed Tanous530520e2019-01-02 13:41:37 -0800181 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_2">
182 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
183 <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."/>
184 <EntityType Name="TaskService" BaseType="TaskService.v1_1_1.TaskService"/>
185 </Schema>
186
Ed Tanouscb103132019-10-08 11:34:22 -0700187 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_3">
188 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
189 <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."/>
190 <EntityType Name="TaskService" BaseType="TaskService.v1_1_2.TaskService"/>
191 </Schema>
192
193 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_4">
194 <Annotation Term="Redfish.OwningEntity" String="DMTF"/>
195 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/>
196 <EntityType Name="TaskService" BaseType="TaskService.v1_1_3.TaskService"/>
197 </Schema>
198
Jason M. Billsea4aa752018-06-05 13:29:11 -0700199 </edmx:DataServices>
200</edmx:Edmx>