New Relic · JSON Structure

Openapi Condition Response Type Structure

ConditionResponseType schema

Type: object Properties: 12
AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform

ConditionResponseType is a JSON Structure definition published by New Relic, describing 12 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

condition_scope enabled entities gc_metric id metric name runbook_url terms type user_defined violation_close_timer

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/new-relic/refs/heads/main/json-structure/openapi-condition-response-type-structure.json",
  "name": "ConditionResponseType",
  "description": "ConditionResponseType schema",
  "type": "object",
  "properties": {
    "condition_scope": {
      "type": "string",
      "example": "example_string"
    },
    "enabled": {
      "type": "boolean",
      "example": true
    },
    "entities": {
      "type": "array",
      "items": {
        "type": "int32"
      },
      "example": [
        100
      ]
    },
    "gc_metric": {
      "type": "string",
      "example": "example_string"
    },
    "id": {
      "type": "int32",
      "example": 100
    },
    "metric": {
      "type": "string",
      "example": "example_string"
    },
    "name": {
      "type": "string",
      "example": "example-resource-01"
    },
    "runbook_url": {
      "type": "string",
      "example": "https://portal.example.com/path/abc123"
    },
    "terms": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/IJKTermsType"
      },
      "example": [
        {
          "duration": "example_string",
          "operator": "example_string",
          "priority": "example_string",
          "threshold": "example_string",
          "time_function": "example_string"
        }
      ]
    },
    "type": "{'type': 'string', 'example': 'standard'}",
    "user_defined": {
      "$ref": "#/components/schemas/UserDefinedConditionResponse"
    },
    "violation_close_timer": {
      "type": "int32",
      "example": 1718153645993
    }
  }
}