components:
  schemas:
    EventDestination_v1_5_0_Actions:
      additionalProperties: false
      description: The available actions for this resource.
      properties:
        Oem:
          $ref: '#/components/schemas/EventDestination_v1_5_0_OemActions'
          description: This property contains the available OEM specific actions for
            this resource.
          x-longDescription: This property shall contain any additional OEM actions
            for this resource.
          x-versionAdded: v1_2_0
      type: object
      x-longDescription: This type shall contain the available actions for this resource.
      x-patternProperties:
        ^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\.[a-zA-Z_][a-zA-Z0-9_]*$:
          description: This property shall specify a valid odata or Redfish property.
    EventDestination_v1_5_0_EventDestination:
      additionalProperties: false
      description: 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.
      properties:
        '@odata.context':
          $ref: http://redfish.dmtf.org/schemas/v1/odata-v4.yaml#/components/schemas/odata-v4_context
        '@odata.etag':
          $ref: http://redfish.dmtf.org/schemas/v1/odata-v4.yaml#/components/schemas/odata-v4_etag
        '@odata.id':
          $ref: http://redfish.dmtf.org/schemas/v1/odata-v4.yaml#/components/schemas/odata-v4_id
        '@odata.type':
          $ref: http://redfish.dmtf.org/schemas/v1/odata-v4.yaml#/components/schemas/odata-v4_type
        Actions:
          $ref: '#/components/schemas/EventDestination_v1_5_0_Actions'
          description: The available actions for this resource.
          x-longDescription: The Actions property shall contain the available actions
            for this resource.
          x-versionAdded: v1_2_0
        Context:
          description: A client-supplied string that is stored with the event destination
            subscription.
          nullable: true
          readOnly: false
          type: string
          x-longDescription: This property shall contain a client supplied context
            that will remain with the connection through the connections lifetime.
        Description:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Description
          nullable: true
          readOnly: true
        Destination:
          description: The URI of the destination Event Service.
          format: uri-reference
          readOnly: true
          type: string
          x-longDescription: This property shall contain a URI to the destination
            where the events will be sent.
        EventFormatType:
          $ref: http://redfish.dmtf.org/schemas/v1/EventDestination.yaml#/components/schemas/EventDestination_EventFormatType
          description: Indicates the content types of the message that will be sent
            to the EventDestination.
          nullable: true
          readOnly: true
          x-longDescription: 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.
          x-versionAdded: v1_4_0
        EventTypes:
          deprecated: true
          description: This property contains the types of events that will be sent
            to the destination.
          items:
            $ref: http://redfish.dmtf.org/schemas/v1/Event.yaml#/components/schemas/Event_EventType
          readOnly: true
          type: array
          x-deprecatedReason: This property has been deprecated. With Redfish Specification
            v1.6, subscriptions are based on RegistryId and ResourceType, not EventType.  Use
            EventFormatType to create subscriptions for Metric Reports.  If this property
            is not included in a subscription, the service will use a default value
            of 'Other'.
          x-longDescription: This property shall be an array that contains the types
            of events that shall be sent to the destination.  To specify that a client
            is subscribing for Metric Reports, the EventTypes property should include
            'MetricReport'.  If this property is not included in a subscription, the
            service shall use a single element with a default value of 'Other'.
          x-versionDeprecated: v1_5_0
        HttpHeaders:
          description: This is for setting HTTP headers, such as authorization information.  This
            object will be null or an empty array on a GET.  An empty array is the
            preferred return value on GET.
          items:
            $ref: '#/components/schemas/EventDestination_v1_5_0_HttpHeaderProperty'
          type: array
          x-longDescription: 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 or an empty array
            on a GET.  An empty array is the preferred return value on GET.
        Id:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Id
          readOnly: true
        MessageIds:
          description: 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.
          items:
            nullable: true
            type: string
          readOnly: true
          type: array
          x-longDescription: 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.
          x-versionAdded: v1_1_0
        Name:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Name
          readOnly: true
        Oem:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Oem
          description: This is the manufacturer/provider specific extension moniker
            used to divide the Oem object into sections.
          x-longDescription: The value of this string shall be of the format for the
            reserved word *Oem*.
        OriginResources:
          description: 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.
          items:
            $ref: http://redfish.dmtf.org/schemas/v1/odata-v4.yaml#/components/schemas/odata-v4_idRef
          readOnly: true
          type: array
          x-longDescription: 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.
          x-versionAdded: v1_1_0
        OriginResources@odata.count:
          $ref: http://redfish.dmtf.org/schemas/v1/odata-v4.yaml#/components/schemas/odata-v4_count
        Protocol:
          $ref: '#/components/schemas/EventDestination_v1_5_0_EventDestinationProtocol'
          description: The protocol type of the event connection.
          readOnly: true
          x-longDescription: 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.
        RegistryPrefixes:
          description: A list of the Prefixes for the Message Registries that contain
            the MessageIds that will be sent to this event destination.
          items:
            nullable: true
            type: string
          readOnly: true
          type: array
          x-longDescription: 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.
          x-versionAdded: v1_4_0
        ResourceTypes:
          description: A list of Resource Type values (Schema names) that correspond
            to the OriginOfCondition.  The version and full namespace should not be
            specified.
          items:
            nullable: true
            type: string
          readOnly: true
          type: array
          x-longDescription: 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.  To specify that a client is subscribing
            for Metric Reports, the EventTypes property should include 'MetricReport'.
          x-versionAdded: v1_4_0
        SubordinateResources:
          description: 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.
          nullable: true
          readOnly: true
          type: boolean
          x-longDescription: When set to true and OriginResources is specified, 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 relevance.
          x-versionAdded: v1_4_0
        SubscriptionType:
          $ref: '#/components/schemas/EventDestination_v1_5_0_SubscriptionType'
          description: Indicates the subscription type for events.
          nullable: true
          readOnly: true
          x-longDescription: 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.
          x-versionAdded: v1_3_0
      required:
      - Context
      - '@odata.id'
      - '@odata.type'
      - Id
      - Name
      - SubscriptionType
      type: object
      x-longDescription: 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.
      x-patternProperties:
        ^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\.[a-zA-Z_][a-zA-Z0-9_]*$:
          description: This property shall specify a valid odata or Redfish property.
      x-requiredOnCreate:
      - Destination
      - Protocol
    EventDestination_v1_5_0_EventDestinationProtocol:
      enum:
      - Redfish
      type: string
      x-enumDescriptions:
        Redfish: The destination follows the Redfish specification for event notifications.
    EventDestination_v1_5_0_HttpHeaderProperty:
      additionalProperties: false
      description: The value of the HTTP header is the property value.  The header
        name is the property name.
      properties: {}
      type: object
      x-longDescription: This type shall a names and value of an HTTP header to be
        included with every event POST to the Event Destination.
      x-patternProperties:
        ^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\.[a-zA-Z_][a-zA-Z0-9_]*$:
          description: This property shall specify a valid odata or Redfish property.
        ^[^:\\s]+$: {}
    EventDestination_v1_5_0_OemActions:
      additionalProperties: true
      description: The available OEM specific actions for this resource.
      properties: {}
      type: object
      x-longDescription: This type shall contain any additional OEM actions for this
        resource.
      x-patternProperties:
        ^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\.[a-zA-Z_][a-zA-Z0-9_]*$:
          description: This property shall specify a valid odata or Redfish property.
    EventDestination_v1_5_0_SubscriptionType:
      enum:
      - RedfishEvent
      - SSE
      type: string
      x-enumDescriptions:
        RedfishEvent: 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.
        SSE: The subscription follows the HTML5 Server-Sent Event definition for event
          notifications.
title: '#EventDestination.v1_5_0.EventDestination'
x-copyright: Copyright 2014-2019 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright
x-owningEntity: DMTF
x-release: '2019.1'
