OBJECT

ObservationMappingRule

ObservationMappingRule type. ObservationMappingRule specifies how to map an alert from generic source to Observation object, along with paired alert template used to configure external monitor tool webhook. Paired alert template is a convenience to user, API doesn't enforce its presence, because if user has other ways to send alerts, so long as alert content conforms to spec, it can be mapped to Observation.

link GraphQL Schema definition

  • type ObservationMappingRule implements InsightRule, Node {
  • # Status of the Rule
  • active: Boolean!
  • # Alert template in json string format
  • alertTemplate: String
  • # The user who created the Rule
  • createdBy: User!
  • # Time at which the Rule was created in UTC ISO-8601 format
  • creationTime: DateTime!
  • # Description of the Rule
  • description: LocalizedString!
  • # opaque unique id of a rule
  • id: ID!
  • # Time at which the Rule was last updated in UTC ISO-8601 format
  • lastUpdateTime: DateTime
  • # The user who last updated the Rule
  • lastUpdatedBy: User
  • # Name of the rule
  • name: LocalizedString!
  • # Spec schema version
  • schemaVersion: ObservationMappingRuleSchemaVersion!
  • # Data source
  • source: String!
  • # Observation mapping spec in json string format
  • specJsonString: String!
  • }