{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/chronosphere/main/json-schema/chronosphere-configv1-list-muting-rules-response-schema.json",
  "title": "configv1ListMutingRulesResponse",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chronosphere-mutingrule-api-openapi.yml#/components/schemas/configv1ListMutingRulesResponse",
  "properties": {
    "muting_rules": {
      "items": {
        "$ref": "#/$defs/configv1MutingRule"
      },
      "type": "array"
    },
    "page": {
      "$ref": "#/$defs/configv1PageResult"
    }
  },
  "type": "object",
  "$defs": {
    "configv1MutingRule": {
      "properties": {
        "comment": {
          "description": "Descriptive comment that explains why the muting rule was created.",
          "type": "string"
        },
        "created_at": {
          "description": "Timestamp of when the MutingRule was created. Cannot be set by clients.",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "ends_at": {
          "description": "Required. Timestamp of when the muting rule stops being active.",
          "format": "date-time",
          "type": "string"
        },
        "label_matchers": {
          "description": "Required. Specifies which series are silenced by the muting rule. Alerting\nseries must match all muting rule matchers to be silenced. You can't update this\nvalue. Updates must specify the original value.",
          "items": {
            "$ref": "#/$defs/configv1MutingRuleLabelMatcher"
          },
          "type": "array"
        },
        "name": {
          "description": "The name of the MutingRule. You can modify this value after the MutingRule is created.",
          "type": "string"
        },
        "slug": {
          "description": "The unique identifier of the MutingRule. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the MutingRule is created.",
          "type": "string"
        },
        "starts_at": {
          "description": "Required. Timestamp of when the muting rule becomes active. You can't update\nthis value. Updates must specify the original value.",
          "format": "date-time",
          "type": "string"
        },
        "updated_at": {
          "description": "Timestamp of when the MutingRule was last updated. Cannot be set by clients.",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "configv1MutingRuleLabelMatcher": {
      "properties": {
        "name": {
          "description": "Required. Always matches against an exact label name.",
          "type": "string"
        },
        "type": {
          "allOf": [
            {
              "$ref": "#/$defs/configv1MutingRuleLabelMatcherMatcherType"
            }
          ],
          "description": "Required. Determines how the label value is matched."
        },
        "value": {
          "description": "Required. Matches against a label value based on the configured type.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "configv1MutingRuleLabelMatcherMatcherType": {
      "enum": [
        "EXACT",
        "REGEX",
        "NOT_EXACT",
        "NOT_REGEXP"
      ],
      "type": "string"
    },
    "configv1PageResult": {
      "properties": {
        "next_token": {
          "description": "An opaque page token that identifies the next page of items that the\nclient should request. An empty value indicates that there are no\nmore items to return.",
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}