Ed Tanous | 710adfc | 2017-10-24 17:04:52 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
| 2 | <!---->
|
| 3 | <!--################################################################################ -->
|
| 4 | <!--# Redfish Schema: Event v1.1.2-->
|
| 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:Include Namespace="Validation.v1_0_0" Alias="Validation"/>
|
| 23 | </edmx:Reference>
|
| 24 | <edmx:Reference Uri="http://redfish.dmtf.org/schemas/v1/Resource_v1.xml">
|
| 25 | <edmx:Include Namespace="Resource"/>
|
| 26 | <edmx:Include Namespace="Resource.v1_0_0"/>
|
| 27 | </edmx:Reference>
|
| 28 |
|
| 29 | <edmx:DataServices>
|
| 30 |
|
| 31 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Event">
|
| 32 |
|
| 33 | <EntityType Name="Event" BaseType="Resource.v1_0_0.Resource" Abstract="true">
|
| 34 | <Annotation Term="OData.Description" String="The Event schema describes the JSON payload received by an Event Destination (which has subscribed to event notification) when events occurs. This resource contains data about event(s), including descriptions, severity and MessageId reference to a Message Registry that can be accessed for further information."/>
|
| 35 | <Annotation Term="OData.LongDescription" String="This resource shall be used to represent an event for a Redfish implementation."/>
|
| 36 | <Annotation Term="Capabilities.InsertRestrictions">
|
| 37 | <Record>
|
| 38 | <PropertyValue Property="Insertable" Bool="false"/>
|
| 39 | </Record>
|
| 40 | </Annotation>
|
| 41 | <Annotation Term="Capabilities.UpdateRestrictions">
|
| 42 | <Record>
|
| 43 | <PropertyValue Property="Updatable" Bool="false"/>
|
| 44 | </Record>
|
| 45 | </Annotation>
|
| 46 | <Annotation Term="Capabilities.DeleteRestrictions">
|
| 47 | <Record>
|
| 48 | <PropertyValue Property="Deletable" Bool="false"/>
|
| 49 | </Record>
|
| 50 | </Annotation>
|
| 51 | </EntityType>
|
| 52 |
|
| 53 | </Schema>
|
| 54 |
|
| 55 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Event.v1_0_0">
|
| 56 |
|
| 57 | <EntityType Name="Event" BaseType="Event.Event">
|
| 58 | <NavigationProperty Name="Events" Type="Collection(Event.v1_0_0.EventRecord)" Nullable="false">
|
| 59 | <Annotation Term="OData.Description" String="Each event in this array has a set of properties that describe the event. Since this is an array, more than one event can be sent simultaneously."/>
|
| 60 | <Annotation Term="OData.LongDescription" String="The value of this resource shall be an array of Event objects used to represent the occurrence of one or more events."/>
|
| 61 | <Annotation Term="Redfish.Required"/>
|
| 62 | <Annotation Term="OData.AutoExpand"/>
|
| 63 | </NavigationProperty>
|
| 64 | </EntityType>
|
| 65 |
|
| 66 | <EnumType Name="EventType">
|
| 67 | <Member Name="StatusChange">
|
| 68 | <Annotation Term="OData.Description" String="The status of this resource has changed."/>
|
| 69 | </Member>
|
| 70 | <Member Name="ResourceUpdated">
|
| 71 | <Annotation Term="OData.Description" String="The value of this resource has been updated."/>
|
| 72 | </Member>
|
| 73 | <Member Name="ResourceAdded">
|
| 74 | <Annotation Term="OData.Description" String="A resource has been added."/>
|
| 75 | </Member>
|
| 76 | <Member Name="ResourceRemoved">
|
| 77 | <Annotation Term="OData.Description" String="A resource has been removed."/>
|
| 78 | </Member>
|
| 79 | <Member Name="Alert">
|
| 80 | <Annotation Term="OData.Description" String="A condition exists which requires attention."/>
|
| 81 | </Member>
|
| 82 | </EnumType>
|
| 83 |
|
| 84 | <EntityType Name="EventRecord" BaseType="Resource.v1_0_0.ReferenceableMember">
|
| 85 | <Property Name="EventType" Type="Event.v1_0_0.EventType" Nullable="false">
|
| 86 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 87 | <Annotation Term="OData.Description" String="This indicates the type of event sent, according to the definitions in the EventService."/>
|
| 88 | <Annotation Term="OData.LongDescription" String="The value of this property shall indicate the type of event as defined in the EventService schema."/>
|
| 89 | <Annotation Term="Redfish.Required"/>
|
| 90 | </Property>
|
| 91 | <Property Name="EventId" Type="Edm.String" Nullable="false">
|
| 92 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 93 | <Annotation Term="OData.Description" String="This is a unique instance identifier of an event."/>
|
| 94 | <Annotation Term="OData.LongDescription" String="The value of this property shall indicate a unique identifier for the event, the format of which is implementation dependent."/>
|
| 95 | </Property>
|
| 96 | <Property Name="EventTimestamp" Type="Edm.DateTimeOffset" Nullable="false">
|
| 97 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 98 | <Annotation Term="OData.Description" String="This is time the event occurred."/>
|
| 99 | <Annotation Term="OData.LongDescription" String="The value of this property shall indicate the time the event occurred where the value shall be consistent with the Redfish service time that is also used for the values of the Modified property."/>
|
| 100 | </Property>
|
| 101 | <Property Name="Severity" Type="Edm.String" Nullable="false">
|
| 102 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 103 | <Annotation Term="OData.Description" String="This is the severity of the event."/>
|
| 104 | <Annotation Term="OData.LongDescription" String="The value of this property shall be the severity of the event, as defined in the Status section of the Redfish specification."/>
|
| 105 | </Property>
|
| 106 | <Property Name="Message" Type="Edm.String" Nullable="false">
|
| 107 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 108 | <Annotation Term="OData.Description" String="This is the human readable message, if provided."/>
|
| 109 | <Annotation Term="OData.LongDescription" String="This property shall contain an optional human readable message."/>
|
| 110 | </Property>
|
| 111 | <Property Name="MessageId" Type="Edm.String" Nullable="false">
|
| 112 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 113 | <Annotation Term="OData.Description" String="This is the key for this message which can be used to look up the message in a message registry."/>
|
| 114 | <Annotation Term="OData.LongDescription" String="This property shall be a key into message registry as described in the Redfish specification."/>
|
| 115 | <Annotation Term="Validation.Pattern" String="^[A-Za-z0-9]+\.\d+\.\d+\.[A-Za-z0-9.]+$"/>
|
| 116 | <Annotation Term="Redfish.Required"/>
|
| 117 | </Property>
|
| 118 | <Property Name="MessageArgs" Type="Collection(Edm.String)" Nullable="false">
|
| 119 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 120 | <Annotation Term="OData.Description" String="This array of message arguments are substituted for the arguments in the message when looked up in the message registry."/>
|
| 121 | <Annotation Term="OData.LongDescription" String="This property has the same semantics as the MessageArgs property in the Event schema for Redfish."/>
|
| 122 | </Property>
|
| 123 | <Property Name="Context" Type="Edm.String" Nullable="false">
|
| 124 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 125 | <Annotation Term="OData.Description" String="A context can be supplied at subscription time. This property is the context value supplied by the subscriber."/>
|
| 126 | <Annotation Term="OData.LongDescription" String="This property shall contain a client supplied context for the Event Destination to which this event is being sent."/>
|
| 127 | <Annotation Term="Redfish.Deprecated" String="Events are triggered independently from subscriptions to those events. This property has been Deprecated in favor of Event.v1_0_2.Event.Context"/>
|
| 128 | </Property>
|
| 129 | <NavigationProperty Name="OriginOfCondition" Type="Resource.Item" Nullable="false">
|
| 130 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 131 | <Annotation Term="OData.Description" String="This indicates the resource that originated the condition that caused the event to be generated."/>
|
| 132 | <Annotation Term="OData.LongDescription" String="The value of this property shall contain a pointer consistent with JSON pointer syntax to the resource that caused the event to be generated."/>
|
| 133 | <Annotation Term="OData.AutoExpandReferences"/>
|
| 134 | </NavigationProperty>
|
| 135 | </EntityType>
|
| 136 | </Schema>
|
| 137 |
|
| 138 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Event.v1_0_2">
|
| 139 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
|
| 140 | <EntityType Name="Event" BaseType="Event.v1_0_0.Event"/>
|
| 141 | </Schema>
|
| 142 |
|
| 143 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Event.v1_0_3">
|
| 144 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
|
| 145 | <EntityType Name="Event" BaseType="Event.v1_0_2.Event"/>
|
| 146 | </Schema>
|
| 147 |
|
| 148 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Event.v1_0_4">
|
| 149 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
|
| 150 | <EntityType Name="Event" BaseType="Event.v1_0_3.Event"/>
|
| 151 | </Schema>
|
| 152 |
|
| 153 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Event.v1_1_0">
|
| 154 | <EntityType Name="Event" BaseType="Event.v1_0_2.Event">
|
| 155 | <Property Name="Context" Type="Edm.String" Nullable="false">
|
| 156 | <Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
|
| 157 | <Annotation Term="OData.Description" String="A context can be supplied at subscription time. This property is the context value supplied by the subscriber."/>
|
| 158 | <Annotation Term="OData.LongDescription" String="This property shall contain a client supplied context for the Event Destination to which this event is being sent."/>
|
| 159 | </Property>
|
| 160 | </EntityType>
|
| 161 | </Schema>
|
| 162 |
|
| 163 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Event.v1_1_1">
|
| 164 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
|
| 165 | <EntityType Name="Event" BaseType="Event.v1_1_0.Event"/>
|
| 166 | </Schema>
|
| 167 |
|
| 168 | <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Event.v1_1_2">
|
| 169 | <Annotation Term="OData.Description" String="This version was created to show annotations in previous namespaces were updated."/>
|
| 170 | <EntityType Name="Event" BaseType="Event.v1_1_1.Event"/>
|
| 171 | </Schema>
|
| 172 |
|
| 173 | </edmx:DataServices>
|
| 174 | </edmx:Edmx>
|