1<?xml version="1.0" encoding="UTF-8"?> 2<!----> 3<!--################################################################################ --> 4<!--# Redfish Schema: TaskService v1.1.6 --> 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 --> 8<!--# Copyright 2014-2020 DMTF. --> 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> 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"> 37 <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."/> 39 <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"/> 47 <Annotation Term="OData.Description" String="The task service can be updated to enable or disable it, though some implementations might fail the update operation."/> 48 </Record> 49 </Annotation> 50 <Annotation Term="Capabilities.DeleteRestrictions"> 51 <Record> 52 <PropertyValue Property="Deletable" Bool="false"/> 53 </Record> 54 </Annotation> 55 <Annotation Term="Redfish.Uris"> 56 <Collection> 57 <String>/redfish/v1/TaskService</String> 58 </Collection> 59 </Annotation> 60 </EntityType> 61 </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"/> 65 <Annotation Term="Redfish.Release" String="1.0"/> 66 67 <EntityType Name="TaskService" BaseType="TaskService.TaskService"> 68 <Property Name="CompletedTaskOverWritePolicy" Type="TaskService.v1_0_0.OverWritePolicy" Nullable="false"> 69 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 70 <Annotation Term="OData.Description" String="The overwrite policy for completed tasks. This property indicates if the task service overwrites completed task information."/> 71 <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."/> 72 </Property> 73 <Property Name="DateTime" Type="Edm.DateTimeOffset"> 74 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 75 <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."/> 77 </Property> 78 <Property Name="LifeCycleEventOnTaskStateChange" Type="Edm.Boolean" Nullable="false"> 79 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 80 <Annotation Term="OData.Description" String="An indication of whether a task state change sends an event."/> 81 <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."/> 82 </Property> 83 <Property Name="ServiceEnabled" Type="Edm.Boolean"> 84 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 85 <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."/> 87 </Property> 88 <Property Name="Status" Type="Resource.Status" Nullable="false"> 89 <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."/> 91 </Property> 92 <NavigationProperty Name="Tasks" Type="TaskCollection.TaskCollection" ContainsTarget="true" Nullable="false"> 93 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 94 <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."/> 96 <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> 108 </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"/> 112 <Annotation Term="OData.Description" String="This version was created to show that annotations in previous namespaces were updated."/> 113 <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"/> 118 <Annotation Term="OData.Description" String="This version was created to add explicit permissions annotations to all properties for clarity."/> 119 <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"/> 124 <Annotation Term="OData.Description" String="This version was created to correct the LifeCycleEventOnTaskStateChange long description."/> 125 <EntityType Name="TaskService" BaseType="TaskService.v1_0_3.TaskService"/> 126 </Schema> 127 128 <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 134 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_6"> 135 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 136 <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."/> 137 <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 146 <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 152 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_9"> 153 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 154 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> 155 <EntityType Name="TaskService" BaseType="TaskService.v1_0_8.TaskService"/> 156 </Schema> 157 158 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_0"> 159 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 160 <Annotation Term="Redfish.Release" String="2017.1"/> 161 162 <EntityType Name="TaskService" BaseType="TaskService.v1_0_3.TaskService"> 163 <Property Name="Actions" Type="TaskService.v1_1_0.Actions" Nullable="false"> 164 <Annotation Term="OData.Description" String="The available actions for this resource."/> 165 <Annotation Term="OData.LongDescription" String="This property shall contain the available actions for this resource."/> 166 </Property> 167 </EntityType> 168 169 <ComplexType Name="Actions"> 170 <Annotation Term="OData.AdditionalProperties" Bool="false"/> 171 <Annotation Term="OData.Description" String="The available actions for this resource."/> 172 <Annotation Term="OData.LongDescription" String="This type shall contain the available actions for this resource."/> 173 <Property Name="Oem" Type="TaskService.v1_1_0.OemActions" Nullable="false"> 174 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 175 <Annotation Term="OData.LongDescription" String="This property shall contain the available OEM-specific actions for this resource."/> 176 </Property> 177 </ComplexType> 178 179 <ComplexType Name="OemActions"> 180 <Annotation Term="OData.AdditionalProperties" Bool="true"/> 181 <Annotation Term="OData.Description" String="The available OEM-specific actions for this resource."/> 182 <Annotation Term="OData.LongDescription" String="This type shall contain the available OEM-specific actions for this resource."/> 183 </ComplexType> 184 </Schema> 185 186 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_1"> 187 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 188 <Annotation Term="OData.Description" String="This version was created to correct the LifeCycleEventOnTaskStateChange long description."/> 189 <EntityType Name="TaskService" BaseType="TaskService.v1_1_0.TaskService"/> 190 </Schema> 191 192 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_2"> 193 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 194 <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."/> 195 <EntityType Name="TaskService" BaseType="TaskService.v1_1_1.TaskService"/> 196 </Schema> 197 198 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_3"> 199 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 200 <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."/> 201 <EntityType Name="TaskService" BaseType="TaskService.v1_1_2.TaskService"/> 202 </Schema> 203 204 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_4"> 205 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 206 <Annotation Term="OData.Description" String="This version was created to update descriptions that this schema defines."/> 207 <EntityType Name="TaskService" BaseType="TaskService.v1_1_3.TaskService"/> 208 </Schema> 209 210 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_5"> 211 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 212 <Annotation Term="OData.Description" String="This version was created to update the description of LifeCycleEventOnTaskStateChange."/> 213 <EntityType Name="TaskService" BaseType="TaskService.v1_1_4.TaskService"/> 214 </Schema> 215 216 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_6"> 217 <Annotation Term="Redfish.OwningEntity" String="DMTF"/> 218 <Annotation Term="OData.Description" String="This version was created to correct various typographical errors."/> 219 <EntityType Name="TaskService" BaseType="TaskService.v1_1_5.TaskService"/> 220 </Schema> 221 222 </edmx:DataServices> 223</edmx:Edmx> 224