1<?xml version="1.0" encoding="UTF-8"?> 2<!----> 3<!--################################################################################ --> 4<!--# Redfish Schema: EventService v1.0.3--> 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-2016 Distributed Management Task Force, Inc. (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/RedfishExtensions_v1.xml"> 21 <edmx:Include Namespace="RedfishExtensions.v1_0_0" Alias="Redfish"/> 22 </edmx:Reference> 23 <edmx:Reference Uri="http://docs.oasis-open.org/odata/odata/v4.0/errata03/csd01/complete/vocabularies/Org.OData.Measures.V1.xml"> 24 <edmx:Include Namespace="Org.OData.Measures.V1" Alias="Measures"/> 25 </edmx:Reference> 26 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml"> 27 <edmx:Include Namespace="Resource"/> 28 <edmx:Include Namespace="Resource.v1_0_0"/> 29 </edmx:Reference> 30 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Event_v1.xml"> 31 <edmx:Include Namespace="Event.v1_0_0"/> 32 </edmx:Reference> 33 <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/EventDestinationCollection_v1.xml"> 34 <edmx:Include Namespace="EventDestinationCollection"/> 35 </edmx:Reference> 36 37 <edmx:DataServices> 38 39 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventService"> 40 41 <EntityType Name="EventService" BaseType="Resource.v1_0_0.Resource" Abstract="true"> 42 <Annotation Term="OData.Description" String="The Event Service resource contains properties for managing event subcriptions and generates the events sent to subscribers. The resource has links to the actual collection of subscriptions (called Event Destinations)."/> 43 <Annotation Term="Capabilities.InsertRestrictions"> 44 <Record> 45 <PropertyValue Property="Insertable" Bool="false"/> 46 </Record> 47 </Annotation> 48 <Annotation Term="Capabilities.UpdateRestrictions"> 49 <Record> 50 <PropertyValue Property="Updatable" Bool="true"/> 51 <Annotation Term="OData.Description" String="The Event Service can be updated to enable and disable the service."/> 52 </Record> 53 </Annotation> 54 <Annotation Term="Capabilities.DeleteRestrictions"> 55 <Record> 56 <PropertyValue Property="Deletable" Bool="false"/> 57 </Record> 58 </Annotation> 59 </EntityType> 60 61 <Action Name="SubmitTestEvent" IsBound="true"> 62 <Annotation Term="OData.Description" String="This action is used to generate a test event."/> 63 <Annotation Term="OData.LongDescription" String="This action shall add a test event to the event service with the event data specified in the action parameters. This message should then be sent to any appropriate ListenerDestination targets."/> 64 <Parameter Name="EventService" Type="EventService.v1_0_0.Actions"/> 65 <Parameter Name="EventType" Type="Event.v1_0_0.EventType" Nullable="false"> 66 <Annotation Term="OData.Description" String="This is the type of event to be added."/> 67 <Annotation Term="OData.LongDescription" String="This defines the property name for which the following allowable values apply."/> 68 </Parameter> 69 <Parameter Name="EventId" Type="Edm.String" Nullable="false"> 70 <Annotation Term="OData.Description" String="This is the ID of event to be added."/> 71 <Annotation Term="OData.LongDescription" String="This property has the same semantics as the EventId property in the Event schema for Redfish."/> 72 </Parameter> 73 <Parameter Name="EventTimestamp" Type="Edm.DateTimeOffset" Nullable="false"> 74 <Annotation Term="OData.Description" String="This is the time stamp of event to be added."/> 75 <Annotation Term="OData.LongDescription" String="This property has the same semantics as the EventId property in the Event schema for Redfish."/> 76 </Parameter> 77 <Parameter Name="Severity" Type="Edm.String" Nullable="false"> 78 <Annotation Term="OData.Description" String="This is the Severity of event to be added."/> 79 <Annotation Term="OData.LongDescription" String="This property has the same semantics as the Severity property in the Event schema for Redfish."/> 80 </Parameter> 81 <Parameter Name="Message" Type="Edm.String" Nullable="false"> 82 <Annotation Term="OData.Description" String="This is the human readable message of event to be added."/> 83 <Annotation Term="OData.LongDescription" String="This property has the same semantics as the Message property in the Event schema for Redfish."/> 84 </Parameter> 85 <Parameter Name="MessageId" Type="Edm.String" Nullable="false"> 86 <Annotation Term="OData.Description" String="This is the message ID of event to be added."/> 87 <Annotation Term="OData.LongDescription" String="This property has the same semantics as the MessageId property in the Event schema for Redfish."/> 88 </Parameter> 89 <Parameter Name="MessageArgs" Type="Collection(Edm.String)" Nullable="false"> 90 <Annotation Term="OData.Description" String="This is the array of message arguments of the event to be added."/> 91 <Annotation Term="OData.LongDescription" String="This property has the same semantics as the MessageArgs property in the Event schema for Redfish."/> 92 </Parameter> 93 <Parameter Name="OriginOfCondition" Type="Edm.String" Nullable="false"> 94 <Annotation Term="OData.Description" String="This is the OriginOfCondition property of event to be added."/> 95 <Annotation Term="OData.LongDescription" String="This property has the same semantics as the OriginOfCondition property in the Event schema for Redfish."/> 96 </Parameter> 97 </Action> 98 99 </Schema> 100 101 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventService.v1_0_0"> 102 103 <EntityType Name="EventService" BaseType="EventService.EventService"> 104 <Property Name="ServiceEnabled" Type="Edm.Boolean"> 105 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/ReadWrite"/> 106 <Annotation Term="OData.Description" String="This indicates whether this service is enabled."/> 107 <Annotation Term="OData.LongDescription" String="The value of this property shall be a boolean indicating whether this service is enabled."/> 108 </Property> 109 <Property Name="DeliveryRetryAttempts" Type="Edm.Int64" Nullable="false"> 110 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 111 <Annotation Term="OData.Description" String="This is the number of attempts an event posting is retried before the subscription is terminated."/> 112 <Annotation Term="OData.LongDescription" String="The value of this property shall be the number of retrys attempted for any given event to the subscription destination before the subscription is terminated."/> 113 </Property> 114 <Property Name="DeliveryRetryIntervalSeconds" Type="Edm.Int64" Nullable="false"> 115 <Annotation Term="Measures.Unit" String="s"/> 116 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 117 <Annotation Term="OData.Description" String="This represents the number of seconds between retry attempts for sending any given Event."/> 118 <Annotation Term="OData.LongDescription" String="The value of this property shall be the interval in seconds between the retry attempts for any given event to the subscription destination."/> 119 </Property> 120 <Property Name="EventTypesForSubscription" Type="Collection(Event.v1_0_0.EventType)" Nullable="false"> 121 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 122 <Annotation Term="OData.Description" String="This is the types of Events that can be subscribed to."/> 123 <Annotation Term="OData.LongDescription" String="The value of this property shall be the types of events that subscriptions can subscribe to. The semantics associated with the enumerations values are defined in the Redfish specification."/> 124 </Property> 125 <Property Name="Actions" Type="EventService.v1_0_0.Actions" Nullable="false"> 126 <Annotation Term="OData.Description" String="The available actions for this resource."/> 127 <Annotation Term="OData.LongDescription" String="The Actions property shall contain the available actions for this resource."/> 128 </Property> 129 <NavigationProperty Name="Subscriptions" Type="EventDestinationCollection.EventDestinationCollection" ContainsTarget="true" Nullable="false"> 130 <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/> 131 <Annotation Term="OData.Description" String="This is a reference to a collection of Event Destination resources."/> 132 <Annotation Term="OData.LongDescription" String="The value of this property shall contain the link to a collection of type EventDestinationCollection."/> 133 <Annotation Term="OData.AutoExpandReferences"/> 134 </NavigationProperty> 135 <Property Name="Status" Type="Resource.Status" Nullable="false"/> 136 </EntityType> 137 138 <ComplexType Name="Actions"> 139 <Annotation Term="OData.AdditionalProperties" Bool="false"/> 140 <Property Name="Oem" Type="EventService.v1_0_0.OemActions" Nullable="false"/> 141 </ComplexType> 142 143 <ComplexType Name="OemActions"> 144 <Annotation Term="OData.AdditionalProperties" Bool="true"/> 145 </ComplexType> 146 147 </Schema> 148 149 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventService.v1_0_2"> 150 <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/> 151 <EntityType Name="EventService" BaseType="EventService.v1_0_0.EventService"/> 152 </Schema> 153 154 <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="EventService.v1_0_3"> 155 <Annotation Term="OData.Description" String="This version was created to add explicit Permissions annotations to all properties for clarity."/> 156 <EntityType Name="EventService" BaseType="EventService.v1_0_2.EventService"/> 157 </Schema> 158 159 </edmx:DataServices> 160</edmx:Edmx> 161