Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!----> |
| 3 | <!--################################################################################ --> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 4 | <!--# Redfish Schema: EventDestination v1.4.0--> |
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 --> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 8 | <!--# Copyright 2014-2018 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/RedfishExtensions_v1.xml"> |
| 21 | <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> |
| 22 | </edmx:Reference> |
| 23 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> |
| 24 | <edmx:Include Namespace="Resource"/> |
| 25 | <edmx:Include Namespace="Resource.v1_0_0"/> |
| 26 | </edmx:Reference> |
| 27 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Event_v1.xml"> |
| 28 | <edmx:Include Namespace="Event"/> |
| 29 | </edmx:Reference> |
| 30 | |
| 31 | <edmx:DataServices> |
| 32 | |
| 33 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination"> |
| 34 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 35 | |
| 36 | <EntityType Name="EventDestination" BaseType="Resource.v1_0_0.Resource" Abstract="true"> |
| 37 | <Annotation Term="OData.Description" String="An Event Destination desribes the target of an event subscription, including the types of events subscribed and context to provide to the target in the Event payload."/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 38 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent the target of an event subscription, including the types of events subscribed and context to provide to the target in the Event payload."/> |
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"/> |
| 47 | <Annotation Term="OData.Description" String="An Event Destination can be updated to change the Context and other writable properties."/> |
| 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/EventService/Subscriptions/{EventDestinationId}</String> |
| 58 | </Collection> |
| 59 | </Annotation> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 60 | </EntityType> |
| 61 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 62 | <EnumType Name="EventFormatType"> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame^] | 63 | <Annotation Term="Redfish.Revisions"> |
| 64 | <Collection> |
| 65 | <Record> |
| 66 | <PropertyValue Property="Kind" EnumMember="Redfish.RevisionKind/Added"/> |
| 67 | <PropertyValue Property="Version" String="v1_4_0"/> |
| 68 | </Record> |
| 69 | </Collection> |
| 70 | </Annotation> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 71 | <Member Name="Event"> |
| 72 | <Annotation Term="OData.Description" String="The subscription destination will receive JSON Bodies of the Resource Type Event."/> |
| 73 | </Member> |
| 74 | <Member Name="MetricReport"> |
| 75 | <Annotation Term="OData.Description" String="The subscription destination will receive JSON Bodies of the Resource Type MetricReport."/> |
| 76 | </Member> |
| 77 | </EnumType> |
| 78 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 79 | </Schema> |
| 80 | |
| 81 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_0_0"> |
| 82 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame^] | 83 | <Annotation Term="Redfish.Release" String="1.0"/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 84 | |
| 85 | <EntityType Name="EventDestination" BaseType="EventDestination.EventDestination"> |
| 86 | <Property Name="Destination" Type="Edm.String" Nullable="false"> |
| 87 | <Annotation Term="Redfish.RequiredOnCreate"/> |
| 88 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 89 | <Annotation Term="OData.Description" String="The URI of the destination Event Service."/> |
| 90 | <Annotation Term="OData.LongDescription" String="This property shall contain a URI to the destination where the events will be sent."/> |
| 91 | <Annotation Term="OData.IsURL"/> |
| 92 | </Property> |
| 93 | <Property Name="EventTypes" Type="Collection(Event.EventType)" Nullable="false"> |
| 94 | <Annotation Term="Redfish.RequiredOnCreate"/> |
| 95 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 96 | <Annotation Term="OData.Description" String="This property contains the types of events that will be sent to the desination."/> |
| 97 | <Annotation Term="OData.LongDescription" String="This property shall be an array that contains the types of events that shall be sent to the destination."/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 98 | </Property> |
| 99 | <Property Name="Context" Type="Edm.String"> |
| 100 | <Annotation Term="Redfish.Required"/> |
| 101 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> |
| 102 | <Annotation Term="OData.Description" String="A client-supplied string that is stored with the event destination subscription."/> |
| 103 | <Annotation Term="OData.LongDescription" String="This property shall contain a client supplied context that will remain with the connection through the connections lifetime."/> |
| 104 | </Property> |
| 105 | <Property Name="Protocol" Type="EventDestination.v1_0_0.EventDestinationProtocol" Nullable="false"> |
| 106 | <Annotation Term="Redfish.RequiredOnCreate"/> |
| 107 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 108 | <Annotation Term="OData.Description" String="The protocol type of the event connection."/> |
| 109 | <Annotation Term="OData.LongDescription" String="This property shall contain the protocol type that the event will use for sending the event to the destination. A value of Redfish shall be used to indicate that the event type shall adhere to that defined in the Redfish specification."/> |
| 110 | </Property> |
| 111 | <Property Name="HttpHeaders" Type="Collection(EventDestination.v1_0_0.HttpHeaderProperty)" Nullable="false"> |
| 112 | <Annotation Term="OData.Description" String="This is for setting HTTP headers, such as authorization information. This object will be null on a GET."/> |
| 113 | <Annotation Term="OData.LongDescription" String="This property shall contain an object consisting of the names and values of of HTTP header to be included with every event POST to the Event Destination. This property shall be null on a GET."/> |
| 114 | </Property> |
| 115 | </EntityType> |
| 116 | |
| 117 | <EnumType Name="EventDestinationProtocol"> |
| 118 | <Member Name="Redfish"> |
| 119 | <Annotation Term="OData.Description" String="The destination follows the Redfish specification for event notifications."/> |
| 120 | </Member> |
| 121 | </EnumType> |
| 122 | |
| 123 | <ComplexType Name="HttpHeaderProperty"> |
| 124 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 125 | <Annotation Term="OData.Description" String="The value of the HTTP header is the property value. The header name is the property name."/> |
| 126 | <Annotation Term="OData.LongDescription" String="This type shall a names and value of an HTTP header to be included with every event POST to the Event Destination."/> |
| 127 | <Annotation Term="Redfish.DynamicPropertyPatterns"> |
| 128 | <Collection> |
| 129 | <Record> |
| 130 | <PropertyValue Property="Pattern" String="^[^:\\s]+$"/> |
| 131 | <PropertyValue Property="Type" String="Edm.String"/> |
| 132 | </Record> |
| 133 | </Collection> |
| 134 | </Annotation> |
| 135 | </ComplexType> |
| 136 | |
| 137 | </Schema> |
| 138 | |
| 139 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_0_2"> |
| 140 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 141 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 142 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_0_0.EventDestination"/> |
| 143 | </Schema> |
| 144 | |
| 145 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_0_3"> |
| 146 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 147 | <Annotation Term="OData.Description" String="This version was created to add explicit Permissions annotations to all properties for clarity."/> |
| 148 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_0_2.EventDestination"/> |
| 149 | </Schema> |
| 150 | |
| 151 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_0_4"> |
| 152 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 153 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 154 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_0_3.EventDestination"/> |
| 155 | </Schema> |
| 156 | |
| 157 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_0_5"> |
| 158 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 159 | <Annotation Term="OData.Description" String="This version was created to change references to EventType to use the unversioned definition. It was also created to add descriptions to various enum values."/> |
| 160 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_0_4.EventDestination"/> |
| 161 | </Schema> |
| 162 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 163 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_0_6"> |
| 164 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 165 | <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."/> |
| 166 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_0_5.EventDestination"/> |
| 167 | </Schema> |
| 168 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 169 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_1_0"> |
| 170 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame^] | 171 | <Annotation Term="Redfish.Release" String="2016.2"/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 172 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_0_2.EventDestination"> |
| 173 | <NavigationProperty Name="OriginResources" Type="Collection(Resource.ItemOrCollection)"> |
| 174 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 175 | <Annotation Term="OData.Description" String="A list of resources for which the service will only send related events. If this property is absent or the array is empty, then Events originating from any resource will be sent to the subscriber."/> |
| 176 | <Annotation Term="OData.LongDescription" String="The value of this property shall specify an array of Resources, Resource Collections, or Referenceable Members that are the only allowable values for the OriginOfCondition property within an EventRecord sent to the subscriber. Events originating from Resources, Resource Collections, or Referenceable Members not contained in this array shall not be sent to the subscriber. If this property is absent or the array is empty, the service shall send Events originating from any Resource, Resource Collection, or Referenceable Member to the subscriber."/> |
| 177 | </NavigationProperty> |
| 178 | <Property Name="MessageIds" Type="Collection(Edm.String)"> |
| 179 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 180 | <Annotation Term="OData.Description" String="A list of MessageIds that the service will only send. If this property is absent or the array is empty, then Events with any MessageId will be sent to the subscriber."/> |
| 181 | <Annotation Term="OData.LongDescription" String="The value of this property shall specify an array of MessageIds that are the only allowable values for the MessageId property within an EventRecord sent to the subscriber. Events with MessageIds not contained in this array shall not be sent to the subscriber. If this property is absent or the array is empty, the service shall send Events with any MessageId to the subscriber."/> |
| 182 | </Property> |
| 183 | </EntityType> |
| 184 | </Schema> |
| 185 | |
| 186 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_1_1"> |
| 187 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 188 | <Annotation Term="OData.Description" String="This version was created to add explicit Permissions annotations to all properties for clarity."/> |
| 189 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_1_0.EventDestination"/> |
| 190 | </Schema> |
| 191 | |
| 192 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_1_2"> |
| 193 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 194 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 195 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_1_1.EventDestination"/> |
| 196 | </Schema> |
| 197 | |
| 198 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_1_3"> |
| 199 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 200 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 201 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_1_2.EventDestination"/> |
| 202 | </Schema> |
| 203 | |
| 204 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_1_4"> |
| 205 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 206 | <Annotation Term="OData.Description" String="This version was created to change references to EventType to use the unversioned definition. It was also created to add descriptions to various enum values."/> |
| 207 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_1_3.EventDestination"/> |
| 208 | </Schema> |
| 209 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 210 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_1_5"> |
| 211 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 212 | <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."/> |
| 213 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_1_4.EventDestination"/> |
| 214 | </Schema> |
| 215 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 216 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_2_0"> |
| 217 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame^] | 218 | <Annotation Term="Redfish.Release" String="2017.1"/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 219 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_1_2.EventDestination"> |
| 220 | <Property Name="Actions" Type="EventDestination.v1_2_0.Actions" Nullable="false"> |
| 221 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 222 | <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/> |
| 223 | </Property> |
| 224 | </EntityType> |
| 225 | |
| 226 | <ComplexType Name="Actions"> |
| 227 | <Annotation Term="OData.AdditionalProperties" Bool="false"/> |
| 228 | <Annotation Term="OData.Description" String="The available actions for this resource."/> |
| 229 | <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] | 230 | <Property Name="Oem" Type="EventDestination.v1_2_0.OemActions" Nullable="false"> |
| 231 | <Annotation Term="OData.Description" String="This property contains the available OEM specific actions for this resource."/> |
| 232 | <Annotation Term="OData.LongDescription" String="This property shall contain any additional OEM actions for this resource."/> |
| 233 | </Property> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 234 | </ComplexType> |
| 235 | |
| 236 | <ComplexType Name="OemActions"> |
| 237 | <Annotation Term="OData.AdditionalProperties" Bool="true"/> |
| 238 | <Annotation Term="OData.Description" String="The available OEM specific actions for this resource."/> |
| 239 | <Annotation Term="OData.LongDescription" String="This type shall contain any additional OEM actions for this resource."/> |
| 240 | </ComplexType> |
| 241 | </Schema> |
| 242 | |
| 243 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_2_1"> |
| 244 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 245 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> |
| 246 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_2_0.EventDestination"/> |
| 247 | </Schema> |
| 248 | |
| 249 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_2_2"> |
| 250 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 251 | <Annotation Term="OData.Description" String="This version was created to change references to EventType to use the unversioned definition. It was also created to add descriptions to various enum values."/> |
| 252 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_2_1.EventDestination"/> |
| 253 | </Schema> |
| 254 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 255 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_2_3"> |
| 256 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 257 | <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."/> |
| 258 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_2_2.EventDestination"/> |
| 259 | </Schema> |
| 260 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 261 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_3_0"> |
| 262 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame^] | 263 | <Annotation Term="Redfish.Release" String="2018.1"/> |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 264 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_2_2.EventDestination"> |
| 265 | <Property Name="SubscriptionType" Type="EventDestination.v1_3_0.SubscriptionType"> |
| 266 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 267 | <Annotation Term="OData.Description" String="Indicates the subscription type for events."/> |
| 268 | <Annotation Term="OData.LongDescription" String="The value of this property shall indicate the type of subscription for events. If this property is not present, the SubscriptionType shall be assumed to be RedfishEvent."/> |
| 269 | <Annotation Term="Redfish.Required"/> |
| 270 | </Property> |
| 271 | </EntityType> |
| 272 | |
| 273 | <EnumType Name="SubscriptionType"> |
| 274 | <Member Name="RedfishEvent"> |
| 275 | <Annotation Term="OData.Description" String="The subscription follows the Redfish specification for event notifications, which is done by a service sending an HTTP POST to the subscriber's destination URI."/> |
| 276 | </Member> |
| 277 | <Member Name="SSE"> |
| 278 | <Annotation Term="OData.Description" String="The subscription follows the HTML5 Server-Sent Event definition for event notifications."/> |
| 279 | </Member> |
| 280 | </EnumType> |
| 281 | </Schema> |
| 282 | |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 283 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_3_1"> |
| 284 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
| 285 | <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."/> |
| 286 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_3_0.EventDestination"/> |
| 287 | </Schema> |
| 288 | |
| 289 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventDestination.v1_4_0"> |
| 290 | <Annotation Term="Redfish.OwningEntity" String="DMTF"/> |
Marri Devender Rao | d45d2d0 | 2019-01-21 10:11:34 -0600 | [diff] [blame^] | 291 | <Annotation Term="Redfish.Release" String="2018.2"/> |
Ed Tanous | 530520e | 2019-01-02 13:41:37 -0800 | [diff] [blame] | 292 | <Annotation Term="OData.Description" String="This version was created to add the RegistryPrefix, ResourceType and SubordinateResources method of eventing."/> |
| 293 | <EntityType Name="EventDestination" BaseType="EventDestination.v1_3_0.EventDestination"> |
| 294 | <Property Name="RegistryPrefixes" Type="Collection(Edm.String)"> |
| 295 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 296 | <Annotation Term="OData.Description" String="A list of the Prefixes for the Message Registries that contain the MessageIds that will be sent to this event destination."/> |
| 297 | <Annotation Term="OData.LongDescription" String="The value of this property is the array of the Prefixes of the Message Registries that contain the MessageIds in the Events that shall be sent to the EventDestination. If this property is absent or the array is empty, the service shall send Events with MessageIds from any Message Registry."/> |
| 298 | </Property> |
| 299 | <Property Name="ResourceTypes" Type="Collection(Edm.String)"> |
| 300 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 301 | <Annotation Term="OData.Description" String="A list of Resource Type values (Schema names) that correspond to the OriginOfCondition. The version and full namespace should not be specified."/> |
| 302 | <Annotation Term="OData.LongDescription" String="The value of this property shall specify an array of Resource Type values. When an event is generated, if the OriginOfCondition's Resource Type matches a value in this array, the event shall be sent to the event destination (unless it would be filtered by other property conditions such as RegistryPrefix). If this property is absent or the array is empty, the service shall send Events from any Resource Type to the subscriber. The value of this property shall be only the general namespace for the type and not the versioned value. For example, it shall not be Task.v1_2_0.Task and instead shall just be Task."/> |
| 303 | </Property> |
| 304 | <Property Name="SubordinateResources" Type="Edm.Boolean"> |
| 305 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 306 | <Annotation Term="OData.Description" String="By setting this to true and specifying OriginResources, this indicates the subscription will be for events from the OriginsResources specified and also all subordinate resources. Note that resources associated via the Links section are not considered subordinate."/> |
| 307 | <Annotation Term="OData.LongDescription" String="When set to true and OriginResources is specifed, indicates the subscription shall be for events from the OriginsResources specified and all subordinate resources. When set to false and OriginResources is specified, indicates subscription shall be for events only from the OriginResources. If OriginResources is not specified, it has no relevenace."/> |
| 308 | </Property> |
| 309 | <Property Name="EventFormatType" Type="EventDestination.EventFormatType"> |
| 310 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> |
| 311 | <Annotation Term="OData.Description" String="Indicates the content types of the message that will be sent to the EventDestination."/> |
| 312 | <Annotation Term="OData.LongDescription" String="The value of this property shall indicate the the content types of the message that this service will send to the EventDestination. If this property is not present, the EventFormatType shall be assumed to be Event."/> |
| 313 | </Property> |
| 314 | </EntityType> |
| 315 | </Schema> |
| 316 | |
Jason M. Bills | ea4aa75 | 2018-06-05 13:29:11 -0700 | [diff] [blame] | 317 | </edmx:DataServices> |
| 318 | </edmx:Edmx> |