components:
  schemas:
    Triggers_v1_0_0_Actions:
      additionalProperties: false
      description: The available actions for this resource.
      properties:
        Oem:
          $ref: '#/components/schemas/Triggers_v1_0_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.
      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.
    Triggers_v1_0_0_DirectionOfCrossingEnum:
      description: The direction of crossing which corresponds to a trigger.
      enum:
      - Increasing
      - Decreasing
      type: string
      x-enumDescriptions:
        Decreasing: A trigger occurs when the metric value crosses the trigger value
          while decreasing.
        Increasing: A trigger occurs when the metric value crosses the trigger value
          while increasing.
      x-longDescription: The value shall indicate the direction of crossing which
        corresponds to a trigger.
    Triggers_v1_0_0_DiscreteTrigger:
      additionalProperties: false
      description: The characteristics of the discrete trigger.
      properties:
        DwellTime:
          description: This time the trigger occurance persists before a trigger event
            has occurred.
          nullable: true
          pattern: -?P(\d+D)?(T(\d+H)?(\d+M)?(\d+(.\d+)?S)?)?
          readOnly: false
          type: string
          x-longDescription: This property shall contain the time that a trigger occurance
            persists before the MetricAction is performed.
        Name:
          description: The name of trigger.
          nullable: true
          readOnly: true
          type: string
          x-longDescription: This property shall contain a name for the trigger.
        Severity:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Health
          description: This property contains the value of the Severity property in
            the Event message.
          nullable: true
          readOnly: false
          x-longDescription: The value of this property shall be used for the Severity
            property in the Event message.
        Value:
          description: The value of the discrete metric that constitutes a trigger
            occurance.
          nullable: true
          readOnly: false
          type: string
          x-longDescription: This property shall contain the value discrete metric
            that constitutes a trigger event.  The DwellTimeMilliSeconds shall be
            measured from this point in time.
      type: object
      x-longDescription: This object shall contain the characteristics of the discrete
        trigger.
      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.
    Triggers_v1_0_0_DiscreteTriggerConditionEnum:
      description: Specifies the condition, in relationship to the discrete trigger
        values, which constitutes a trigger.
      enum:
      - Specified
      - Changed
      type: string
      x-enumDescriptions:
        Changed: A discrete trigger occures whenever the value of the metric changes.
        Specified: A discrete trigger occurs when the value of the metric becomes
          one of the values listed in the DiscreteTriggers property.
      x-longDescription: The value shall specify the condition, in relationship to
        the discrete trigger values, which constitutes a trigger.
    Triggers_v1_0_0_MetricTypeEnum:
      description: Specifies the type of metric for which the trigger is configured.
      enum:
      - Numeric
      - Discrete
      type: string
      x-enumDescriptions:
        Discrete: The trigger is for a discrete sensor.
        Numeric: The trigger is for numeric sensor.
      x-longDescription: The value shall specify the type of metric for which the
        trigger is configured.
    Triggers_v1_0_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.
    Triggers_v1_0_0_Threshold:
      additionalProperties: false
      description: A threshold definition for a sensor.
      properties:
        Activation:
          $ref: '#/components/schemas/Triggers_v1_0_0_ThresholdActivation'
          description: The direction of crossing that activates this threshold.
          nullable: true
          readOnly: false
          x-longDescription: This property shall indicate the direction of crossing
            of the Reading value for this Sensor that triggers the threshold.
        DwellTime:
          description: The time interval over which the sensor reading must have passed
            through this Threshold value before the threshold is considered to be
            violated.
          nullable: true
          pattern: -?P(\d+D)?(T(\d+H)?(\d+M)?(\d+(.\d+)?S)?)?
          readOnly: false
          type: string
          x-longDescription: This property shall indicate the time interval over which
            the sensor reading must have passed through this Threshold value before
            the threshold is considered to be violated.
        Reading:
          description: The threshold value.
          nullable: true
          readOnly: false
          type: number
          x-longDescription: This property shall indicate the Reading value of this
            Sensor that triggers the threshold.  The units of this property shall
            follow the same units as the property described by MetricProperties.
      type: object
      x-longDescription: This type shall contain the properties for an individual
        threshold for this sensor.
      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.
    Triggers_v1_0_0_ThresholdActivation:
      enum:
      - Increasing
      - Decreasing
      - Either
      type: string
      x-enumDescriptions:
        Decreasing: Value decreases below the threshold.
        Either: Value crosses the threshold in either direction.
        Increasing: Value increases above the threshold.
      x-enumLongDescriptions:
        Decreasing: This threshold is activated when the value of Reading changes
          from a value higher than the threshold to a value lower than the threshold.
        Either: This threshold is activated when either the Increasing or Decreasing
          conditions are met.
        Increasing: This threshold is activated when the value of Reading changes
          from a value lower than the threshold to a value higher than the threshold.
    Triggers_v1_0_0_Thresholds:
      additionalProperties: false
      description: The set of thresholds defined for a sensor.
      properties:
        LowerCritical:
          $ref: '#/components/schemas/Triggers_v1_0_0_Threshold'
          description: Below normal range and requires attention.
          nullable: true
          x-longDescription: The value of this property shall indicate the Reading
            is below the normal range and may require attention.  The units shall
            be the same units as the Reading.
        LowerWarning:
          $ref: '#/components/schemas/Triggers_v1_0_0_Threshold'
          description: Below normal range.
          nullable: true
          x-longDescription: The value of this property shall indicate the Reading
            is below the normal range.  The units shall be the same units as the Reading.
        UpperCritical:
          $ref: '#/components/schemas/Triggers_v1_0_0_Threshold'
          description: Above normal range and requires attention.
          nullable: true
          x-longDescription: The value of this property shall indicate the Reading
            is above the normal range and may require attention.  The units shall
            be the same units as the Reading.
        UpperWarning:
          $ref: '#/components/schemas/Triggers_v1_0_0_Threshold'
          description: Above normal range.
          nullable: true
          x-longDescription: The value of this property shall indicate the Reading
            is above the normal range.  The units shall be the same units as the Reading.
      type: object
      x-longDescription: This structure shall contain a set of thresholds defined
        for a sensor.
      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.
    Triggers_v1_0_0_TriggerActionEnum:
      description: Specifies the actions to perform when a trigger occurs.
      enum:
      - LogToLogService
      - RedfishEvent
      type: string
      x-enumDescriptions:
        LogToLogService: Upon a trigger, record in a log.
        RedfishEvent: Upon a trigger, send a Redfish Event message of type MetricReport.
      x-enumLongDescriptions:
        LogToLogService: When a trigger condition is met, the service shall log the
          occurrence of the condition to the log indicated by the LogService property
          in the TelemetryService resource.
        RedfishEvent: When a trigger condition is met, the service shall produce a
          Redfish Event of type Event to matching subscribers indicated in the EventSubscription
          collection found on the EventService.
      x-longDescription: The value shall specify the actions to perform when a trigger
        occurs.
    Triggers_v1_0_0_Triggers:
      additionalProperties: false
      description: Triggers which apply to a list of metrics.
      properties:
        '@odata.context':
          $ref: http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.yaml#/components/schemas/odata_v4_0_3_context
        '@odata.etag':
          $ref: http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.yaml#/components/schemas/odata_v4_0_3_etag
        '@odata.id':
          $ref: http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.yaml#/components/schemas/odata_v4_0_3_id
        '@odata.type':
          $ref: http://redfish.dmtf.org/schemas/v1/odata.v4_0_3.yaml#/components/schemas/odata_v4_0_3_type
        Actions:
          $ref: '#/components/schemas/Triggers_v1_0_0_Actions'
          description: The available actions for this resource.
          x-longDescription: The Actions property shall contain the available actions
            for this resource.
        Description:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Description
          nullable: true
          readOnly: true
        DiscreteTriggerCondition:
          $ref: '#/components/schemas/Triggers_v1_0_0_DiscreteTriggerConditionEnum'
          description: Specifies the conditions when a discrete metric triggers.
          nullable: true
          readOnly: true
          x-longDescription: The value of this property shall specify the conditions
            when a discrete metric triggers.
        DiscreteTriggers:
          description: List of discrete triggers.
          items:
            $ref: '#/components/schemas/Triggers_v1_0_0_DiscreteTrigger'
          type: array
          x-longDescription: This property shall contains a list of value to which
            a metric reading will be compared.  This property shall be present when
            the DiscreteTriggerCondition property has a value of 'Specified'.
        Id:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Id
          readOnly: true
        MetricProperties:
          description: A collection of URI for the properties on which this metric
            definition is defined.
          format: uri
          items:
            nullable: true
            type: string
          readOnly: false
          type: array
          x-longDescription: Each value may contain one or more Wildcard names enclosed
            in curly braces.  Wildcard value entries shall be substituted for each
            Wildcard name found.  If two or more wild names are found, the same Wildcard
            index is used for each in one substitution pass.  After substituting the
            WildCard values entries, each value shall be a URI for a property in a
            resource that matches a property declaration in the corresponding MetricDefinition.  Property
            identifiers in the URI shall follow JSON fragment notation rules defined
            by RFC6901.
        MetricType:
          $ref: '#/components/schemas/Triggers_v1_0_0_MetricTypeEnum'
          description: The type of trigger.
          nullable: true
          readOnly: true
          x-longDescription: The value of this property shall specific the type of
            trigger.
        Name:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Name
          readOnly: true
        NumericThresholds:
          $ref: '#/components/schemas/Triggers_v1_0_0_Thresholds'
          description: Specifies the thresholds when a numeric metric triggers.
          nullable: true
          x-longDescription: This property shall contain list of thresholds to which
            a numeric metric value shall be compared.
        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*.
        Status:
          $ref: http://redfish.dmtf.org/schemas/v1/Resource.yaml#/components/schemas/Resource_Status
          description: This property describes the status and health of the resource
            and its children.
          x-longDescription: This property shall contain any status or health properties
            of the resource.
        TriggerActions:
          description: This property specifies the actions to perform when the trigger
            occurs.
          items:
            $ref: '#/components/schemas/Triggers_v1_0_0_TriggerActionEnum'
          readOnly: true
          type: array
          x-longDescription: The value of this property shall specify the actions
            to perform when the trigger occurs.
        Wildcards:
          description: Wildcards used to replace values in MetricProperties array
            property.
          items:
            $ref: '#/components/schemas/Triggers_v1_0_0_Wildcard'
            nullable: true
          type: array
          x-longDescription: The property shall contain an array of wildcards and
            their replacements strings, which are to appliced to the MetricProperties
            array.
      required:
      - '@odata.id'
      - '@odata.type'
      - Id
      - Name
      type: object
      x-longDescription: This resource shall specify triggers, which apply to a list
        of metrics.
      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.
    Triggers_v1_0_0_Wildcard:
      additionalProperties: false
      description: Contains a list of wildcards and their substitution values.
      properties:
        Name:
          description: The name of Wildcard.
          nullable: true
          readOnly: true
          type: string
          x-longDescription: This property shall contain a name for a Wildcard.
        Values:
          description: An array of values to substitute for the wildcard.
          items:
            nullable: true
            type: string
          readOnly: true
          type: array
          x-longDescription: This property shall contain  then the server shall substitute.  Each
            not empty value shall be substituted for the wildcard.
      type: object
      x-longDescription: Each wildcard shall have a corresponding entry in this list
        element.  Each entry shall specified the wildcard and its substitution values.
      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.
title: '#Triggers.v1_0_0.Triggers'
x-copyright: Copyright 2014-2018 DMTF. For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright
x-owningEntity: DMTF
