Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 4 | <!--# Redfish Schema: TaskService v1.1.5 --> |
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> |
| 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 Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 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."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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"/> |
Gunnar Mills | 844b415 | 2020-06-22 12:44:09 -0500 | [diff] [blame^] | 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."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 48 | </Record> |
| 49 | </Annotation> |
| 50 | <Annotation Term="Capabilities.DeleteRestrictions"> |
| 51 | <Record> |
| 52 | <PropertyValue Property="Deletable" Bool="false"/> |
| 53 | </Record> |
| 54 | </Annotation> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 55 | <Annotation Term="Redfish.Uris"> |
| 56 | <Collection> |
| 57 | <String>/redfish/v1/TaskService</String> |
| 58 | </Collection> |
| 59 | </Annotation> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 60 | </EntityType> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 65 | <Annotation Term="Redfish.Release" String="1.0"/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 66 | |
| 67 | <EntityType Name="TaskService" BaseType="TaskService.TaskService"> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 68 | <Property Name="CompletedTaskOverWritePolicy" Type="TaskService.v1_0_0.OverWritePolicy" Nullable="false"> |
| 69 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 70 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 72 | </Property> |
| 73 | <Property Name="DateTime" Type="Edm.DateTimeOffset"> |
| 74 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 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."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 77 | </Property> |
| 78 | <Property Name="LifeCycleEventOnTaskStateChange" Type="Edm.Boolean" Nullable="false"> |
| 79 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 80 | <Annotation Term="OData.Description" String="An indication of whether a task state change sends an event."/> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 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."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 82 | </Property> |
| 83 | <Property Name="ServiceEnabled" Type="Edm.Boolean"> |
| 84 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 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."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 87 | </Property> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 88 | <Property Name="Status" Type="Resource.Status" Nullable="false"> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 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."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 91 | </Property> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 92 | <NavigationProperty Name="Tasks" Type="TaskCollection.TaskCollection" ContainsTarget="true" Nullable="false"> |
| 93 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 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."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 112 | <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] | 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"/> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 118 | <Annotation Term="OData.Description" String="This version was created to add explicit permissions annotations to all properties for clarity."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 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"/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 124 | <Annotation Term="OData.Description" String="This version was created to correct the LifeCycleEventOnTaskStateChange long description."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 125 | <EntityType Name="TaskService" BaseType="TaskService.v1_0_3.TaskService"/> |
| 126 | </Schema> |
| 127 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 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 | |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 134 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_0_6"> |
| 135 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 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."/> |
Ed Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 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 | |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 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 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 152 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_0"> |
| 153 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame] | 154 | <Annotation Term="Redfish.Release" String="2017.1"/> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 155 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 156 | <EntityType Name="TaskService" BaseType="TaskService.v1_0_3.TaskService"> |
| 157 | <Property Name="Actions" Type="TaskService.v1_1_0.Actions" Nullable="false"> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 158 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 160 | </Property> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 161 | </EntityType> |
| 162 | |
| 163 | <ComplexType Name="Actions"> |
| 164 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 165 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 167 | <Property Name="Oem" Type="TaskService.v1_1_0.OemActions" Nullable="false"> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 168 | <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 Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 170 | </Property> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 171 | </ComplexType> |
| 172 | |
| 173 | <ComplexType Name="OemActions"> |
| 174 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 175 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 177 | </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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 182 | <Annotation Term="OData.Description" String="This version was created to correct the LifeCycleEventOnTaskStateChange long description."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 183 | <EntityType Name="TaskService" BaseType="TaskService.v1_1_0.TaskService"/> |
| 184 | </Schema> |
| 185 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 186 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 192 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="TaskService.v1_1_3"> |
| 193 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Gunnar Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 194 | <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 Tanous | cb10313 | 2019-10-08 11:34:22 -0700 | [diff] [blame] | 195 | <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 Mills | a778c02 | 2020-05-12 12:20:36 -0500 | [diff] [blame] | 204 | <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. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 210 | </edmx:DataServices> |
| 211 | </edmx:Edmx> |